![]() |
Diana Software
|
Use calibration coefficients and stabilized amplitudes to compute energy. More...
Public Member Functions | |
| ~MApplyCalibration () | |
| destructor More... | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev) |
| Do method. More... | |
| void | Done () |
| Done method. More... | |
Private Attributes | |
| int | fDataset |
| Dataset number. More... | |
| std::set< int > | fChannels |
| std::string | fInput |
| Calibration parameters input (file or DB) More... | |
| Diana::QEventLabel | fAmplitudeLabel |
| Label of the amplitude to be calibrated. More... | |
| std::set< int > | fBlackList |
Use calibration coefficients and stabilized amplitudes to compute energy.
Use calibration coefficients to compute energy and store in event.
module ApplyCalibration verbosity = info enable = true CalCoefficientsOwner = CalCoefficients ParametersInput = Calibration.txt AmplitudeLabel = CorrectAmplitudes@Amplitude EnableBlinding = false endmod
Definition at line 49 of file MApplyCalibration.hh.
| MApplyCalibration::~MApplyCalibration | ( | ) |
destructor
Definition at line 18 of file MApplyCalibration.cc.
| void MApplyCalibration::Do | ( | Diana::QEvent & | ev | ) |
Do method.
Definition at line 46 of file MApplyCalibration.cc.
References amp, channel, QCalibrationParameters::fFunction, QGlobalLabel::fName, QGlobalLabel::fOwner, QEvent::Get(), QEvent::GetByLabel(), QPulseInfo::GetChannelId(), QCalibrationParametersHandle::GetStabLabel(), and QGlobalLabel::GetStringLabel().
| void MApplyCalibration::Done | ( | ) |
Done method.
Definition at line 126 of file MApplyCalibration.cc.
| void MApplyCalibration::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 23 of file MApplyCalibration.cc.
References QEvent::Add(), QEvent::Require(), and QEvent::RequireByLabel().
|
private |
Label of the amplitude to be calibrated.
Definition at line 74 of file MApplyCalibration.hh.
|
private |
Definition at line 76 of file MApplyCalibration.hh.
|
private |
Definition at line 68 of file MApplyCalibration.hh.
|
private |
Dataset number.
Definition at line 66 of file MApplyCalibration.hh.
|
private |
Calibration parameters input (file or DB)
Definition at line 71 of file MApplyCalibration.hh.