test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LMapLoader.h
Go to the documentation of this file.
1 #ifndef HCALConfigDBTools_XMLTools_LMapLoader_h
2 #define HCALConfigDBTools_XMLTools_LMapLoader_h
3 // -*- C++ -*-
4 //
5 // Package: XMLTools
6 // Class : LMapLoader
7 //
16 //
17 // Original Author: Aram Avetisyan avetisya@fnal.gov
18 // Created: Tue Nov 14 15:05:33 CDT 2007
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
29 class LMapLoader : public XMLDOMBlock
30 {
31 
32  public:
33 
34  //structs
35 
36  typedef struct _LMapRowHBEF
37  {
38  int side;
39  int eta;
40  int phi;
41  int dphi;
42  int depth;
45  int wedge;
46  int rm;
47  int pixel;
48  int qie;
49  int adc;
50  int rm_fi;
51  int fi_ch;
52  int crate;
53  int htr;
55  int htr_fi;
56  int dcc_sl;
57  int spigo;
58  int dcc;
59  int slb;
63  int rctcra;
64  int rctcar;
65  int rctcon;
67  int fedid;
68  } LMapRowHBEF;
69 
70  typedef struct _LMapRowHO
71  {
72  int sideO;
73  int etaO;
74  int phiO;
75  int dphiO;
76  int depthO;
79  int sectorO;
80  int rmO;
81  int pixelO;
82  int qieO;
83  int adcO;
84  int rm_fiO;
85  int fi_chO;
87  int crateO;
88  int htrO;
90  int htr_fiO;
91  int dcc_slO;
92  int spigoO;
93  int dccO;
94  int fedidO;
95  } LMapRowHO;
96 
97  LMapLoader();
98  LMapLoader( std::string templateLoaderBase );
99  virtual ~LMapLoader();
100 
101  // ---------- const member functions ---------------------
102 
103  // ---------- static member functions --------------------
104 
105  // ---------- member functions ---------------------------
106  int createLMapHBEFXMLBase( void );
107  int addLMapHBEFDataset( LMapRowHBEF * row, std::string templateFileName );
108  int addLMapHODataset( LMapRowHO * row, std::string templateFileName );
109 
110  private:
111  LMapLoader(const LMapLoader&); // stop default
112 
113  const LMapLoader& operator=(const LMapLoader&); // stop default
114 
115  // ---------- member data --------------------------------
116 
117 };
118 
119 
120 #endif
int createLMapHBEFXMLBase(void)
Definition: LMapLoader.cc:42
int addLMapHODataset(LMapRowHO *row, std::string templateFileName)
Definition: LMapLoader.cc:127
const LMapLoader & operator=(const LMapLoader &)
struct LMapLoader::_LMapRowHO LMapRowHO
std::string let_codeO
Definition: LMapLoader.h:86
int addLMapHBEFDataset(LMapRowHBEF *row, std::string templateFileName)
Definition: LMapLoader.cc:73
struct LMapLoader::_LMapRowHBEF LMapRowHBEF
virtual ~LMapLoader()
Definition: LMapLoader.cc:53