#include <RE05CalorimeterSD.hh>
Definition at line 41 of file RE05CalorimeterSD.hh.
◆ RE05CalorimeterSD()
RE05CalorimeterSD::RE05CalorimeterSD |
( |
G4String |
name | ) |
|
Definition at line 46 of file RE05CalorimeterSD.cc.
void insert(G4String str)
const int numberOfCellsInPhi
G4VSensitiveDetector(G4String name)
G4CollectionNameVector collectionName
const int numberOfCellsInZ
◆ ~RE05CalorimeterSD()
RE05CalorimeterSD::~RE05CalorimeterSD |
( |
| ) |
|
|
virtual |
◆ clear()
void RE05CalorimeterSD::clear |
( |
void |
| ) |
|
|
virtual |
◆ DrawAll()
void RE05CalorimeterSD::DrawAll |
( |
void |
| ) |
|
|
virtual |
◆ EndOfEvent()
Reimplemented from G4VSensitiveDetector.
Definition at line 117 of file RE05CalorimeterSD.cc.
119 static G4int HCID = -1;
RE05CalorimeterHitsCollection * CalCollection
virtual G4int GetCollectionID(G4int i)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
◆ Initialize()
Reimplemented from G4VSensitiveDetector.
Definition at line 59 of file RE05CalorimeterSD.cc.
G4String SensitiveDetectorName
RE05CalorimeterHitsCollection * CalCollection
G4THitsCollection< RE05CalorimeterHit > RE05CalorimeterHitsCollection
const int numberOfCellsInPhi
G4CollectionNameVector collectionName
const int numberOfCellsInZ
◆ PrintAll()
void RE05CalorimeterSD::PrintAll |
( |
void |
| ) |
|
|
virtual |
◆ ProcessHits()
Implements G4VSensitiveDetector.
Definition at line 73 of file RE05CalorimeterSD.cc.
82 if(edep==0.)
return false;
84 const G4VTouchable* touchable = aStep->GetPreStepPoint()->GetTouchable();
88 if(
CellID[copyIDinZ][copyIDinPhi]==-1)
99 CellID[copyIDinZ][copyIDinPhi] = icell - 1;
101 {
G4cout <<
" New Calorimeter Hit on CellID " 102 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
106 (*CalCollection)[
CellID[copyIDinZ][copyIDinPhi]]->AddEdep(edep);
108 {
G4cout <<
" Energy added to CellID " 109 << copyIDinZ <<
" " << copyIDinPhi <<
G4endl; }
void SetRot(G4RotationMatrix rmat)
RE05CalorimeterHitsCollection * CalCollection
void SetEdep(G4double de)
G4GLOB_DLL std::ostream G4cout
void SetPos(G4ThreeVector xyz)
virtual G4int GetReplicaNumber(G4int depth=0) const
virtual const G4NavigationHistory * GetHistory() const
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
const G4AffineTransform & GetTopTransform() const
G4LogicalVolume * GetLogicalVolume() const
◆ CalCollection
◆ CellID
int RE05CalorimeterSD::CellID[20][48] |
|
private |
◆ numberOfCellsInPhi
const int RE05CalorimeterSD::numberOfCellsInPhi |
|
private |
◆ numberOfCellsInZ
const int RE05CalorimeterSD::numberOfCellsInZ |
|
private |
The documentation for this class was generated from the following files: