CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  MemBufInputSource * _data_ped_delay; // a container for the XML template for a single pedestal or zero delay
77  MemBufInputSource * _data_gol; // a container for the XML template for a single gol current
78  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
struct XMLRBXPedestalsLoader::_loaderBaseConfig loaderBaseConfig
MemBufInputSource * _data_led
XMLRBXPedestalsLoader::_datasetDBConfig datasetDBConfig
XMLRBXPedestalsLoader(loaderBaseConfig *config, std::string templateBase="HCAL_RBX_PEDESTALS_TYPE01.XMLloader.template")
int fixRbxName(std::string &)
const XMLRBXPedestalsLoader & operator=(const XMLRBXPedestalsLoader &)
MemBufInputSource * _data_ped_delay
MemBufInputSource * _data_gol
int addRBXSlot(datasetDBConfig *config, std::string brickFileName, std::string rbx_config_type="pedestals", std::string templateFileName="HCAL_RBX_PEDESTALS_TYPE01.dataset.template")