Belle II Software  release-08-01-10
SVDLocalCalibrationsImporter Class Reference

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. More...
 
void importSVDPedestalCalibrationsFromXML (const std::string &xmlFileName, bool errorTollerant=false)
 This method import to the database the strip pedestal from the pedestal local runs. More...
 
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. More...
 
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. More...
 
void importSVDFADCMaskedStripsFromXML (const std::string &xmlFileName, bool errorTollerant=false)
 This method import to the database the list of strips masked at FADC level. More...
 
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. More...
 

Private Attributes

int m_firstExperiment
 The interval of validity coordinates are defined as private members. More...
 
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 storing the SVD Local Calibrations.

Definition at line 24 of file SVDLocalCalibrationsImporter.h.

Member Function Documentation

◆ importSVDCalAmpCalibrationsFromXML()

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.

Parameters
xmlFileNameis the file name of the xml file
errorTollerantif true bypasses sanity checks

◆ importSVDCalibrationsFromXML()

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.

Parameters
condDbnameis the name of the payload in the condition database
xmlFileNameis the file name of the xml file
xmlTagis the tag in the xml file that contains the actual calibrations
defaultValueis the value assigned to the calibration constant by default
errorTollerantif true bypasses sanity checks

◆ importSVDFADCMaskedStripsFromXML()

void importSVDFADCMaskedStripsFromXML ( const std::string &  xmlFileName,
bool  errorTollerant = false 
)

This method import to the database the list of strips masked at FADC level.

Parameters
xmlFileNameis the file name of the xml file
errorTollerantif true bypasses sanity checks

◆ importSVDHotStripsCalibrationsFromXML()

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.

Parameters
xmlFileNameis the file name of the xml file
errorTollerantif true bypasses sanity checks

◆ importSVDNoiseCalibrationsFromXML()

void importSVDNoiseCalibrationsFromXML ( const std::string &  xmlFileName,
bool  errorTollerant = false 
)

This method import to the database the strip noise from the pedestal local runs.

Parameters
xmlFileNameis the file name of the xml file
errorTollerantif true bypasses sanity checks

◆ importSVDPedestalCalibrationsFromXML()

void importSVDPedestalCalibrationsFromXML ( const std::string &  xmlFileName,
bool  errorTollerant = false 
)

This method import to the database the strip pedestal from the pedestal local runs.

Parameters
xmlFileNameis the file name of the xml file
errorTollerantif true bypasses sanity checks

Member Data Documentation

◆ m_firstExperiment

int m_firstExperiment
private

The interval of validity coordinates are defined as private members.

First experiment.

Definition at line 129 of file SVDLocalCalibrationsImporter.h.


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