CbmRoot
|
Algo class for calibration. More...
#include <Calibrate.h>
Public Types | |
typedef std::pair< std::vector< CbmTofDigi >, CalibrateMonitorData > | resultType |
Public Member Functions | |
resultType | operator() (gsl::span< const CbmTofDigi > digiIn) |
Algorithm execution. | |
Calibrate (tof::CalibrateSetup params) | |
Constructor. | |
Private Attributes | |
tof::CalibrateSetup | fSetup |
Parameters for TOF calibrator. | |
std::vector< double > | mChannelDeadTime |
Storage for deadtime check. | |
std::vector< size_t > | smTypeOffset |
Offset of super module type. | |
std::vector< size_t > | smOffset |
Offset of super module. | |
std::vector< size_t > | rpcOffset |
Offset of RPC. | |
std::pair<std::vector<CbmTofDigi>, CalibrateMonitorData> cbm::algo::tof::Calibrate::resultType |
Definition at line 53 of file Calibrate.h.
|
explicit |
Constructor.
Definition at line 18 of file Calibrate.cxx.
References fSetup, mChannelDeadTime, cbm::algo::tof::CalibrateSetup::NbRpc, cbm::algo::tof::CalibrateSetup::NbSm, rpcOffset, cbm::algo::tof::CalibrateSetup::rpcs, smOffset, and smTypeOffset.
Calibrate::resultType cbm::algo::tof::Calibrate::operator() | ( | gsl::span< const CbmTofDigi > | digiIn | ) |
Algorithm execution.
digis | to calibrate |
Sort the buffers of hits due to the time offsets applied
Definition at line 38 of file Calibrate.cxx.
References cbm::algo::tof::CalibrateSetup::Rpc::channelDeadtime, cbm::algo::tof::CalibrateSetup::Rpc::chanPar, fSetup, CbmTofDigi::GetTime(), CbmTofDigi::GetTot(), mChannelDeadTime, cbm::algo::tof::CalibrateSetup::NbRpc, cbm::algo::tof::CalibrateSetup::Rpc::numClWalkBinX, rpcOffset, cbm::algo::tof::CalibrateSetup::rpcs, CbmTofDigi::SetAddress(), CbmTofDigi::SetTime(), CbmTofDigi::SetTot(), smOffset, smTypeOffset, cbm::algo::tof::CalibrateSetup::Rpc::swapChannelSides, cbm::algo::tof::CalibrateSetup::Rpc::TOTMax, cbm::algo::tof::CalibrateSetup::Rpc::TOTMin, cbm::algo::tof::CalibrateSetup::Channel::vCPTOff, cbm::algo::tof::CalibrateSetup::Channel::vCPTotGain, cbm::algo::tof::CalibrateSetup::Channel::vCPTotOff, and cbm::algo::tof::CalibrateSetup::Channel::vCPWalk.
|
private |
Parameters for TOF calibrator.
Definition at line 68 of file Calibrate.h.
Referenced by Calibrate(), and operator()().
|
private |
Storage for deadtime check.
Definition at line 71 of file Calibrate.h.
Referenced by Calibrate(), and operator()().
|
private |
Offset of RPC.
Definition at line 80 of file Calibrate.h.
Referenced by Calibrate(), and operator()().
|
private |
Offset of super module.
Definition at line 77 of file Calibrate.h.
Referenced by Calibrate(), and operator()().
|
private |
Offset of super module type.
Definition at line 74 of file Calibrate.h.
Referenced by Calibrate(), and operator()().