![]() |
Belle II Software development
|
This class import to the database the dbobjects storing the SVD Local Calibrations. More...
#include <SVDLocalCalibrationsImporter.h>
Public Member Functions | |
| SVDLocalCalibrationsImporter () | |
| Default constructor. | |
| SVDLocalCalibrationsImporter (int fexp, int frun, int lexp, int lrun) | |
| A constructor accepting as arguments the interval of validity coordinates. | |
| virtual | ~SVDLocalCalibrationsImporter () |
| Destructor. | |
| void | importSVDChannelMapping (const std::string &fileName=std::string("svd/data/svd_mapping.xml")) |
| This method import to the database the channel mapping which is always required to properly fulfilled the other payloads. | |
| void | importSVDNoiseCalibrationsFromXML (const std::string &xmlFileName, bool errorTollerant=false) |
| This method import to the database the strip noise from the pedestal local runs. | |
| void | importSVDPedestalCalibrationsFromXML (const std::string &xmlFileName, bool errorTollerant=false) |
| This method import to the database the strip pedestal from the pedestal local runs. | |
| void | importSVDCalAmpCalibrationsFromXML (const std::string &xmlFileName, bool errorTollerant=false) |
| This method import to the database the strip pulse width, time and gain from the injection local runs. | |
| void | importSVDHotStripsCalibrationsFromXML (const std::string &xmlFileName, bool errorTollerant=false) |
| This method import to the database the list of hot strips flagged online and written in the local run xml output. | |
| void | importSVDFADCMaskedStripsFromXML (const std::string &xmlFileName, bool errorTollerant=false) |
| This method import to the database the list of strips masked at FADC level. | |
| template<class SVDcalibration> | |
| void | importSVDCalibrationsFromXML (const std::string &condDbname, const std::string &xmlFileName, const std::string &xmlTag, typename SVDcalibration::t_perSideContainer::calibrationType defaultValue, bool errorTollerant) |
| This method import to the database the strip noise from the noise local runs. | |
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. | |
This class import to the database the dbobjects storing the SVD Local Calibrations.
Definition at line 24 of file SVDLocalCalibrationsImporter.h.
|
inline |
Default constructor.
Definition at line 31 of file SVDLocalCalibrationsImporter.h.
|
inline |
A constructor accepting as arguments the interval of validity coordinates.
Definition at line 41 of file SVDLocalCalibrationsImporter.h.
|
inlinevirtual |
| void importSVDCalAmpCalibrationsFromXML | ( | const std::string & | xmlFileName, |
| bool | errorTollerant = false ) |
This method import to the database the strip pulse width, time and gain from the injection local runs.
| xmlFileName | is the file name of the xml file |
| errorTollerant | if true bypasses sanity checks |
Definition at line 212 of file SVDLocalCalibrationsImporter.cc.
| void importSVDCalibrationsFromXML | ( | const std::string & | condDbname, |
| const std::string & | xmlFileName, | ||
| const std::string & | xmlTag, | ||
| typename SVDcalibration::t_perSideContainer::calibrationType | defaultValue, | ||
| bool | errorTollerant ) |
This method import to the database the strip noise from the noise local runs.
| condDbname | is the name of the payload in the condition database |
| xmlFileName | is the file name of the xml file |
| xmlTag | is the tag in the xml file that contains the actual calibrations |
| defaultValue | is the value assigned to the calibration constant by default |
| errorTollerant | if true bypasses sanity checks |
Definition at line 100 of file SVDLocalCalibrationsImporter.cc.
| void importSVDChannelMapping | ( | const std::string & | fileName = std::string("svd/data/svd_mapping.xml") | ) |
This method import to the database the channel mapping which is always required to properly fulfilled the other payloads.
Definition at line 45 of file SVDLocalCalibrationsImporter.cc.
| void importSVDFADCMaskedStripsFromXML | ( | const std::string & | xmlFileName, |
| bool | errorTollerant = false ) |
This method import to the database the list of strips masked at FADC level.
| xmlFileName | is the file name of the xml file |
| errorTollerant | if true bypasses sanity checks |
Definition at line 89 of file SVDLocalCalibrationsImporter.cc.
| void importSVDHotStripsCalibrationsFromXML | ( | const std::string & | xmlFileName, |
| bool | errorTollerant = false ) |
This method import to the database the list of hot strips flagged online and written in the local run xml output.
| xmlFileName | is the file name of the xml file |
| errorTollerant | if true bypasses sanity checks |
Definition at line 81 of file SVDLocalCalibrationsImporter.cc.
| void importSVDNoiseCalibrationsFromXML | ( | const std::string & | xmlFileName, |
| bool | errorTollerant = false ) |
This method import to the database the strip noise from the pedestal local runs.
| xmlFileName | is the file name of the xml file |
| errorTollerant | if true bypasses sanity checks |
Definition at line 60 of file SVDLocalCalibrationsImporter.cc.
| void importSVDPedestalCalibrationsFromXML | ( | const std::string & | xmlFileName, |
| bool | errorTollerant = false ) |
This method import to the database the strip pedestal from the pedestal local runs.
| xmlFileName | is the file name of the xml file |
| errorTollerant | if true bypasses sanity checks |
Definition at line 74 of file SVDLocalCalibrationsImporter.cc.
|
private |
The interval of validity coordinates are defined as private members.
First experiment.
Definition at line 129 of file SVDLocalCalibrationsImporter.h.
|
private |
First run.
Definition at line 130 of file SVDLocalCalibrationsImporter.h.
|
private |
Last experiment.
Definition at line 131 of file SVDLocalCalibrationsImporter.h.
|
private |
Last run.
Definition at line 132 of file SVDLocalCalibrationsImporter.h.