1#ifndef TG4_SENSITIVE_DETECTOR_H
2#define TG4_SENSITIVE_DETECTOR_H
18#include <G4VSensitiveDetector.hh>
23class TVirtualMCApplication;
24class TVirtualMCSensitiveDetector;
44 TVirtualMCSensitiveDetector* userSD, G4int mediumID, G4bool exclusiveSD);
48 virtual G4bool
ProcessHits(G4Step* step, G4TouchableHistory* history);
59 TVirtualMCSensitiveDetector*
GetUserSD()
const;
Sensitive detector class for calling a user defined stepping function.
virtual ~TG4SensitiveDetector()
static G4int GetTotalNofSensitiveDetectors()
virtual void ProcessHitsOnTrackStart()
virtual G4bool ProcessHitsOnBoundary(G4Step *step)
G4int GetMediumID() const
virtual G4bool ProcessHits(G4Step *step, G4TouchableHistory *history)
TVirtualMCApplication * fMCApplication
Cached pointer to thread-local VMC application.
TG4StepManager * fStepManager
Cached pointer to thread-local step manager.
TG4SensitiveDetector(const TG4SensitiveDetector &right)
Not implemented.
TG4SensitiveDetector & operator=(const TG4SensitiveDetector &right)
Not implemented.
TVirtualMCSensitiveDetector * fUserSD
User sensitive detector.
std::map< G4LogicalVolume *, G4int > fLVToVolIdMap
map logical volume -> volume id
TG4SensitiveDetector()
Not implemented.
G4int fID
sensitive detector ID
TVirtualMCSensitiveDetector * GetUserSD() const
static G4ThreadLocal G4int fgSDCounter
sensitive detector counter
Geant4 implementation of the TVirtualMC interface methods for access to Geant4 at step level.