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
DTPOLTruthHit.h
Go to the documentation of this file.
1
#ifndef _DTPOLTruthHit_
2
#define _DTPOLTruthHit_
3
4
#include <JANA/JObject.h>
5
#include <JANA/JFactory.h>
6
7
class
DTPOLTruthHit
:
public
JObject{
8
public
:
9
JOBJECT_PUBLIC
(
DTPOLTruthHit
);
10
11
float
dEdx
;
12
bool
primary
;
13
int
track
;
14
int
itrack
;
15
int
ptype
;
16
float
r
;
17
float
phi
;
18
float
z
;
19
float
t
;
20
int
sector
;
21
22
void
toStrings
(vector<pair<string,string> > &items)
const
{
23
AddString(items,
"track"
,
"%d"
,
track
);
24
AddString(items,
"itrack"
,
"%d"
,
itrack
);
25
AddString(items,
"primary"
,
"%d"
,
primary
);
26
AddString(items,
"ptype"
,
"%d"
,
ptype
);
27
AddString(items,
"dEdx(MeV/cm)"
,
"%1.3f"
,
dEdx
*1.0
E3
);
28
AddString(items,
"t"
,
"%3.2f"
,
t
);
29
AddString(items,
"r"
,
"%3.1f"
,
r
);
30
AddString(items,
"phi"
,
"%1.3f"
,
phi
);
31
AddString(items,
"z"
,
"%3.1f"
,
z
);
32
AddString(items,
"sector"
,
"%d"
,
sector
);
33
}
34
};
35
36
#endif // _DTPOLTruthHit_
37
track
Definition:
track.h:16
DTPOLTruthHit::toStrings
void toStrings(vector< pair< string, string > > &items) const
Definition:
DTPOLTruthHit.h:22
DTPOLTruthHit::JOBJECT_PUBLIC
JOBJECT_PUBLIC(DTPOLTruthHit)
DTPOLTruthHit::track
int track
Definition:
DTPOLTruthHit.h:13
DTPOLTruthHit::ptype
int ptype
Definition:
DTPOLTruthHit.h:15
DTPOLTruthHit::t
float t
Definition:
DTPOLTruthHit.h:19
E3
static double E3[100]
Definition:
JEventProcessor_BCAL_TimeCalibration.cc:138
DTPOLTruthHit::itrack
int itrack
Definition:
DTPOLTruthHit.h:14
DTPOLTruthHit::r
float r
Definition:
DTPOLTruthHit.h:16
DTPOLTruthHit::dEdx
float dEdx
Definition:
DTPOLTruthHit.h:11
DTPOLTruthHit::phi
float phi
Definition:
DTPOLTruthHit.h:17
DTPOLTruthHit::z
float z
Definition:
DTPOLTruthHit.h:18
DTPOLTruthHit::sector
int sector
Definition:
DTPOLTruthHit.h:20
DTPOLTruthHit::primary
bool primary
Definition:
DTPOLTruthHit.h:12
DTPOLTruthHit
Definition:
DTPOLTruthHit.h:7
libraries
TPOL
DTPOLTruthHit.h
Generated on Fri Jul 26 2019 14:01:29 for Hall-D Software by
1.8.5