6 #ifndef QC_MODULE_MUONCHAMBERS_PEDESTALSTASK_H 7 #define QC_MODULE_MUONCHAMBERS_PEDESTALSTASK_H 10 #include "MCH/Mapping.h" 12 #include "MCHBase/Digit.h" 13 #include "MCH/GlobalHistogram.h" 14 #include "Framework/DataRef.h" 36 void initialize(o2::framework::InitContext& ctx)
override;
37 void startOfActivity(
Activity& activity)
override;
38 void startOfCycle()
override;
39 void monitorDataReadout(o2::framework::ProcessingContext& ctx);
40 void monitorDataDigits(
const o2::framework::DataRef& input);
41 void monitorData(o2::framework::ProcessingContext& ctx)
override;
42 void endOfCycle()
override;
43 void endOfActivity(
Activity& activity)
override;
44 void reset()
override;
48 uint64_t nhits[MCH_MAX_CRU_IN_FLP][24][40][64];
49 double pedestal[MCH_MAX_CRU_IN_FLP][24][40][64];
50 double noise[MCH_MAX_CRU_IN_FLP][24][40][64];
54 uint64_t nhitsDigits[1100][1500];
55 double pedestalDigits[1100][1500];
56 double noiseDigits[1100][1500];
58 MapCRU mMapCRU[MCH_MAX_CRU_IN_FLP];
59 TH2F* mHistogramPedestals;
60 TH2F* mHistogramNoise;
64 std::map<int, TH2F*> mHistogramPedestalsDE;
65 std::map<int, TH2F*> mHistogramNoiseDE;
66 std::map<int, TH2F*> mHistogramPedestalsXY[2];
67 std::map<int, TH2F*> mHistogramNoiseXY[2];
69 std::map<int, TH1F*> mHistogramNoiseDistributionDE[5][2];
76 void fill_noise_distributions();
77 void save_histograms();
82 #endif // QC_MODULE_MUONCHAMBERS_PEDESTALSTASK_H Quality Control Task for the analysis of MCH pedestal data.
Definition: PedestalsTask.h:27
Definition: Decoding.h:20
Skeleton of a QC task.
Definition: TaskInterface.h:53
Definition: GlobalHistogram.h:21
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
decoding of MCH data
Definition: Decoding.h:71