CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHardwareXml.h
Go to the documentation of this file.
1 #ifndef HCALConfigDBTools_XMLTools_HcalHardwareXml_h
2 #define HCALConfigDBTools_XMLTools_HcalHardwareXml_h
3 // -*- C++ -*-
4 //
5 // Package: XMLTools
6 // Class : HcalHardwareXml
7 // Original Author: Gena Kukartsev, kukarzev@fnal.gov
8 //
18 #include <map>
19 
22 
23 typedef struct _HcalPart
24  {
33  } HcalPart;
34 
35 
36 
38 {
39 
40  public:
41 
44  virtual ~HcalHardwareXml();
45 
46  int addHardware( std::map<std::string,std::map<std::string,std::map<std::string,std::map<int,std::string> > > > & hw_map );
47 
48  private:
49 
50  HcalHardwareXml(const HcalHardwareXml&); // stop default
51  const HcalHardwareXml& operator=(const HcalHardwareXml&); // stop default
52 
53  DOMElement * addPart( DOMElement * parent, HcalPart & part );
54 
55  DOMElement * partsElem;
56 
57  //hw_map["rbx_slot"]["rbx"]["rm"][qie_slot]="qie";
58  //std::map<std::string,std::map<std::string,std::map<std::string,std::map<int,std::string> > > > hw_map;
59 
60 };
61 
62 
63 #endif
virtual ~HcalHardwareXml()
std::string mode
list parent
Definition: dbtoconf.py:74
DOMElement * partsElem
std::string kind_of_part
std::string barcode
std::string name_label
DOMElement * addPart(DOMElement *parent, HcalPart &part)
std::string comment
part
Definition: HCALResponse.h:20
const HcalHardwareXml & operator=(const HcalHardwareXml &)
int addHardware(std::map< std::string, std::map< std::string, std::map< std::string, std::map< int, std::string > > > > &hw_map)
std::string attr_value
struct _HcalPart HcalPart
std::string attr_name