1#ifndef TG4_SD_CONSTRUCTION_H
2#define TG4_SD_CONSTRUCTION_H
25class TVirtualMCSensitiveDetector;
61 void CreateSD(G4LogicalVolume* lv, TVirtualMCSensitiveDetector* userSD)
const;
Definition of the TG4SDMessenger class.
Definition of the TG4Verbose class.
Sensitive detector construction.
void CreateSD(G4LogicalVolume *lv, TVirtualMCSensitiveDetector *userSD) const
static const G4String & GetDefaultSVLabel()
void SetIsGflash(G4bool isGflash)
void SetSelectionFromTGeo(G4bool value)
void FillSDSelectionFromTGeo()
void SetExclusiveSDScoring(G4bool value)
G4String fSVLabel
the label used to flag sensitive volumes in TGeo
void SetSensitiveVolumeLabel(const G4String &label)
std::set< G4String > fSelection
the set of volumes names which are selected as sensitive
void AddSelection(const G4String &selection)
G4bool fIsGflash
the flag to acivate creating Gflash sensitive detectors
void MapVolumesToInstanceIds()
static const G4String fgkDefaultSVLabel
default value of the sensitive volumes label
G4bool fExclusiveSDScoring
the flag to activate new scoring via user defined sensitive detectors
TG4SDMessenger fMessenger
messenger
virtual ~TG4SDConstruction()
G4bool fSelectionFromTGeo
the flag to activate retrieving sensitive volumes from TGeo
Messenger class that defines commands for the SD construction.
Base class for defining the verbose level and a common messenger.