Hall-D Software
alpha
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DSCTruthHit.h
Go to the documentation of this file.
1
// $Id$
2
//
3
// File: DSCTruthHit.h
4
// Created: Wed Feb 7 10:53:46 EST 2007
5
// Creator: davidl (on Linux megrez.jlab.org 2.6.9-42.0.2.ELsmp x86_64)
6
//
7
8
#ifndef _DSCTruthHit_
9
#define _DSCTruthHit_
10
11
#include <JANA/JObject.h>
12
#include <JANA/JFactory.h>
13
14
class
DSCTruthHit
:
public
JObject{
15
public
:
16
JOBJECT_PUBLIC
(
DSCTruthHit
);
17
18
float
dEdx
;
19
bool
primary
;
20
int
track
;
21
int
itrack
;
22
int
ptype
;
23
float
r
;
24
float
phi
;
25
float
z
;
26
float
t
;
27
int
sector
;
28
29
void
toStrings
(vector<pair<string,string> > &items)
const
{
30
AddString(items,
"track"
,
"%d"
,
track
);
31
AddString(items,
"itrack"
,
"%d"
,
itrack
);
32
AddString(items,
"primary"
,
"%d"
,
primary
);
33
AddString(items,
"ptype"
,
"%d"
,
ptype
);
34
AddString(items,
"dEdx(MeV/cm)"
,
"%1.3f"
,
dEdx
*1.0
E3
);
35
AddString(items,
"t"
,
"%3.2f"
,
t
);
36
AddString(items,
"r"
,
"%3.1f"
,
r
);
37
AddString(items,
"phi"
,
"%1.3f"
,
phi
);
38
AddString(items,
"z"
,
"%3.1f"
,
z
);
39
AddString(items,
"sector"
,
"%d"
,
sector
);
40
}
41
};
42
43
#endif // _DSCTruthHit_
44
track
Definition:
track.h:16
DSCTruthHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DSCTruthHit)
DSCTruthHit
Definition:
DSCTruthHit.h:14
DSCTruthHit::phi
float phi
Definition:
DSCTruthHit.h:24
DSCTruthHit::itrack
int itrack
Definition:
DSCTruthHit.h:21
DSCTruthHit::ptype
int ptype
Definition:
DSCTruthHit.h:22
E3
static double E3[100]
Definition:
JEventProcessor_BCAL_TimeCalibration.cc:138
DSCTruthHit::r
float r
Definition:
DSCTruthHit.h:23
DSCTruthHit::z
float z
Definition:
DSCTruthHit.h:25
DSCTruthHit::sector
int sector
Definition:
DSCTruthHit.h:27
DSCTruthHit::primary
bool primary
Definition:
DSCTruthHit.h:19
DSCTruthHit::t
float t
Definition:
DSCTruthHit.h:26
DSCTruthHit::dEdx
float dEdx
Definition:
DSCTruthHit.h:18
DSCTruthHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DSCTruthHit.h:29
DSCTruthHit::track
int track
Definition:
DSCTruthHit.h:20
libraries
START_COUNTER
DSCTruthHit.h
Generated on Fri Jul 26 2019 14:01:21 for Hall-D Software by
1.8.5