Coverter task for Raw data to CTP digits.
More...
#include <RawDecoderSpec.h>
Inherits o2::framework::Task, and o2::framework::Task.
|
| | RawDecoderSpec (bool digits, bool lumi) |
| | Constructor.
|
| |
| | ~RawDecoderSpec () override=default |
| | Destructor.
|
| |
| void | init (framework::InitContext &ctx) final |
| | Initializing the RawDecoderSpec.
|
| |
| void | endOfStream (o2::framework::EndOfStreamContext &ec) final |
| | This is invoked whenever we have an EndOfStream event.
|
| |
| void | run (framework::ProcessingContext &ctx) final |
| | Run conversion of raw data to cells.
|
| |
| void | updateTimeDependentParams (framework::ProcessingContext &pc) |
| |
| | RawDecoderSpec (bool digits, bool lumi) |
| | Constructor.
|
| |
| | ~RawDecoderSpec () override=default |
| | Destructor.
|
| |
| void | init (framework::InitContext &ctx) final |
| | Initializing the RawDecoderSpec.
|
| |
| void | endOfStream (o2::framework::EndOfStreamContext &ec) final |
| | This is invoked whenever we have an EndOfStream event.
|
| |
| void | run (framework::ProcessingContext &ctx) final |
| | Run conversion of raw data to cells.
|
| |
| void | updateTimeDependentParams (framework::ProcessingContext &pc) |
| |
| void | computeLumiPerBC (const o2::pmr::vector< CTPDigit > &ctpdigits, uint32_t firstOrbit, uint32_t orbitsPerTF) |
| | Compute per BC luminosity from the interaction counts from CTP digits.
|
| |
| void | integrateLumi (const std::array< double, o2::constants::lhc::LHCMaxBunches > &tfCounts1, const std::array< double, o2::constants::lhc::LHCMaxBunches > &tfCounts2, int64_t unixTime, uint32_t nOrbitsThisTF) |
| | Integrate luminosity per BC over multiple time frames.
|
| |
| void | writeMassiLinePerBC (int bc, int64_t unixTime, double lumi, double lumiErr, double correctedRate, double correctedLumi, double mu) |
| |
| void | writeMassiLineLumi (int64_t unixTime, double lumi, double lumiErr) |
| |
| int64_t | unixTimeForOrbitStart (uint32_t orbit) const |
| |
| int | yearFromUnixTime (int64_t unixTime) const |
| |
| void | fetchRunInfo (int runNumber) |
| |
| virtual | ~Task () |
| |
| virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) |
| |
| virtual void | stop () |
| | This is invoked on stop.
|
| |
Coverter task for Raw data to CTP digits.
- Author
- Roman Lietava from CPV example
Definition at line 35 of file RawDecoderSpec.h.
◆ RawDecoderSpec() [1/2]
| o2::ctp::reco_workflow::RawDecoderSpec::RawDecoderSpec |
( |
bool |
digits, |
|
|
bool |
lumi |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| propagateMC | If true the MCTruthContainer is propagated to the output |
Definition at line 40 of file RawDecoderSpec.h.
◆ ~RawDecoderSpec() [1/2]
| o2::ctp::reco_workflow::RawDecoderSpec::~RawDecoderSpec |
( |
| ) |
|
|
overridedefault |
◆ RawDecoderSpec() [2/2]
| o2::ctp::reco_workflow::RawDecoderSpec::RawDecoderSpec |
( |
bool |
digits, |
|
|
bool |
lumi |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| propagateMC | If true the MCTruthContainer is propagated to the output |
Definition at line 41 of file RawDecoderSpec.h.
◆ ~RawDecoderSpec() [2/2]
| o2::ctp::reco_workflow::RawDecoderSpec::~RawDecoderSpec |
( |
| ) |
|
|
overridedefault |
◆ computeLumiPerBC()
Compute per BC luminosity from the interaction counts from CTP digits.
- Parameters
-
| ctpdigits | Vector of CTP digits to be processed |
- Returns
- Array of luminosity values for each BC
Definition at line 308 of file RawDecoderSpec.cxx.
◆ endOfStream() [1/2]
◆ endOfStream() [2/2]
◆ fetchRunInfo()
| void RawDecoderSpec::fetchRunInfo |
( |
int |
runNumber | ) |
|
◆ init() [1/2]
◆ init() [2/2]
◆ integrateLumi()
| void RawDecoderSpec::integrateLumi |
( |
const std::array< double, o2::constants::lhc::LHCMaxBunches > & |
tfCounts1, |
|
|
const std::array< double, o2::constants::lhc::LHCMaxBunches > & |
tfCounts2, |
|
|
int64_t |
unixTime, |
|
|
uint32_t |
nOrbitsThisTF |
|
) |
| |
Integrate luminosity per BC over multiple time frames.
- Parameters
-
| perInterval | Array of luminosity values for each BC for a given time interval |
Definition at line 351 of file RawDecoderSpec.cxx.
◆ run() [1/2]
Run conversion of raw data to cells.
- Parameters
-
The following branches are linked: Input RawData: {"ROUT", "RAWDATA", 0, Lifetime::Timeframe} Output HW errors: {"CTP", "RAWHWERRORS", 0, Lifetime::Timeframe} -later
Implements o2::framework::Task.
Definition at line 105 of file RawDecoderSpec.cxx.
◆ run() [2/2]
Run conversion of raw data to cells.
- Parameters
-
The following branches are linked: Input RawData: {"ROUT", "RAWDATA", 0, Lifetime::Timeframe} Output HW errors: {"CTP", "RAWHWERRORS", 0, Lifetime::Timeframe} -later
Implements o2::framework::Task.
◆ unixTimeForOrbitStart()
| int64_t RawDecoderSpec::unixTimeForOrbitStart |
( |
uint32_t |
orbit | ) |
const |
◆ updateTimeDependentParams() [1/2]
◆ updateTimeDependentParams() [2/2]
◆ writeMassiLineLumi()
| void RawDecoderSpec::writeMassiLineLumi |
( |
int64_t |
unixTime, |
|
|
double |
lumi, |
|
|
double |
lumiErr |
|
) |
| |
◆ writeMassiLinePerBC()
| void RawDecoderSpec::writeMassiLinePerBC |
( |
int |
bc, |
|
|
int64_t |
unixTime, |
|
|
double |
lumi, |
|
|
double |
lumiErr, |
|
|
double |
correctedRate, |
|
|
double |
correctedLumi, |
|
|
double |
mu |
|
) |
| |
◆ yearFromUnixTime()
| int RawDecoderSpec::yearFromUnixTime |
( |
int64_t |
unixTime | ) |
const |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/CTP/workflow/include/CTPWorkflow/RawDecoderSpec.h
- /home/runner/work/AliceO2/AliceO2/Detectors/CTP/workflowLumi/include/CTPWorkflowLumi/RawDecoderSpec.h
- /home/runner/work/AliceO2/AliceO2/Detectors/CTP/workflow/src/RawDecoderSpec.cxx
- /home/runner/work/AliceO2/AliceO2/Detectors/CTP/workflowLumi/src/RawDecoderSpec.cxx