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