G4TankSimulatorOG/G4TankPMTAction.h
Go to the documentation of this file.
1 #ifndef _G4TankSimulatorOG_G4TankPMTAction_h_
2 #define _G4TankSimulatorOG_G4TankPMTAction_h_
3 
4 #include <G4VSensitiveDetector.hh>
5 
6 class G4HCofThisEvent;
7 class G4Step;
8 class G4TouchableHistory;
9 
10 
11 namespace G4TankSimulatorOG {
12 
13  class G4TankSimulator;
14  class G4TankConstruction;
15 
25  class G4TankPMTAction : public G4VSensitiveDetector {
26 
27  public:
28  G4TankPMTAction(const G4String name, const int pmtIndex);
30 
31  void Initialize(G4HCofThisEvent* /*HCE*/) { }
32  G4bool ProcessHits(G4Step* theStep, G4TouchableHistory* R0Hist);
33  void EndOfEvent(G4HCofThisEvent* /*HCE*/) { }
34 
35  private:
37 
38  int fPMTIndex;
39 
41  };
42 
43 }
44 
45 
46 #endif
G4TankPMTAction(const G4String name, const int pmtIndex)
class that handles Geant4 SD simulation
G4bool ProcessHits(G4Step *theStep, G4TouchableHistory *R0Hist)

, generated on Tue Sep 26 2023.