CMS 3D CMS Logo

XMLRBXPedestalsLoader.h
Go to the documentation of this file.
1 #ifndef HCALConfigDBTools_XMLTools_XMLRBXPedestalsLoader_h
2 #define HCALConfigDBTools_XMLTools_XMLRBXPedestalsLoader_h
3 // -*- C++ -*-
4 //
5 // Package: XMLTools
6 // Class : XMLRBXPedestalsLoader
7 //
16 //
17 // Original Author: Gena Kukartsev, kukarzev@fnal.gov
18 // Created: Tue Nov 06 14:30:33 CDT 2007
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
30 {
31 
32  public:
33 
34  typedef struct _loaderBaseConfig
35  {
42  long long int iov_begin;
43  long long int iov_end;
50 
51  typedef struct _datasetDBConfig : public XMLProcessor::DBConfig
52  {
58 
59  //XMLRBXPedestalsLoader();
60  XMLRBXPedestalsLoader( loaderBaseConfig * config, std::string templateBase = "HCAL_RBX_PEDESTALS_TYPE01.XMLloader.template" );
61  virtual ~XMLRBXPedestalsLoader();
62 
63  // ---------- const member functions ---------------------
64 
65  // ---------- static member functions --------------------
66 
67  // ---------- member functions ---------------------------
68  int addRBXSlot( datasetDBConfig * config, std::string brickFileName,
69  std::string rbx_config_type = "pedestals",
70  std::string templateFileName = "HCAL_RBX_PEDESTALS_TYPE01.dataset.template" ); // pedestals, gols, delays
71 
72  protected:
73  int init( void );
74  int fixRbxName( std::string & );
75 
76  XERCES_CPP_NAMESPACE::MemBufInputSource * _data_ped_delay; // a container for the XML template for a single pedestal or zero delay
77  XERCES_CPP_NAMESPACE::MemBufInputSource * _data_gol; // a container for the XML template for a single gol current
78  XERCES_CPP_NAMESPACE::MemBufInputSource * _data_led; // a container for the XML template for a single led data unit
79 
80  private:
81  XMLRBXPedestalsLoader(const XMLRBXPedestalsLoader&); // stop default
82 
83  const XMLRBXPedestalsLoader& operator=(const XMLRBXPedestalsLoader&); // stop default
84 
85  // ---------- member data --------------------------------
86 
87 };
88 
89 #endif
XERCES_CPP_NAMESPACE::MemBufInputSource * _data_ped_delay
struct XMLRBXPedestalsLoader::_loaderBaseConfig loaderBaseConfig
XMLRBXPedestalsLoader::_datasetDBConfig datasetDBConfig
Definition: config.py:1
XERCES_CPP_NAMESPACE::MemBufInputSource * _data_gol
XMLRBXPedestalsLoader(loaderBaseConfig *config, std::string templateBase="HCAL_RBX_PEDESTALS_TYPE01.XMLloader.template")
int fixRbxName(std::string &)
const XMLRBXPedestalsLoader & operator=(const XMLRBXPedestalsLoader &)
XERCES_CPP_NAMESPACE::MemBufInputSource * _data_led
int addRBXSlot(datasetDBConfig *config, std::string brickFileName, std::string rbx_config_type="pedestals", std::string templateFileName="HCAL_RBX_PEDESTALS_TYPE01.dataset.template")