8 #ifndef QC_MODULE_MUONCHAMBERS_PHYSICSTASKPRECLUSTERS_H 9 #define QC_MODULE_MUONCHAMBERS_PHYSICSTASKPRECLUSTERS_H 15 #include "MCH/GlobalHistogram.h" 16 #include "MCHBase/Digit.h" 17 #include "MCHBase/PreCluster.h" 21 namespace quality_control_modules
23 namespace muonchambers
38 void initialize(o2::framework::InitContext& ctx)
override;
40 void startOfCycle()
override;
41 void monitorData(o2::framework::ProcessingContext& ctx)
override;
42 void endOfCycle()
override;
44 void reset()
override;
46 bool plotPrecluster(
const o2::mch::PreCluster& preCluster, gsl::span<const o2::mch::Digit> digits);
47 void printPreclusters(gsl::span<const o2::mch::PreCluster> preClusters, gsl::span<const o2::mch::Digit> digits);
50 double MeanPseudoeffDE[1100];
51 double MeanPseudoeffDECycle[1100];
53 double LastPreclBNBDE[1100];
54 double NewPreclBNBDE[1100];
55 double LastPreclNumDE[1100];
56 double NewPreclNumDE[1100];
58 std::vector<std::unique_ptr<mch::Digit>> digits;
61 TH1F* mMeanPseudoeffPerDE;
62 TH1F* mMeanPseudoeffPerDECycle;
64 std::map<int, TH1F*> mHistogramClchgDE;
65 std::map<int, TH1F*> mHistogramClchgDEOnCycle;
66 std::map<int, TH1F*> mHistogramClsizeDE;
68 std::map<int, TH2F*> mHistogramPreclustersXY[4];
69 std::map<int, TH2F*> mHistogramPseudoeffXY[3];
78 #endif // QC_MODULE_MUONCHAMBERS_PHYSICSDATAPROCESSOR_H
Quality Control Task for the analysis of MCH physics data.
Definition: PhysicsTaskPreclusters.h:29
Skeleton of a QC task.
Definition: TaskInterface.h:53
Definition: GlobalHistogram.h:21
~PhysicsTaskPreclusters() override
Destructor.
Definition: PhysicsTaskPreclusters.cxx:41
Dummy class that should be removed when there is the official one. This corresponds to a Run1/2 "run"...
Definition: Activity.h:25
PhysicsTaskPreclusters()
Constructor.
Definition: PhysicsTaskPreclusters.cxx:39