G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
Loading...
Searching...
No Matches
B4c::CalorimeterSD Class Reference

#include <CalorimeterSD.hh>

Inheritance diagram for B4c::CalorimeterSD:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CalorimeterSD()

B4c::CalorimeterSD::CalorimeterSD ( const G4String &  name,
const G4String &  hitsCollectionName,
G4int  nofCells 
)

Definition at line 38 of file CalorimeterSD.cc.

◆ ~CalorimeterSD()

B4c::CalorimeterSD::~CalorimeterSD ( )
overridedefault

Member Function Documentation

◆ EndOfEvent()

void B4c::CalorimeterSD::EndOfEvent ( G4HCofThisEvent *  hitCollection)
override

Definition at line 101 of file CalorimeterSD.cc.

◆ Initialize()

void B4c::CalorimeterSD::Initialize ( G4HCofThisEvent *  hitCollection)
override

Definition at line 46 of file CalorimeterSD.cc.

◆ ProcessHits()

G4bool B4c::CalorimeterSD::ProcessHits ( G4Step *  step,
G4TouchableHistory *  history 
)
override

Definition at line 63 of file CalorimeterSD.cc.


The documentation for this class was generated from the following files: