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 // $Id: LMapLoader.h,v 1.3 2010/08/06 20:24:10 wmtan Exp $
20 //
21 
22 // system include files
23 
24 // user include files
27 
28 // forward declarations
29 
30 class LMapLoader : public XMLDOMBlock
31 {
32 
33  public:
34 
35  //structs
36 
37  typedef struct _LMapRowHBEF
38  {
39  int side;
40  int eta;
41  int phi;
42  int dphi;
43  int depth;
44  std::string det;
45  std::string rbx;
46  int wedge;
47  int rm;
48  int pixel;
49  int qie;
50  int adc;
51  int rm_fi;
52  int fi_ch;
53  int crate;
54  int htr;
55  std::string fpga;
56  int htr_fi;
57  int dcc_sl;
58  int spigo;
59  int dcc;
60  int slb;
61  std::string slbin;
62  std::string slbin2;
63  std::string slnam;
64  int rctcra;
65  int rctcar;
66  int rctcon;
67  std::string rctnam;
68  int fedid;
69  } LMapRowHBEF;
70 
71  typedef struct _LMapRowHO
72  {
73  int sideO;
74  int etaO;
75  int phiO;
76  int dphiO;
77  int depthO;
78  std::string detO;
79  std::string rbxO;
80  int sectorO;
81  int rmO;
82  int pixelO;
83  int qieO;
84  int adcO;
85  int rm_fiO;
86  int fi_chO;
87  std::string let_codeO;
88  int crateO;
89  int htrO;
90  std::string fpgaO;
91  int htr_fiO;
92  int dcc_slO;
93  int spigoO;
94  int dccO;
95  int fedidO;
96  } LMapRowHO;
97 
98  LMapLoader();
99  LMapLoader( std::string templateLoaderBase );
100  virtual ~LMapLoader();
101 
102  // ---------- const member functions ---------------------
103 
104  // ---------- static member functions --------------------
105 
106  // ---------- member functions ---------------------------
107  int createLMapHBEFXMLBase( void );
108  int addLMapHBEFDataset( LMapRowHBEF * row, std::string templateFileName );
109  int addLMapHODataset( LMapRowHO * row, std::string templateFileName );
110 
111  private:
112  LMapLoader(const LMapLoader&); // stop default
113 
114  const LMapLoader& operator=(const LMapLoader&); // stop default
115 
116  // ---------- member data --------------------------------
117 
118 };
119 
120 
121 #endif
int createLMapHBEFXMLBase(void)
Definition: LMapLoader.cc:43
int addLMapHODataset(LMapRowHO *row, std::string templateFileName)
Definition: LMapLoader.cc:128
const LMapLoader & operator=(const LMapLoader &)
struct LMapLoader::_LMapRowHO LMapRowHO
std::string let_codeO
Definition: LMapLoader.h:87
int addLMapHBEFDataset(LMapRowHBEF *row, std::string templateFileName)
Definition: LMapLoader.cc:74
struct LMapLoader::_LMapRowHBEF LMapRowHBEF
virtual ~LMapLoader()
Definition: LMapLoader.cc:54