G4StationSimulator/G4TankPMTAction.h
Go to the documentation of this file.
1 #ifndef _G4StationSimulatorOG_G4TankPMTAction_h_
2 #define _G4StationSimulatorOG_G4TankPMTAction_h_
3 
4 #include <utl/TabulatedFunction.h>
5 #include <G4VSensitiveDetector.hh>
6 #include "Randomize.hh"
7 
8 
9 class G4HCofThisEvent;
10 class G4Step;
11 class G4TouchableHistory;
12 
13 namespace utl {
14  class RandomEngine;
15 }
16 
17 namespace sdet {
18  class PMT;
19 }
20 namespace sdet {
21  class Station;
22 }
23 
24 namespace G4StationSimulatorOG {
25 
26  class G4StationSimulator;
27  class G4StationConstruction;
28 
29 
39  class G4TankPMTAction : public G4VSensitiveDetector {
40 
41  public:
42  G4TankPMTAction(const G4String& name, const int pmtIndex);
43  virtual ~G4TankPMTAction() { }
44 
45  void Initialize(G4HCofThisEvent* /*hce*/) override { }
46  G4bool ProcessHits(G4Step* const step, G4TouchableHistory* const rOHist) override;
47  void EndOfEvent(G4HCofThisEvent* /*hce*/) override { }
48 
49  private:
50  const int fPMTIndex = 0;
52 
53  };
54 
55 }
56 
57 
58 #endif
G4TankPMTAction(const G4String &name, const int pmtIndex)
class that handles Geant4 SD Station simulation adopted from G4TankSimulator
G4bool ProcessHits(G4Step *const step, G4TouchableHistory *const rOHist) override
Definition: XbArray.h:7

, generated on Tue Sep 26 2023.