78 if ( nmbOfEntries == 0 )
83 for ( CexmcTrackPointsCollectionData::iterator
88 const G4String detectorSide( isRightDetector ?
"right" :
"left" );
89 G4int trackId( itr->first &
94 G4cout <<
" , position: " <<
96 G4cout <<
" , direction: " <<
97 itr->second->directionLocal <<
G4endl;
98 G4cout <<
" , momentum: " <<
100 G4cout <<
" , particle: " <<
101 itr->second->particle->GetParticleName() <<
G4endl;
static const G4int leftRightBitsOffset
CexmcTrackPointsCollection * eventMap
G4int GetIndex(G4Step *step)
G4int GetTrackId(G4Step *step)
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
CexmcTrackPointsInLeftRightSet(const G4String &name, const CexmcSetup *setup)
G4bool IsRightDetector(const G4VPhysicalVolume *pVolume) const
std::map< G4int, T * > * GetMap() const
void PrintHeader(G4int nmbOfEntries) const