Belle II Software development
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.
 
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.
 

Detailed Description

This class import to the database the dbobjects storing the SVD Local Calibrations.

Definition at line 24 of file SVDLocalCalibrationsImporter.h.

Constructor & Destructor Documentation

◆ SVDLocalCalibrationsImporter() [1/2]

Default constructor.

Definition at line 31 of file SVDLocalCalibrationsImporter.h.

31 :
34 {
35 }
int m_firstExperiment
The interval of validity coordinates are defined as private members.

◆ SVDLocalCalibrationsImporter() [2/2]

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

A constructor accepting as arguments the interval of validity coordinates.

Definition at line 41 of file SVDLocalCalibrationsImporter.h.

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

◆ ~SVDLocalCalibrationsImporter()

virtual ~SVDLocalCalibrationsImporter ( )
inlinevirtual

Destructor.

Definition at line 51 of file SVDLocalCalibrationsImporter.h.

52 {}

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.

◆ m_firstRun

int m_firstRun
private

First run.

Definition at line 130 of file SVDLocalCalibrationsImporter.h.

◆ m_lastExperiment

int m_lastExperiment
private

Last experiment.

Definition at line 131 of file SVDLocalCalibrationsImporter.h.

◆ m_lastRun

int m_lastRun
private

Last run.

Definition at line 132 of file SVDLocalCalibrationsImporter.h.


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