CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
XMLHTRPatternLoader.h
Go to the documentation of this file.
1 #ifndef HCALConfigDBTools_XMLTools_XMLHTRPatternLoader_h
2 #define HCALConfigDBTools_XMLTools_XMLHTRPatternLoader_h
3 // -*- C++ -*-
4 //
5 // Package: XMLTools
6 // Class : XMLHTRPatternLoader
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 
30 {
31 
32  public:
33 
35  {
38 
39  typedef struct _datasetDBConfig : public XMLProcessor::DBConfig
40  {
45  int crate;
47 
49  {
54  int crate;
56 
58  XMLHTRPatternLoader( XMLProcessor::loaderBaseConfig * config, std::string templateBase = "HCAL_HTR_DATA_PATTERNS.XMLloader.template" );
59  virtual ~XMLHTRPatternLoader();
60 
61  // ---------- const member functions ---------------------
62 
63  // ---------- static member functions --------------------
64 
65  // ---------- member functions ---------------------------
67  std::string templateFileName = "HCAL_HTR_DATA_PATTERNS.dataset.template" );
68 
70  std::string templateFileName = "HCAL_HTR_DATA_PATTERNS.checksums.template" );
71 
72  int createLoader( const std::vector<int>& crate_number, const std::vector<std::string>& file_name );
73 
74  private:
75  XMLHTRPatternLoader(const XMLHTRPatternLoader&); // stop default
76 
77  const XMLHTRPatternLoader& operator=(const XMLHTRPatternLoader&); // stop default
78 
79  // ---------- member data --------------------------------
80 
81 };
82 
83 
84 #endif
XMLHTRPatternLoader::_loaderBaseConfig loaderBaseConfig
XMLHTRPatternLoader::_datasetDBConfig datasetDBConfig
int addChecksums(checksumsDBConfig *config, std::string templateFileName="HCAL_HTR_DATA_PATTERNS.checksums.template")
int addPattern(datasetDBConfig *config, std::string templateFileName="HCAL_HTR_DATA_PATTERNS.dataset.template")
const XMLHTRPatternLoader & operator=(const XMLHTRPatternLoader &)
XMLHTRPatternLoader::_checksumsDBConfig checksumsDBConfig
int createLoader(const std::vector< int > &crate_number, const std::vector< std::string > &file_name)