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

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/VertexGen_CRY.hh Source File
Ratpac-two
VertexGen_CRY.hh
1 #ifndef __RAT_VertexGen_CRY__
2 #define __RAT_VertexGen_CRY__
3 
4 #include <TTimeStamp.h>
5 
6 #include <G4Event.hh>
7 #include <G4ThreeVector.hh>
8 #include <RAT/GLG4VertexGen.hh>
9 #include <globals.hh>
10 
11 #include "RAT/DB.hh"
12 
13 class CRYGenerator;
14 namespace RAT {
15 
16 class CRYGenMessenger;
17 // Generate inverse beta decay event
18 class VertexGen_CRY : public GLG4VertexGen {
19  public:
20  VertexGen_CRY(const char *arg_dbname = "cry");
21  void GeneratePrimaryVertex(G4Event *, G4ThreeVector &, G4double);
22  void SetState(G4String newValues);
23  G4String GetState();
24 
25  private:
26  CRYGenerator *generator;
27  bool returnNeutrons;
28  bool returnProtons;
29  bool returnGammas;
30  bool returnElectrons;
31  bool returnMuons;
32  bool returnPions;
33  int nParticlesMin;
34  int nParticlesMax;
35  double altitude;
36  double latitude;
37  std::string date;
38  int subboxLength;
39  TTimeStamp startTime;
40 };
41 
42 } // namespace RAT
43 
44 #endif
Definition: GLG4VertexGen.hh:26
Definition: VertexGen_CRY.hh:18
Definition: CCCrossSecMessenger.hh:29
Definition: generator.py:1