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

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/gen/include/RAT/VertexGen_Decay0.hh Source File
Ratpac-two
VertexGen_Decay0.hh
1 // RAT::VertexGen_Decay0
3 // See notes in Decay0.hh, COPYING.decay0
5 
6 #ifndef __RAT_VertexGen_Decay0__
7 #define __RAT_VertexGen_Decay0__
8 
9 #include <G4Event.hh>
10 #include <G4ThreeVector.hh>
11 #include <RAT/Decay0.hh>
12 #include <RAT/GLG4VertexGen.hh>
13 #include <fstream>
14 #include <globals.hh>
15 #include <vector>
16 
17 #include "RAT/DB.hh"
18 namespace RAT {
19 
21  public:
22  VertexGen_Decay0(const char *arg_dbname = "decay0");
23  virtual ~VertexGen_Decay0();
24 
25  virtual void GeneratePrimaryVertex(G4Event *argEvent, G4ThreeVector &dx, G4double dt);
26  virtual void SetState(G4String newValues);
27  virtual G4String GetState();
28  virtual void GetParentAZ(G4int &A1, G4int &Z1, G4int &A2, G4int &Z2);
29 
30  private:
31  G4String fCodeToName(G4int code);
32  void StripIsotopeSuffix();
33 
34  G4String fType; // defines or double beta decay "2beta" or
35  // background and source study "backg"
36  G4String fIsotope; // parent isotope after stripping suffixes
37  G4String fIsotopeRawIn; // parent isotope as passed in the macro
38  bool fHasTimeCutoff;
39  bool fHasAlphaCut;
40 
41  G4int fLevel; // daughter energy level
42  G4int fMode; // decay mode
43  G4double fLoE, fHiE; // limit for energy spectrum
44 
45  DBLinkPtr fLdecay;
46 
47  protected:
48  Decay0 *fDecay0;
49 };
50 
51 } // namespace RAT
52 
53 #endif
Definition: GLG4VertexGen.hh:26
The Decay0 Generator for Initial Kinematics in Alpha, Beta and Double Beta Decays.
Definition: Decay0.hh:79
Definition: VertexGen_Decay0.hh:20
virtual G4String GetState()
Definition: VertexGen_Decay0.cc:390
virtual void GeneratePrimaryVertex(G4Event *argEvent, G4ThreeVector &dx, G4double dt)
Definition: VertexGen_Decay0.cc:30
virtual void SetState(G4String newValues)
Definition: VertexGen_Decay0.cc:137
virtual void GetParentAZ(G4int &A1, G4int &Z1, G4int &A2, G4int &Z2)
Definition: VertexGen_Decay0.cc:398
virtual ~VertexGen_Decay0()
Definition: VertexGen_Decay0.cc:28
Definition: CCCrossSecMessenger.hh:29