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

KLM database importer. More...

#include <KLMDatabaseImporter.h>

Public Member Functions

 KLMDatabaseImporter ()
 Constructor.
 
 ~KLMDatabaseImporter ()
 Destructor.
 
void setIOV (int experimentLow, int runLow, int experimentHigh, int runHigh)
 Set interval of validity.
 
void importChannelStatus (const KLMChannelStatus *channelStatus)
 Import channel status.
 
void importReconstructionParameters (const KLMReconstructionParameters *digitizationParameters)
 Import reconstruction parameters.
 
void importScintillatorDigitizationParameters (const KLMScintillatorDigitizationParameters *digitizationParameters)
 Import scintillator simulation parameters.
 
void importTimeConversion (const KLMTimeConversion *timeConversion)
 Import time conversion parameters. More...
 
void importTimeWindow (KLMTimeWindow *timeWindow)
 Import KLM time window parameters. More...
 
void loadStripEfficiency (KLMStripEfficiency *stripEfficiency, std::string fileName)
 Load strip efficiencies. More...
 
void importStripEfficiency (const KLMStripEfficiency *stripEfficiency)
 Import strip efficiencies. More...
 
void importAlignment (const BKLMAlignment *bklmAlignment, const EKLMAlignment *eklmAlignment, const EKLMSegmentAlignment *eklmSegmentAlignment, bool displacement=false)
 Import alignment. More...
 

Private Member Functions

void importBKLMAlignment (const BKLMAlignment *bklmAlignment, bool displacement=false)
 Import BKLM alignment. More...
 
void importEKLMAlignment (const EKLMAlignment *eklmAlignment, bool displacement=false)
 Import EKLM alignment. More...
 
void importEKLMSegmentAlignment (const EKLMSegmentAlignment *eklmSegmentAlignment, bool displacement=false)
 Import EKLM segment alignment. More...
 

Private Attributes

int m_ExperimentLow = 0
 Low experiment.
 
int m_RunLow = 0
 Low run.
 
int m_ExperimentHigh = -1
 High experiment.
 
int m_RunHigh = -1
 High run.
 

Detailed Description

KLM database importer.

Definition at line 31 of file KLMDatabaseImporter.h.

Member Function Documentation

◆ importAlignment()

void importAlignment ( const BKLMAlignment bklmAlignment,
const EKLMAlignment eklmAlignment,
const EKLMSegmentAlignment eklmSegmentAlignment,
bool  displacement = false 
)

Import alignment.

Parameters
[in]bklmAlignmentBKLM alignment.
[in]eklmAlignmentEKLM alignment.
[in]eklmSegmentAlignmentEKLM segment alignment.
[in]displacementImport displacement payload.

Definition at line 188 of file KLMDatabaseImporter.cc.

191 {
192  importBKLMAlignment(bklmAlignment, displacement);
193  importEKLMAlignment(eklmAlignment, displacement);
194  importEKLMSegmentAlignment(eklmSegmentAlignment, displacement);
195 }
void importEKLMSegmentAlignment(const EKLMSegmentAlignment *eklmSegmentAlignment, bool displacement=false)
Import EKLM segment alignment.
void importEKLMAlignment(const EKLMAlignment *eklmAlignment, bool displacement=false)
Import EKLM alignment.
void importBKLMAlignment(const BKLMAlignment *bklmAlignment, bool displacement=false)
Import BKLM alignment.

◆ importBKLMAlignment()

void importBKLMAlignment ( const BKLMAlignment bklmAlignment,
bool  displacement = false 
)
private

Import BKLM alignment.

Parameters
[in]bklmAlignmentBKLM alignment.
[in]displacementImport displacement payload.

Definition at line 143 of file KLMDatabaseImporter.cc.

◆ importEKLMAlignment()

void importEKLMAlignment ( const EKLMAlignment eklmAlignment,
bool  displacement = false 
)
private

Import EKLM alignment.

Parameters
[in]eklmAlignmentEKLM alignment.
[in]displacementImport displacement payload.

Definition at line 158 of file KLMDatabaseImporter.cc.

◆ importEKLMSegmentAlignment()

void importEKLMSegmentAlignment ( const EKLMSegmentAlignment eklmSegmentAlignment,
bool  displacement = false 
)
private

Import EKLM segment alignment.

Parameters
[in]eklmSegmentAlignmentEKLM segment alignment.
[in]displacementImport displacement payload.

Definition at line 173 of file KLMDatabaseImporter.cc.

◆ importStripEfficiency()

void importStripEfficiency ( const KLMStripEfficiency stripEfficiency)

Import strip efficiencies.

Parameters
[in]stripEfficiencyStrip efficiency.

Definition at line 133 of file KLMDatabaseImporter.cc.

◆ importTimeConversion()

void importTimeConversion ( const KLMTimeConversion timeConversion)

Import time conversion parameters.

Parameters
[in]timeConversionTime conversion parameters.

Definition at line 73 of file KLMDatabaseImporter.cc.

◆ importTimeWindow()

void importTimeWindow ( KLMTimeWindow timeWindow)

Import KLM time window parameters.

Parameters
[in]timeWindowTime window.

Definition at line 83 of file KLMDatabaseImporter.cc.

◆ loadStripEfficiency()

void loadStripEfficiency ( KLMStripEfficiency stripEfficiency,
std::string  fileName 
)

Load strip efficiencies.

Parameters
[out]stripEfficiencyStrip efficiency.
[in]fileNameName of the ROOT file containing the efficiencies.

Definition at line 92 of file KLMDatabaseImporter.cc.


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