ROAst
 All Classes Functions Variables Enumerations
GENHEN.h
1 #include"roast.h"
2 
3 namespace ROAst{
4 
5 
7  {
8 
9  bool DecayCode;
10  bool UseDetFile;
12  bool SeedMode;
13  bool PointMode;
15  double SrcZenit;
16  double SrcAzimut;
17  double SrcDecli;
18  double SpectralIndex;
19  int RunNumber;
20  int Target;
21  int EventType;
22  int KinetCut;
25  int WeightID;
26  std::pair<bool,bool> CrossSectParam;
27  std::pair<int,int> NrEvents;
28  std::pair<int,int> FluxTag;
29  std::pair<int,int> IParticle;
30  std::pair<int,int> PDF;
31  std::pair<int,int> Particle;
32  std::pair<int,int> Flux;
33  std::pair<int,double> NrAbsorbLengths;
34  std::pair<double,double> BedAndSeaLevel;
35  std::pair<double,double> GENHENCut;
37  std::vector<int> MuModel;
40  std::vector<int> FluxParameters;
42  std::vector<int> Seed;
43  std::vector<int> MuonMode;
44  std::vector<int> EarthProp;
47  std::vector<double> EnengyCut;
48  std::vector<double> CanSize;
49  };
51  {
52  std::string GENNEU_PATH;
53  std::string ANTRS_PROD;
54  std::string GENNEU_V;
55  std::string EVOFIL;
56  std::string GEOFIL;
57  std::string RSQPATH;
58  std::string CTEQ6_DATA;
59  std::string MUSICPATH;
60  };
61 
62 
64 {
65 protected:
66  std::string DataCardFile;
69  public:
70 
71  GENHENGenerator();
73  virtual ~GENHENGenerator() ;
75  virtual TTree *Run(unsigned long long run, unsigned long long particles) ;
77  virtual TTree *FromFile(std::string cont &file) ;
80  GENHENDatacard GetDatacard() const;
81  void SetDataCard(GENHENDatacard const &datacard);
82  void LoadDataCard(std::string const &file);
83  void SetSysConfig(GENHENSysConfig const &paths);
86 };
87 };
double SpectralIndex
Definition: GENHEN.h:18
int EventType
Definition: GENHEN.h:21
GENHENDatacard datacard
Definition: GENHEN.h:67
bool SeedMode
Definition: GENHEN.h:12
GENHENDatacard GetDatacard() const
Definition: GENHEN.h:50
bool UseDetFile
Definition: GENHEN.h:10
std::vector< double > CanSize
Definition: GENHEN.h:48
std::pair< int, int > PDF
Definition: GENHEN.h:30
std::pair< double, double > BedAndSeaLevel
Definition: GENHEN.h:34
std::vector< int > FluxParameters
Definition: GENHEN.h:40
GENHENSysConfig Paths
Definition: GENHEN.h:68
int Target
Definition: GENHEN.h:20
std::pair< double, double > GENHENCut
Definition: GENHEN.h:35
int NrEnergyBin
Definition: GENHEN.h:24
std::pair< int, int > IParticle
Definition: GENHEN.h:29
bool LocalCoorsPonitSrcMode
Definition: GENHEN.h:11
double SrcZenit
Definition: GENHEN.h:15
GENHENSysConfig GetRunPaths() const
void LoadDataCard(std::string const &file)
int RunNumber
Definition: GENHEN.h:19
std::vector< double > EnengyCut
Definition: GENHEN.h:47
int WeightID
Definition: GENHEN.h:25
int WeiteOptions
Definition: GENHEN.h:23
std::pair< int, int > FluxTag
Definition: GENHEN.h:28
std::pair< int, int > NrEvents
Definition: GENHEN.h:27
void SetSysConfig(GENHENSysConfig const &paths)
double SrcAzimut
Definition: GENHEN.h:16
virtual TTree * FromFile(std::string cont &file)
Definition: roast.h:393
std::vector< int > MuonMode
Definition: GENHEN.h:43
Definition: GENHEN.h:63
std::vector< int > EarthProp
Definition: GENHEN.h:44
int KinetCut
Definition: GENHEN.h:22
std::pair< int, int > Particle
Definition: GENHEN.h:31
bool PointMode
Definition: GENHEN.h:13
std::pair< int, double > NrAbsorbLengths
Definition: GENHEN.h:33
double SrcDecli
Definition: GENHEN.h:17
virtual TTree * Run(unsigned long long run, unsigned long long particles)
std::pair< int, int > Flux
Definition: GENHEN.h:32
std::pair< bool, bool > CrossSectParam
Definition: GENHEN.h:26
double DedectorLatitude
Definition: GENHEN.h:14
void SetDataCard(GENHENDatacard const &datacard)
std::vector< int > Seed
Definition: GENHEN.h:42
Definition: GENHEN.h:6
std::vector< int > MuModel
Definition: GENHEN.h:37