Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4GflashSensitiveDetector.cxx
Go to the documentation of this file.
1//------------------------------------------------
2// The Geant4 Virtual Monte Carlo package
3// Copyright (C) 2007 - 2015 Ivana Hrivnacova
4// All rights reserved.
5//
6// For the licensing terms see geant4_vmc/LICENSE.
7// Contact: root-vmc@cern.ch
8//-------------------------------------------------
9
14
16#include "TG4StepManager.h"
17
18#include <TVirtualMCApplication.h>
19
20//_____________________________________________________________________________
22 G4String sdName, G4int mediumId)
23 : TG4SensitiveDetector(sdName, mediumId)
24{
26}
27
28//_____________________________________________________________________________
33
34//
35// public methods
36//
37
38//_____________________________________________________________________________
40 G4GFlashSpot* gflashSpot, G4TouchableHistory*)
41{
43
44 // let user sensitive detector process Gflash step
45 fStepManager->SetStep(gflashSpot, kGflashSpot);
46 fMCApplication->Stepping();
47
48 return true;
49}
Definition of the TG4GflashSensitiveDetector class.
Definition of the TG4StepManager class.
@ kGflashSpot
in post step point with Gflash
TG4GflashSensitiveDetector()
Not implemented.
virtual G4bool ProcessHits(G4GFlashSpot *gflashSpot, G4TouchableHistory *)
Sensitive detector class for calling a user defined stepping function.
TVirtualMCApplication * fMCApplication
Cached pointer to thread-local VMC application.
TG4StepManager * fStepManager
Cached pointer to thread-local step manager.
void SetStep(G4Step *step, TG4StepStatus status)