PandaRoot
PndMvdStripQATask.h
Go to the documentation of this file.
1 
11 #ifndef PndMvdStripQATask_H
12 #define PndMvdStripQATask_H
13 
14 // #pragma once
15 
16 // framework includes
17 #include "PndSdsHit.h"
18 #include "PndGeoHandling.h"
19 #include "PndFairHitQATask.h"
20 
21 #include <array>
22 
24  public:
27 
29  virtual ~PndMvdStripQATask();
30 
32  virtual void SetParContainers() override;
33 
34  protected:
35  std::array<Double_t, 6> DoubleGaussFit(TH1 *);
36  virtual void InitHistos() override;
37  virtual void SetAllBoundaries() override;
38  virtual void CalculateResolutions(FairHit *fairhit) override;
39  virtual void FillHistos() override;
40  virtual void AssignMeasurements() override;
41 
42  private:
43  PndGeoHandling *fGeoH = nullptr;
44 
45  double fEnergyDifference = 0.;
46  int fClusterSize = 0;
47 
48  ClassDef(PndMvdStripQATask, 1);
49 };
50 
51 #endif
std::array< Double_t, 6 > DoubleGaussFit(TH1 *)
virtual void InitHistos() override
Initialize the histograms containing the measurement data in the histogram map.
Class to access the naming information of the MVD.
Base class to tests reconstructed hits based on FairHits for the PANDA QA tasks This class calculate...
virtual ~PndMvdStripQATask()
virtual void SetAllBoundaries() override
Set the name and the boundaries for a measurement to pass.
virtual void SetParContainers() override
virtual void FillHistos() override
Fill the output of CalculateResolutions into the corresponding histograms.
virtual void AssignMeasurements() override
Extract the measurement values from the histograms like mean or RMS values and assign them to the mea...
virtual void CalculateResolutions(FairHit *fairhit) override
Calculate the resolution of a FairHit based on the MC data from a FairMCPoint.