|
G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
|
#include <CalorimeterSD.hh>
Public Member Functions | |
| CalorimeterSD (const G4String &name, const G4String &hitsCollectionName, G4int nofCells) | |
| ~CalorimeterSD () override=default | |
| void | Initialize (G4HCofThisEvent *hitCollection) override |
| G4bool | ProcessHits (G4Step *step, G4TouchableHistory *history) override |
| void | EndOfEvent (G4HCofThisEvent *hitCollection) override |
Calorimeter sensitive detector class
In Initialize(), it creates one hit for each calorimeter layer and one more hit for accounting the total quantities in all layers.
The values are accounted in hits in ProcessHits() function which is called by Geant4 kernel at each step.
Definition at line 50 of file CalorimeterSD.hh.
| B4c::CalorimeterSD::CalorimeterSD | ( | const G4String & | name, |
| const G4String & | hitsCollectionName, | ||
| G4int | nofCells | ||
| ) |
Definition at line 38 of file CalorimeterSD.cc.
|
overridedefault |
|
override |
Definition at line 101 of file CalorimeterSD.cc.
|
override |
Definition at line 46 of file CalorimeterSD.cc.
|
override |
Definition at line 63 of file CalorimeterSD.cc.