G4XTankPMTAction.h
Go to the documentation of this file.
1 #ifndef _G4XTankSimulatorAG_G4XTankPMTAction_h_
2 #define _G4XTankSimulatorAG_G4XTankPMTAction_h_
3 
4 #include <G4VSensitiveDetector.hh>
5 
6 class G4HCofThisEvent;
7 class G4Step;
8 class G4TouchableHistory;
9 
10 
11 namespace G4XTankSimulatorAG {
12 
13  class G4XTankSimulator;
14  class G4XTankConstruction;
15 
25  class G4XTankPMTAction : public G4VSensitiveDetector {
26 
27  public:
28  G4XTankPMTAction(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
class that handles Geant4 SD simulation
G4XTankPMTAction(const G4String name, const int pmtIndex)
void Initialize(G4HCofThisEvent *)
void EndOfEvent(G4HCofThisEvent *)
G4bool ProcessHits(G4Step *theStep, G4TouchableHistory *R0Hist)
class that handles PMT hits

, generated on Tue Sep 26 2023.