11 #include "JANA/JObject.h"
12 #include "JANA/JFactory.h"
26 void toStrings(vector<pair<string,string> > &items)
const{
28 AddString(items,
"pdgtype",
"%d",
pdgtype);
29 AddString(items,
"myid",
"%d",
myid);
30 AddString(items,
"parentid",
"%d",
parentid);
31 AddString(items,
"mech",
"%d",
mech);
int pdgtype
PDG particle type (not used by GEANT)
int mech
production mechanism of this partcle (generator specific)
int parentid
id of parent of this particle from original generator
JOBJECT_PUBLIC(DMCThrown)
void toStrings(vector< pair< string, string > > &items) const
void toStrings(vector< pair< string, string > > &items) const
int type
GEANT particle ID.
int myid
id of this particle from original generator