48 fNumberOfCellsInZ(20),fNumberOfCellsInPhi(48)
84 if(edep==0.)
return false;
90 if(
fCellID[copyIDinZ][copyIDinPhi]==-1)
101 fCellID[copyIDinZ][copyIDinPhi] = icell - 1;
103 {
G4cout <<
" New Calorimeter Hit on fCellID "
104 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
108 (*fCalCollection)[
fCellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
110 {
G4cout <<
" Energy added to fCellID "
111 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
121 static G4int HCID = -1;
virtual G4int GetCollectionID(G4int i)
const G4VTouchable * GetTouchable() const
G4LogicalVolume * GetLogicalVolume() const
static constexpr double MeV
G4StepPoint * GetPreStepPoint() const
void SetPos(G4ThreeVector xyz)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4String SensitiveDetectorName
RE05CalorimeterHitsCollection * fCalCollection
const G4int fNumberOfCellsInPhi
void insert(G4String str)
virtual void Initialize(G4HCofThisEvent *HCE)
const G4AffineTransform & GetTopTransform() const
G4double GetTotalEnergyDeposit() const
virtual G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
Definition of the RE05CalorimeterSD class.
RE05CalorimeterSD(G4String name)
Definition of the RE05CalorimeterHit class.
virtual void EndOfEvent(G4HCofThisEvent *HCE)
G4CollectionNameVector collectionName
virtual G4int GetReplicaNumber(G4int depth=0) const
void SetEdep(G4double de)
void SetRot(G4RotationMatrix rmat)
G4GLOB_DLL std::ostream G4cout
virtual ~RE05CalorimeterSD()
const G4int fNumberOfCellsInZ
G4THitsCollection< RE05CalorimeterHit > RE05CalorimeterHitsCollection
virtual const G4NavigationHistory * GetHistory() const