Belle II Software development
SVDDetectorConfigurationImporter Class Reference

This class import to the database the dbobjects SVDGlobalConfigParameters and SVDLocalConfigParameters. More...

#include <SVDDetectorConfigurationImporter.h>

Public Member Functions

 SVDDetectorConfigurationImporter ()
 Default constructor.
 
 SVDDetectorConfigurationImporter (int fexp, int frun, int lexp, int lrun)
 A constructor accepting as arguments the interval of validity coordinates.
 
virtual ~SVDDetectorConfigurationImporter ()
 Destructor.
 
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.
 
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.
 

Private Attributes

int m_firstExperiment
 The interval of validity coordinates are defined as private members.
 
int m_firstRun
 First run.
 
int m_lastExperiment
 Last experiment.
 
int m_lastRun
 Last run.
 

Detailed Description

This class import to the database the dbobjects SVDGlobalConfigParameters and SVDLocalConfigParameters.

Definition at line 25 of file SVDDetectorConfigurationImporter.h.

Constructor & Destructor Documentation

◆ SVDDetectorConfigurationImporter() [1/2]

Default constructor.

Definition at line 32 of file SVDDetectorConfigurationImporter.h.

◆ SVDDetectorConfigurationImporter() [2/2]

SVDDetectorConfigurationImporter ( int  fexp,
int  frun,
int  lexp,
int  lrun 
)
inline

A constructor accepting as arguments the interval of validity coordinates.

Definition at line 42 of file SVDDetectorConfigurationImporter.h.

42 :
43 m_firstExperiment(fexp), m_firstRun(frun),
44 m_lastExperiment(lexp), m_lastRun(lrun)
45 {
46 }

◆ ~SVDDetectorConfigurationImporter()

virtual ~SVDDetectorConfigurationImporter ( )
inlinevirtual

Destructor.

Definition at line 52 of file SVDDetectorConfigurationImporter.h.

53 {}

Member Function Documentation

◆ importSVDGlobalConfigParametersFromXML()

void importSVDGlobalConfigParametersFromXML ( const std::string &  xmlFileName)

This method import to the database the global configuration parameters used during data taking.

Parameters
xmlFileNameis the file name of the xml file

◆ importSVDGlobalXMLFile()

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.

Parameters
fileNamename of the XML file

◆ importSVDLocalConfigParametersFromXML()

void importSVDLocalConfigParametersFromXML ( const std::string &  xmlFileName)

This method import to the database the local configuration parameters used during data taking.

Parameters
xmlFileNameis the file name of the xml file

Member Data Documentation

◆ m_firstExperiment

int m_firstExperiment
private

The interval of validity coordinates are defined as private members.

First experiment.

Definition at line 83 of file SVDDetectorConfigurationImporter.h.

◆ m_firstRun

int m_firstRun
private

First run.

Definition at line 84 of file SVDDetectorConfigurationImporter.h.

◆ m_lastExperiment

int m_lastExperiment
private

Last experiment.

Definition at line 85 of file SVDDetectorConfigurationImporter.h.

◆ m_lastRun

int m_lastRun
private

Last run.

Definition at line 86 of file SVDDetectorConfigurationImporter.h.


The documentation for this class was generated from the following file: