 |
Belle II Software
release-05-01-25
|
14 #include <framework/logging/Logger.h>
29 class ECLDatabaseImporter {
91 template <
class rootClass> rootClass
getRootObjectFromFile(TFile* file,
const std::string& rootObjName)
const
93 rootClass rootObj = (rootClass)file->Get(rootObjName.data());
95 std::string filename = file->GetName();
97 B2FATAL(
"Could not find " << rootObjName <<
" in " << filename);
void importShowerEnergyCorrectionTemporary()
Import ECL corrections to showers energies.
std::string m_numOfPhiBinsBranchName
numOfPhiBins branch name
std::string m_bgFractionBinNumBranchName
Branch names for shower corrector leakage correction root file.
void importShowerCorrectorLeakageCorrections()
Import ECL leakage corrections to showers.
std::string m_phiBinNumBranchName
phiBinNum branch name
std::string m_regNumBranchName
regNum branch name
virtual ~ECLDatabaseImporter()
Destructor.
std::string m_numOfBfBinsBranchName
numOfBfBins branch name
std::string m_lReg1ThetaBranchName
lReg1Theta branch name
std::string m_numOfReg3ThetaBinsBranchName
numOfReg3ThetaBins branch name
std::vector< std::string > m_inputFileNames
Input file name.
void importDigitEnergyCalibration()
Import ECL energy calibration constants to the database.
ECLDatabaseImporter(std::vector< std::string > inputFileNames, const std::string &m_name)
Constructor.
std::string m_hReg2ThetaBranchName
hReg2Theta branch name
std::string m_numOfEnergyBinsBranchName
numOfEnergyBins branch name
Abstract base class for different kinds of events.
std::string m_hReg1ThetaBranchName
hReg1Theta branch name
std::string m_numOfReg1ThetaBinsBranchName
numOfReg1ThetaBins branch name
void importDigitTimeCalibration()
Import ECL time calibration constants to the database.
std::string m_correctionFactorBranchName
correctionFactor branch name
void importTrackClusterMatchingParameterizations()
Import parameterizations for the RMS between tracks and ECL clusters to the database.
std::string m_lReg3ThetaBranchName
lReg3Theta branch name
std::string m_thetaBinNumBranchName
thetaBinNum branch name
std::string m_name
Database object (output) file name.
std::string m_numOfReg2ThetaBinsBranchName
numOfReg2ThetaBins branch name
std::string m_avgRecEnBranchName
avgRecEn branch name
std::string m_phiPeriodicityBranchName
phiPeriodicity branch name
std::string m_hReg3ThetaBranchName
hReg3Theta branch name
std::string m_lReg2ThetaBranchName
lReg2Theta branch name
std::string m_energyBinNumBranchName
energyBinNum branch name
void importTrackClusterMatchingThresholds()
Import threshold values for track ECL cluster matching to the database.
void importShowerShapesSecondMomentCorrections()
Import ECL shower shape corrections to second moment to the database.
const int m_numAvgRecEnEntries
Number of entries in avgRecEn array.
rootClass getRootObjectFromFile(TFile *file, const std::string &rootObjName) const
Extract a root object rootObjName from a root file file.