46 #include <G4String.hh>
59 const CexmcSetup * setup( static_cast< const CexmcSetup * >(
97 hitsCollection( static_cast< const CexmcTrackPointsCollection * >(
100 if ( hitsCollection )
102 for ( CexmcTrackPointsCollectionData::iterator
103 k( hitsCollection->GetMap()->begin() );
104 k != hitsCollection->GetMap()->end(); ++k )
117 if ( hitsCollection )
119 for ( CexmcTrackPointsCollectionData::iterator
120 k( hitsCollection->GetMap()->begin() );
121 k != hitsCollection->GetMap()->end(); ++k )
141 if ( k->second->trackType ==
152 trackId > 0 ? 1 : 0 );
167 if ( hitsCollection )
169 for ( CexmcTrackPointsCollectionData::iterator
170 k( hitsCollection->GetMap()->begin() );
171 k != hitsCollection->GetMap()->end(); ++k )
176 G4int index( k->first );
199 if ( hitsCollection )
201 for ( CexmcTrackPointsCollectionData::iterator
202 k( hitsCollection->GetMap()->begin() );
203 k != hitsCollection->GetMap()->end(); ++k )
208 G4int index( k->first );
216 crystalWidth + crystalWidth / 2 );
219 crystalHeight + crystalHeight / 2 );
CexmcTrackPointsDigitizer(const G4String &name)
CexmcTrackPointInfo monitorTP
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
const G4int CexmcInvalidTrackId(-1)
CexmcTrackPointInfo calorimeterTPRight
G4ThreeVector positionLocal
const G4String CexmcDetectorTypeName[CexmcNumberOfDetectorTypes]
static G4DigiManager * GetDMpointer()
CexmcTrackPointInfo targetTPNucleusParticle
const G4VHitsCollection * GetHitsCollection(G4int HCID, G4int eventID=0)
static CexmcSide GetSide(G4int index)
static G4int GetColumn(G4int index)
CexmcSetup::CalorimeterGeometryData calorimeterGeometry
G4int GetHitsCollectionID(G4String HCname)
const G4String CexmcDetectorRoleName[CexmcNumberOfDetectorRoles]
static G4int GetRow(G4int index)
static G4RunManager * GetRunManager()
CexmcTrackPointInfo vetoCounterTPLeft
CexmcTrackPointInfo vetoCounterTPRight
CexmcTrackPointInfo targetTPOutputParticle
const CalorimeterGeometryData & GetCalorimeterGeometry(void) const
G4bool IsValid(void) const
CexmcTrackPointInfo calorimeterTPLeft
CexmcTrackPointInfo targetTPBeamParticle
void InitializeData(void)
CexmcTrackPointInfo targetTPOutputParticleDecayProductParticle[2]