G4ScintillatorAction.h
Go to the documentation of this file.
1 #ifndef _G4StationSimulatorOG_G4ScintillatorAction_h_
2 #define _G4StationSimulatorOG_G4ScintillatorAction_h_
3 
4 #include <G4VSensitiveDetector.hh>
5 #include <utl/RandomEngine.h>
6 
7 
8 class G4HCofThisEvent;
9 class G4Step;
10 class G4TouchableHistory;
11 
12 namespace utl {
13  class RandomEngine;
14 }
15 
16 namespace G4StationSimulatorOG {
17 
18  class G4StationSimulator;
19  class G4StationConstruction;
20 
21 
31  class G4ScintillatorAction : public G4VSensitiveDetector {
32 
33  public:
34  G4ScintillatorAction(const G4String& name);
35  virtual ~G4ScintillatorAction() { }
36 
37  virtual void Initialize(G4HCofThisEvent* const /*hce*/) override { }
38  virtual G4bool ProcessHits(G4Step* const step, G4TouchableHistory* const rOHist) override;
39  virtual void EndOfEvent(G4HCofThisEvent* const /*hce*/) override { }
40 
41  private:
43 
44  };
45 
46 }
47 
48 
49 #endif
virtual G4bool ProcessHits(G4Step *const step, G4TouchableHistory *const rOHist) override
virtual void EndOfEvent(G4HCofThisEvent *const ) override
class that handles hits to scintillator bars
class that handles Geant4 SD Station simulation adopted from G4TankSimulator
virtual void Initialize(G4HCofThisEvent *const ) override

, generated on Tue Sep 26 2023.