/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/VertexGen_PhotonBomb.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/VertexGen_PhotonBomb.hh Source File
Ratpac-two
VertexGen_PhotonBomb.hh
1 #ifndef __RAT_VertexGen_PhotonBomb__
2 #define __RAT_VertexGen_PhotonBomb__
3 
4 #include <CLHEP/Random/RandGeneral.h>
5 
6 #include <RAT/GLG4VertexGen.hh>
7 
8 namespace RAT {
9 
11  public:
12  VertexGen_PhotonBomb(const char *arg_dbname = "pbomb");
13  virtual ~VertexGen_PhotonBomb();
14  virtual void GeneratePrimaryVertex(G4Event *argEvent, G4ThreeVector &dx, G4double dt);
16  virtual void SetState(G4String newValues);
17  virtual G4String GetState();
18 
19  private:
20  G4ParticleDefinition *fOpticalPhoton;
21  int fNumPhotons;
22  double fEnergy;
23  CLHEP::RandGeneral *fRndmEnergy;
24  double fMinEnergy;
25  double fMaxEnergy;
26  std::string fMaterial;
27  double fExpTime;
28  bool fSpectrum;
29  bool fFirst = true;
30  std::string fWavelengthIndex;
31  std::vector<double> fWavelengths;
32  std::vector<double> fProbCumu;
33 };
34 
35 } // namespace RAT
36 
37 #endif
Definition: GLG4VertexGen.hh:26
Definition: VertexGen_PhotonBomb.hh:10
virtual void SetState(G4String newValues)
Definition: VertexGen_PhotonBomb.cc:83
Definition: CCCrossSecMessenger.hh:29