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 );
static G4DigiManager * GetDMpointer()
CexmcTrackPointInfo vetoCounterTPRight
static G4RunManager * GetRunManager()
CexmcTrackPointInfo targetTPNucleusParticle
const G4String CexmcDetectorRoleName[CexmcNumberOfDetectorRoles]
static G4int GetRow(G4int index)
const G4String CexmcDetectorTypeName[CexmcNumberOfDetectorTypes]
const G4VHitsCollection * GetHitsCollection(G4int HCID, G4int eventID=0)
CexmcSetup::CalorimeterGeometryData calorimeterGeometry
const G4int CexmcInvalidTrackId(-1)
CexmcTrackPointInfo calorimeterTPLeft
G4bool IsValid(void) const
static CexmcSide GetSide(G4int index)
CexmcTrackPointInfo calorimeterTPRight
const CalorimeterGeometryData & GetCalorimeterGeometry(void) const
CexmcTrackPointInfo targetTPOutputParticleDecayProductParticle[2]
G4ThreeVector positionLocal
CexmcTrackPointInfo targetTPOutputParticle
static G4int GetColumn(G4int index)
G4int GetHitsCollectionID(G4String HCname)
CexmcTrackPointsDigitizer(const G4String &name)
CexmcTrackPointInfo targetTPBeamParticle
CexmcTrackPointInfo monitorTP
void InitializeData(void)
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
CexmcTrackPointInfo vetoCounterTPLeft