G4XTankPMT.h
Go to the documentation of this file.
1 #ifndef _G4XTankSimulatorAG_G4XTankPMT_h_
2 #define _G4XTankSimulatorAG_G4XTankPMT_h_
3 
4 
5 #include <sevt/PMT.h>
6 #include <sevt/PMTSimData.h>
7 #include <sevt/SEvent.h>
8 #include <sevt/Station.h>
9 #include <utl/Particle.h>
10 
11 using namespace sevt;
13 using std::cout;
14 using std::cerr;
15 using std::endl;
16 
17 
18 namespace G4XTankSimulatorAG {
19 
20  class G4XTankSimulator;
21 
22 
23  class G4XTankPMT {
24 
25  public:
26  G4XTankPMT() : fExtraComponent(0) { }
28 
29  void SetParticle(const utl::Particle& particle);
30  void SetCurrentTank(const sevt::SEvent::StationIterator sIt);
31  void AddPhoton(const int nPMT, const double peTime);
32 
33  private:
34  void SetComponent();
35 
36  const utl::Particle* fParticle = nullptr;
38  sevt::PMTSimData* fPMTSimData[4] = { nullptr };
40  int fExtraComponent = 0;
41 
42  friend class G4FastTankCerenkov;
43 
44  };
45 
46 }
47 
48 
49 #endif
TimeDistribution< double > TimeDistributionD
total (shower and background)
Describes a particle for Simulation.
Definition: Particle.h:26
sevt::SEvent::StationIterator fCurrentEventStationIt
Definition: G4XTankPMT.h:37
Class to hold simulated data at PMT level.
Definition: PMTSimData.h:40
struct particle_info particle[80]
boost::indirect_iterator< InternalStationIterator, Station & > StationIterator
Iterator over all stations.
Definition: SEvent.h:52

, generated on Tue Sep 26 2023.