RegistryItemTypeDef.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::RegistryItemTypeDef
5 
6 \brief Definition of Registry item types
7 
8 \author Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
9  University of Liverpool & STFC Rutherford Appleton Lab
10 
11 \created October 20, 2006
12 
13 \cpright Copyright (c) 2003-2019, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15  or see $GENIE/LICENSE
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _REGISTRY_ITEM_TYPE_DEF_H_
20 #define _REGISTRY_ITEM_TYPE_DEF_H_
21 
22 #include <map>
23 #include <string>
24 #include <ostream>
25 
26 #include <TH1F.h>
27 #include <TH2F.h>
28 #include <TTree.h>
29 
30 using std::pair;
31 using std::string;
32 using std::ostream;
33 
34 typedef string RgKey;
35 typedef int RgInt;
36 typedef bool RgBool;
37 typedef double RgDbl;
38 typedef string RgStr;
39 typedef const char * RgCChAr;
40 typedef TH1F * RgH1F;
41 typedef TH2F * RgH2F;
42 typedef TTree * RgTree;
43 
44 class RgAlg {
45 public:
46  RgAlg();
47  RgAlg(string n, string c);
48  ~RgAlg();
49  friend ostream & operator << (ostream & stream, const RgAlg & alg);
50  RgAlg & operator = (const RgAlg & alg);
51  string name;
52  string config;
53 };
54 
55 #endif // _REGISTRY_ITEM_TYPE_DEF_H_
const char * RgCChAr
bool RgBool
int RgInt
TH2F * RgH2F
string RgStr
friend ostream & operator<<(ostream &stream, const RgAlg &alg)
RgAlg & operator=(const RgAlg &alg)
string RgKey
TH1F * RgH1F
double RgDbl
string config
TTree * RgTree
enum BeamMode string