CMS 3D CMS Logo

XMLLUTLoader.h
Go to the documentation of this file.
1 #ifndef HCALConfigDBTools_XMLTools_XMLLUTLoader_h
2 #define HCALConfigDBTools_XMLTools_XMLLUTLoader_h
3 // -*- C++ -*-
4 //
5 // Package: XMLTools
6 // Class : XMLLUTLoader
7 //
16 //
17 // Original Author: Gena Kukartsev, kukarzev@fnal.gov
18 // Created: Tue Oct 23 14:30:33 CDT 2007
19 //
20 
21 // system include files
22 
23 // user include files
26 
27 // forward declarations
28 
29 class XMLLUTLoader : public XMLDOMBlock {
30 public:
33 
34  typedef struct _lutDBConfig : public XMLProcessor::DBConfig {
35  _lutDBConfig();
39  int crate;
40  } lutDBConfig;
41 
42  typedef struct _checksumsDBConfig : public XMLProcessor::DBConfig {
47  int crate;
49 
50  XMLLUTLoader();
52  std::string templateBase = "HCAL_TRIG_PRIM_LOOKUP_TABLE.XMLloader.template");
53  ~XMLLUTLoader() override;
54 
55  int addLUT(lutDBConfig* config, std::string templateFileName = "HCAL_TRIG_PRIM_LOOKUP_TABLE.dataset.template");
56 
58  std::string templateFileName = "HCAL_TRIG_PRIM_LOOKUP_TABLE.checksums.template");
59 
60  int createLoader(const std::vector<int>& crate_number, const std::vector<std::string>& file_name);
61 
62 private:
63  XMLLUTLoader(const XMLLUTLoader&) = delete; // stop default
64 
65  const XMLLUTLoader& operator=(const XMLLUTLoader&) = delete; // stop default
66 };
67 
68 #endif
XMLLUTLoader::_lutDBConfig::kind_of_part
std::string kind_of_part
Definition: XMLLUTLoader.h:36
XMLLUTLoader::_checksumsDBConfig::crate
int crate
Definition: XMLLUTLoader.h:47
XMLLUTLoader::createLoader
int createLoader(const std::vector< int > &crate_number, const std::vector< std::string > &file_name)
Definition: XMLLUTLoader.cc:142
XMLLUTLoader::_lutDBConfig::name_label
std::string name_label
Definition: XMLLUTLoader.h:37
XMLLUTLoader::_checksumsDBConfig::_checksumsDBConfig
_checksumsDBConfig()
Definition: XMLLUTLoader.cc:39
XMLLUTLoader::_lutDBConfig::_lutDBConfig
_lutDBConfig()
Definition: XMLLUTLoader.cc:32
XMLLUTLoader::~XMLLUTLoader
~XMLLUTLoader() override
Definition: XMLLUTLoader.cc:73
XMLLUTLoader::loaderBaseConfig
XMLLUTLoader::_loaderBaseConfig loaderBaseConfig
contentValuesCheck.file_name
file_name
Definition: contentValuesCheck.py:38
XMLDOMBlock
Definition: XMLDOMBlock.h:39
XMLLUTLoader::lutDBConfig
XMLLUTLoader::_lutDBConfig lutDBConfig
config
Definition: config.py:1
XMLLUTLoader::checksumsDBConfig
XMLLUTLoader::_checksumsDBConfig checksumsDBConfig
XMLLUTLoader::addLUT
int addLUT(lutDBConfig *config, std::string templateFileName="HCAL_TRIG_PRIM_LOOKUP_TABLE.dataset.template")
Definition: XMLLUTLoader.cc:90
XMLLUTLoader::_checksumsDBConfig
Definition: XMLLUTLoader.h:42
XMLLUTLoader::_lutDBConfig
Definition: XMLLUTLoader.h:34
XMLProcessor::_DBConfig
Definition: XMLProcessor.h:117
XMLDOMBlock.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
XMLLUTLoader
Definition: XMLLUTLoader.h:29
XMLLUTLoader::_lutDBConfig::crate
int crate
Definition: XMLLUTLoader.h:39
XMLLUTLoader::_checksumsDBConfig::name_label
std::string name_label
Definition: XMLLUTLoader.h:45
XMLLUTLoader::_checksumsDBConfig::comment_description
std::string comment_description
Definition: XMLLUTLoader.h:44
XMLLUTLoader::addChecksums
int addChecksums(checksumsDBConfig *config, std::string templateFileName="HCAL_TRIG_PRIM_LOOKUP_TABLE.checksums.template")
Definition: XMLLUTLoader.cc:116
XMLProcessor.h
XMLLUTLoader::_lutDBConfig::trig_prim_lookuptbl_data_file
std::string trig_prim_lookuptbl_data_file
Definition: XMLLUTLoader.h:38
XMLLUTLoader::_loaderBaseConfig
Definition: XMLLUTLoader.h:31
XMLProcessor::_loaderBaseConfig
Definition: XMLProcessor.h:42
XMLLUTLoader::_checksumsDBConfig::trig_prim_lookuptbl_data_file
std::string trig_prim_lookuptbl_data_file
Definition: XMLLUTLoader.h:46
XMLLUTLoader::XMLLUTLoader
XMLLUTLoader()
Definition: XMLLUTLoader.cc:46
XMLLUTLoader::operator=
const XMLLUTLoader & operator=(const XMLLUTLoader &)=delete