31namespace reco_workflow
45 mIsUsingGainCalibration(useGainCalibration),
46 mIsUsingBadMap(useBadChannelMap),
47 mIsPedestalData(isPedestal){};
75 bool mIsUsingGainCalibration;
81 std::vector<Digit> mOutputDigits;
82 std::vector<TriggerRecord> mOutputTriggerRecords;
83 std::vector<RawDecoderError> mOutputHWErrors;
84 bool mIsMuteDecoderErrors =
false;
85 int mDecoderErrorsCounterWhenMuted = 0;
86 int mDecoderErrorsPerMinute = 0;
87 int mMinutesPassed = 0;
88 std::chrono::time_point<std::chrono::system_clock> mStartTime;
89 std::chrono::time_point<std::chrono::system_clock> mTimeWhenMuted;
96 bool isPedestal =
false,
97 bool useBadChannelMap =
true,
98 bool useGainCalibration =
true);
CCDB container for bad (masked) channels in CPV.
Coverter task for Raw data to CPV cells.
void finaliseCCDB(framework::ConcreteDataMatcher &matcher, void *obj) final
void init(framework::InitContext &ctx) final
Initializing the RawToDigitConverterSpec.
RawToDigitConverterSpec(bool isPedestal, bool useBadChannelMap, bool useGainCalibration)
Constructor.
~RawToDigitConverterSpec() override=default
Destructor.
void run(framework::ProcessingContext &ctx) final
Run conversion of raw data to cells.
char CheckHWAddress(short ddl, short hwAddress, short &fee)
simple check of HW address
o2::framework::DataProcessorSpec getRawToDigitConverterSpec(bool askDISTSTF=true, bool isPedestal=false, bool useBadChannelMap=true, bool useGainCalibration=true)
Creating DataProcessorSpec for the CPV Digit Converter Spec.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...