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

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/ratbase/include/RAT/Rat.hh Source File
Ratpac-two
Rat.hh
1 #ifndef __RAT__
2 #define __RAT__
3 #include <TStopwatch.h>
4 
5 #include <RAT/AnyParse.hh>
6 #include <RAT/DB.hh>
7 #include <RAT/DBMessenger.hh>
8 #include <RAT/ProducerBlock.hh>
9 #include <RAT/RatMessenger.hh>
10 #include <set>
11 #include <string>
12 
13 namespace RAT {
14 
15 class Rat {
16  protected:
17  AnyParse *parser;
18  long seed;
19  std::string input_filename;
20  std::string output_filename;
21  std::string vector_filename;
22  std::vector<std::string> python_processors;
23  int run;
24  bool vis;
25  int argc;
26  char **argv;
27  TStopwatch runTime;
28  DB *rdb;
29  DBMessenger *rdb_messenger;
30  RatMessenger *rat_messenger;
31  ProducerBlock prodBlock;
32 
33  public:
34  inline static std::set<std::string> ratdb_directories = {};
35  inline static std::set<std::string> model_directories = {};
36 
37  Rat(AnyParse *parser, int argc, char **argv) : parser(parser), argc(argc), argv(argv){};
38  ~Rat();
39  virtual void Configure();
40  void Begin();
41  void Report();
42 };
43 
44 } // namespace RAT
45 
46 #endif
Definition: AnyParse.hh:12
Definition: DBMessenger.hh:14
Definition: DB.hh:126
Definition: ProducerBlock.hh:12
Definition: RatMessenger.hh:14
Definition: Rat.hh:15
Definition: CCCrossSecMessenger.hh:29