17 #ifndef QC_MODULE_TOF_TASKCOMPRESSEDDATA_H 18 #define QC_MODULE_TOF_TASKCOMPRESSEDDATA_H 21 #include "TOFReconstruction/DecoderBase.h" 22 #include "DataFormatsTOF/CompressedDataFormat.h" 51 std::map<std::string, std::shared_ptr<TH1>>
mHistos;
56 void initHistograms();
59 void resetHistograms();
62 std::shared_ptr<TH1F> mHits;
65 std::shared_ptr<TH1F>
mTOT;
78 void rdhHandler(
const o2::header::RAWDataHeader* rdh)
override;
79 void headerHandler(
const CrateHeader_t* crateHeader,
const CrateOrbit_t* crateOrbit)
override;
80 void frameHandler(
const CrateHeader_t* crateHeader,
const CrateOrbit_t* crateOrbit,
81 const FrameHeader_t* frameHeader,
const PackedHit_t* packedHits)
override;
82 void trailerHandler(
const CrateHeader_t* crateHeader,
const CrateOrbit_t* crateOrbit,
83 const CrateTrailer_t* crateTrailer,
const Diagnostic_t* diagnostics,
84 const Error_t* errors)
override;
98 void initialize(o2::framework::InitContext& ctx)
override;
99 void startOfActivity(
Activity& activity)
override;
100 void startOfCycle()
override;
101 void monitorData(o2::framework::ProcessingContext& ctx)
override;
102 void endOfCycle()
override;
103 void endOfActivity(
Activity& activity)
override;
104 void reset()
override;
112 #endif // QC_MODULE_TOF_TASKCOMPRESSEDDATA_H TOF Quality Control DPL Task for TOF Compressed data.
Definition: TaskCompressedData.h:89
std::map< std::string, std::shared_ptr< TH1 > > mHistos
Histograms to fill.
Definition: TaskCompressedData.h:51
std::shared_ptr< TH2F > mSlotPartMask
Index in electronic.
Definition: TaskCompressedData.h:67
std::shared_ptr< TH1F > mNErrors
Diagnostic words.
Definition: TaskCompressedData.h:69
std::shared_ptr< TH1F > mTOT
Time in Bunch Crossing.
Definition: TaskCompressedData.h:65
std::shared_ptr< TH1F > mIndexE
Time-Over-Threshold.
Definition: TaskCompressedData.h:66
std::shared_ptr< TH2F > mOrbitID
Tests in slot and TDC.
Definition: TaskCompressedData.h:74
std::shared_ptr< TH2F > mDiagnostic
Participating slot.
Definition: TaskCompressedData.h:68
TOF Quality Control class for Decoding Compressed data for TOF Compressed data QC Task...
Definition: TaskCompressedData.h:39
Skeleton of a QC task.
Definition: TaskInterface.h:53
std::shared_ptr< TH2F > mTest
Number of tests.
Definition: TaskCompressedData.h:73
std::shared_ptr< TH1F > mErrorBits
Number of errors.
Definition: TaskCompressedData.h:70
std::shared_ptr< TH1F > mNTests
Errors in slot and TDC.
Definition: TaskCompressedData.h:72
std::shared_ptr< TH1F > mTime
Number of TOF hits.
Definition: TaskCompressedData.h:63
Dummy class that should be removed when there is the official one. This corresponds to a Run1/2 "run"...
Definition: Activity.h:25
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19
std::shared_ptr< TH2F > mError
Bits of errors.
Definition: TaskCompressedData.h:71
std::shared_ptr< TH1F > mTimeBC
Time.
Definition: TaskCompressedData.h:64