34 #include "G4HCofThisEvent.hh" 65 for (
G4int iColumn=0;iColumn<10;iColumn++)
66 for (
G4int iRow=0;iRow<2;iRow++)
78 if (edep==0.)
return true;
86 G4int hitID = 2*columnNo+rowNo;
Definition of the B5HadCalorimeterSD class.
G4String SensitiveDetectorName
const G4AffineTransform & GetTransform(G4int n) const
B5HadCalorimeterHitsCollection * fHitsCollection
G4int GetCollectionID(G4String colName)
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
virtual void Initialize(G4HCofThisEvent *HCE)
const G4NavigationHistory * GetHistory() const
void AddEdep(G4double de)
G4THitsCollection< B5HadCalorimeterHit > B5HadCalorimeterHitsCollection
void insert(G4String str)
B5HadCalorimeterSD(G4String name)
void SetPos(G4ThreeVector xyz)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual ~B5HadCalorimeterSD()
void SetRot(G4RotationMatrix rmat)
G4int GetCopyNumber(G4int depth=0) const
void SetColumnID(G4int z)
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
G4int GetColumnID() const
Definition of the B5HadCalorimeterHit class.