#include "hparticlecandsim.h" #include #include using namespace std; // ROOT's IO and RTTI stuff is added here ClassImp(HParticleCandSim) //_HADES_CLASS_DESCRIPTION //////////////////////////////////////////////////////////////////////////////// // // // HParticleCandSim // // Simulation object keeping HGeant information in addition to the normal // HParticleCand. For documentation of enum constants see hparticledef.h //////////////////////////////////////////////////////////////////////////////// void HParticleCandSim::print(UInt_t selection) { // print one candidate object and the flags which have been // already set to HParticleCand // // print option bits // bit 1 : print hit indices (selection == 1) // 2 : print hit indices (selection == 2) // 3 : print chi2s and matching vars (selection == 4) // 4 : print selection flags (selection == 8) // 5 : print Geant infos (selection == 16) // default : print all if( (selection&0xF) > 0 ) HParticleCand::print(selection); else cout<<" "<<" --------------------------------------------"<>4) & 0x01){ cout<<"Geant PID : "<