19 #ifndef QC_MODULE_TOF_TASKDIAGNOSTICS_H 20 #define QC_MODULE_TOF_TASKDIAGNOSTICS_H 23 #include "TOFReconstruction/DecoderBase.h" 24 #include "DataFormatsTOF/CompressedDataFormat.h" 41 static const char* RDHDiagnosticName[2] = {
"RDH_HAS_DATA",
"" };
58 static const int ncrates = 72;
59 static const int ntrms = 10;
60 static const int ntrmschains = 2;
68 void rdhHandler(
const o2::header::RAWDataHeader* )
override{};
69 void headerHandler(
const CrateHeader_t* crateHeader,
const CrateOrbit_t* crateOrbit)
override;
70 void frameHandler(
const CrateHeader_t* ,
const CrateOrbit_t* ,
71 const FrameHeader_t* ,
const PackedHit_t* )
override{};
72 void trailerHandler(
const CrateHeader_t* crateHeader,
const CrateOrbit_t* crateOrbit,
73 const CrateTrailer_t* crateTrailer,
const Diagnostic_t* diagnostics,
74 const Error_t* errors)
override;
89 void initialize(o2::framework::InitContext& ctx)
override;
90 void startOfActivity(
Activity& activity)
override;
91 void startOfCycle()
override;
92 void monitorData(o2::framework::ProcessingContext& ctx)
override;
93 void endOfCycle()
override;
94 void endOfActivity(
Activity& activity)
override;
95 void reset()
override;
99 std::shared_ptr<TH2F> mRDHHisto;
100 std::shared_ptr<TH2F> mDRMHisto;
101 std::shared_ptr<TH2F> mLTMHisto;
102 std::shared_ptr<TH2F> mTRMHisto[DiagnosticsCounter::ntrms];
109 #endif // QC_MODULE_TOF_TASKDIAGNOSTICS_H
TOF Quality Control class for Decoding Compressed data for TOF Compressed data QC Task...
Definition: TaskDiagnostics.h:45
Skeleton of a QC task.
Definition: TaskInterface.h:53
Utilities to count events and fill histograms at the end of the main processing loops.
TOF Quality Control DPL Task for TOF Compressed data.
Definition: TaskDiagnostics.h:79
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