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 <constantinos.andreopoulos \at cern.ch>
9  University of Liverpool & STFC Rutherford Appleton Laboratory
10 
11 \created October 20, 2006
12 
13 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 */
16 //____________________________________________________________________________
17 
18 #ifndef _REGISTRY_ITEM_TYPE_DEF_H_
19 #define _REGISTRY_ITEM_TYPE_DEF_H_
20 
21 #include <map>
22 #include <string>
23 #include <ostream>
24 
25 #include <TH1F.h>
26 #include <TH2F.h>
27 #include <TTree.h>
28 
29 using std::pair;
30 using std::string;
31 using std::ostream;
32 
33 typedef string RgKey;
34 typedef int RgInt;
35 typedef bool RgBool;
36 typedef double RgDbl;
37 typedef string RgStr;
38 typedef const char * RgCChAr;
39 typedef TH1F * RgH1F;
40 typedef TH2F * RgH2F;
41 typedef TTree * RgTree;
42 
43 class RgAlg {
44 public:
45  RgAlg();
46  RgAlg(string n, string c);
47  ~RgAlg();
48  friend ostream & operator << (ostream & stream, const RgAlg & alg);
49  RgAlg & operator = (const RgAlg & alg);
50  string name;
51  string config;
52 };
53 
54 #endif // _REGISTRY_ITEM_TYPE_DEF_H_
const char * RgCChAr
std::string string
Definition: nybbler.cc:12
bool RgBool
int RgInt
TH2F * RgH2F
std::void_t< T > n
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