1#ifndef TG4_SD_MANAGER_H
2#define TG4_SD_MANAGER_H
26class TVirtualMCSensitiveDetector;
48 Int_t
VolId(
const Text_t* volName)
const;
49 const char*
VolName(Int_t
id)
const;
57 const TString& volName, TVirtualMCSensitiveDetector* sd);
59 const TString& volName)
const;
Definition of the score weight calculator type.
std::function< Double_t(Int_t pdg, Double_t ekin)> TG4ScoreWeightCalculator
Sensitive detector construction.
static TG4SDManager * Instance()
TG4ScoreWeightCalculator fScoreWeightCalculator
score weight calculator
Int_t NofVolDaughters(const char *volName) const
const char * VolDaughterName(const char *volName, Int_t i) const
TVirtualMCSensitiveDetector * GetSensitiveDetector(const TString &volName) const
void SetSensitiveDetector(const TString &volName, TVirtualMCSensitiveDetector *sd)
void SetExclusiveSDScoring(Bool_t exclusiveSDScoring)
G4String fNameBuffer
buffer for volume name
Int_t VolDaughterCopyNo(const char *volName, Int_t i) const
TG4SDServices * fSDServices
services related with sensitive detectors
const char * VolName(Int_t id) const
TG4SDManager(const TG4SDManager &right)
Not implemented.
void LateInitialize(TG4ScoreWeightCalculator swc)
Int_t VolId(const Text_t *volName) const
TG4SDManager & operator=(const TG4SDManager &right)
Not implemented.
TG4SDConstruction * GetSDConstruction() const
static TG4SDManager * fgInstance
this instance
Int_t VolId2Mate(Int_t volumeId) const
TG4SDConstruction * fSDConstruction
sensitive detectors construction
Sensitive detectors services.