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 // $Id: XMLHTRPatternLoader.h,v 1.3 2010/08/06 20:24:10 wmtan Exp $
20 //
21 
22 // system include files
23 
24 // user include files
27 
28 // forward declarations
29 
31 {
32 
33  public:
34 
36  {
39 
40  typedef struct _datasetDBConfig : public XMLProcessor::DBConfig
41  {
43  std::string kind_of_part;
44  std::string name_label;
46  int crate;
48 
50  {
52  std::string comment_description;
53  std::string name_label;
55  int crate;
57 
59  XMLHTRPatternLoader( XMLProcessor::loaderBaseConfig * config, std::string templateBase = "HCAL_HTR_DATA_PATTERNS.XMLloader.template" );
60  virtual ~XMLHTRPatternLoader();
61 
62  // ---------- const member functions ---------------------
63 
64  // ---------- static member functions --------------------
65 
66  // ---------- member functions ---------------------------
68  std::string templateFileName = "HCAL_HTR_DATA_PATTERNS.dataset.template" );
69 
71  std::string templateFileName = "HCAL_HTR_DATA_PATTERNS.checksums.template" );
72 
73  int createLoader( std::vector<int> crate_number, std::vector<std::string> file_name );
74 
75  private:
76  XMLHTRPatternLoader(const XMLHTRPatternLoader&); // stop default
77 
78  const XMLHTRPatternLoader& operator=(const XMLHTRPatternLoader&); // stop default
79 
80  // ---------- member data --------------------------------
81 
82 };
83 
84 
85 #endif
XMLHTRPatternLoader::_loaderBaseConfig loaderBaseConfig
XMLHTRPatternLoader::_datasetDBConfig datasetDBConfig
int createLoader(std::vector< int > crate_number, std::vector< std::string > file_name)
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