Belle II Software development
|
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. | |
void | importTimeWindow (KLMTimeWindow *timeWindow) |
Import KLM time window parameters. | |
void | loadStripEfficiency (KLMStripEfficiency *stripEfficiency, std::string fileName) |
Load strip efficiencies. | |
void | importStripEfficiency (const KLMStripEfficiency *stripEfficiency) |
Import strip efficiencies. | |
void | importAlignment (const BKLMAlignment *bklmAlignment, const EKLMAlignment *eklmAlignment, const EKLMSegmentAlignment *eklmSegmentAlignment, bool displacement=false) |
Import alignment. | |
Private Member Functions | |
void | importBKLMAlignment (const BKLMAlignment *bklmAlignment, bool displacement=false) |
Import BKLM alignment. | |
void | importEKLMAlignment (const EKLMAlignment *eklmAlignment, bool displacement=false) |
Import EKLM alignment. | |
void | importEKLMSegmentAlignment (const EKLMSegmentAlignment *eklmSegmentAlignment, bool displacement=false) |
Import EKLM segment alignment. | |
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. | |
KLM database importer.
Definition at line 31 of file KLMDatabaseImporter.h.
~KLMDatabaseImporter | ( | ) |
void importAlignment | ( | const BKLMAlignment * | bklmAlignment, |
const EKLMAlignment * | eklmAlignment, | ||
const EKLMSegmentAlignment * | eklmSegmentAlignment, | ||
bool | displacement = false |
||
) |
Import alignment.
[in] | bklmAlignment | BKLM alignment. |
[in] | eklmAlignment | EKLM alignment. |
[in] | eklmSegmentAlignment | EKLM segment alignment. |
[in] | displacement | Import displacement payload. |
Definition at line 188 of file KLMDatabaseImporter.cc.
|
private |
Import BKLM alignment.
[in] | bklmAlignment | BKLM alignment. |
[in] | displacement | Import displacement payload. |
Definition at line 143 of file KLMDatabaseImporter.cc.
void importChannelStatus | ( | const KLMChannelStatus * | channelStatus | ) |
Import channel status.
Definition at line 43 of file KLMDatabaseImporter.cc.
|
private |
Import EKLM alignment.
[in] | eklmAlignment | EKLM alignment. |
[in] | displacement | Import displacement payload. |
Definition at line 158 of file KLMDatabaseImporter.cc.
|
private |
Import EKLM segment alignment.
[in] | eklmSegmentAlignment | EKLM segment alignment. |
[in] | displacement | Import displacement payload. |
Definition at line 173 of file KLMDatabaseImporter.cc.
void importReconstructionParameters | ( | const KLMReconstructionParameters * | digitizationParameters | ) |
Import reconstruction parameters.
Definition at line 53 of file KLMDatabaseImporter.cc.
void importScintillatorDigitizationParameters | ( | const KLMScintillatorDigitizationParameters * | digitizationParameters | ) |
Import scintillator simulation parameters.
Definition at line 63 of file KLMDatabaseImporter.cc.
void importStripEfficiency | ( | const KLMStripEfficiency * | stripEfficiency | ) |
Import strip efficiencies.
[in] | stripEfficiency | Strip efficiency. |
Definition at line 133 of file KLMDatabaseImporter.cc.
void importTimeConversion | ( | const KLMTimeConversion * | timeConversion | ) |
Import time conversion parameters.
[in] | timeConversion | Time conversion parameters. |
Definition at line 73 of file KLMDatabaseImporter.cc.
void importTimeWindow | ( | KLMTimeWindow * | timeWindow | ) |
Import KLM time window parameters.
[in] | timeWindow | Time window. |
Definition at line 83 of file KLMDatabaseImporter.cc.
void loadStripEfficiency | ( | KLMStripEfficiency * | stripEfficiency, |
std::string | fileName | ||
) |
Load strip efficiencies.
[out] | stripEfficiency | Strip efficiency. |
[in] | fileName | Name of the ROOT file containing the efficiencies. |
Definition at line 92 of file KLMDatabaseImporter.cc.
void setIOV | ( | int | experimentLow, |
int | runLow, | ||
int | experimentHigh, | ||
int | runHigh | ||
) |
Set interval of validity.
Definition at line 34 of file KLMDatabaseImporter.cc.
|
private |
High experiment.
Definition at line 143 of file KLMDatabaseImporter.h.
|
private |
Low experiment.
Definition at line 137 of file KLMDatabaseImporter.h.
|
private |
High run.
Definition at line 146 of file KLMDatabaseImporter.h.
|
private |
Low run.
Definition at line 140 of file KLMDatabaseImporter.h.