11 #include <JANA/JObject.h>
27 void toStrings(vector<pair<string,string> > &items)
const{
28 AddString(items,
"r(cm)",
"%3.1f", r);
29 AddString(items,
"phi(rad)",
"%1.3f", phi);
30 AddString(items,
"z(cm)",
"%3.1f", z);
31 AddString(items,
"track",
"%d",
track);
32 AddString(items,
"itrack",
"%d", itrack);
33 AddString(items,
"primary",
"%d", primary);
34 AddString(items,
"ptype",
"%d", ptype);
35 AddString(items,
"system",
"%s",
SystemName(system));
39 #endif // _DMCTrackHit_
DetectorSystem_t system
particle type
float z
coordinates of hit in cm and rad
const char * SystemName(DetectorSystem_t sys)
int primary
primary track=1 not primary track=0
int itrack
MC track index.
void toStrings(vector< pair< string, string > > &items) const