Belle II Software  release-08-01-10
SVDDetectorConfigurationImporter.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <TObject.h>
12 
13 namespace Belle2 {
26 
27  public:
28 
35  {
36  }
37 
42  SVDDetectorConfigurationImporter(int fexp, int frun, int lexp, int lrun):
43  m_firstExperiment(fexp), m_firstRun(frun),
44  m_lastExperiment(lexp), m_lastRun(lrun)
45  {
46  }
47 
48 
53  {}
54 
60  void importSVDGlobalXMLFile(const std::string& fileName = std::string("svd/data/global.xml"));
61 
62 
69  void importSVDGlobalConfigParametersFromXML(const std::string& xmlFileName);
70 
77  void importSVDLocalConfigParametersFromXML(const std::string& xmlFileName);
78 
79  private:
80 
86  int m_firstRun;
88  int m_lastRun;
90  };
91 
93 } // Belle2 namespace
This class import to the database the dbobjects SVDGlobalConfigParameters and SVDLocalConfigParameter...
void importSVDGlobalConfigParametersFromXML(const std::string &xmlFileName)
This method import to the database the global configuration parameters used during data taking.
void importSVDLocalConfigParametersFromXML(const std::string &xmlFileName)
This method import to the database the local configuration parameters used during data taking.
SVDDetectorConfigurationImporter(int fexp, int frun, int lexp, int lrun)
A constructor accepting as arguments the interval of validity coordinates.
void importSVDGlobalXMLFile(const std::string &fileName=std::string("svd/data/global.xml"))
This method import to the database the global configuration xml file used during data taking.
int m_firstExperiment
The interval of validity coordinates are defined as private members.
Abstract base class for different kinds of events.