PandaRoot
PndFtofRecoQATask.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
23 #ifndef PNDFTOFREOCQATASK_H
24 #define PNDFTOFREOCQATASK_H
25 
26 // Root includes
27 #include "TVector3.h"
28 #include "TString.h"
29 #include "TGeoManager.h"
30 #include "TH1.h"
31 #include "TH2D.h"
32 
33 // framework includes
35 #include "PndFairHitQATask.h"
36 
37 #include "FairHit.h"
38 #include "FairLogger.h"
39 
40 #include <map>
41 
42 class TClonesArray;
43 
45  public:
48 
50  virtual ~PndFtofRecoQATask();
51 
52  protected:
53  virtual void InitHistos() override;
54  virtual void SetAllBoundaries() override;
55  virtual void CalculateResolutions(FairHit *fairhit) override;
56  virtual void FillHistos() override;
57  virtual void AssignMeasurements() override;
58 
60 };
61 
62 #endif
QA tests of reconstructed Ftof Hits The class calculates the resolution in x,y.z and t in the global...
virtual void InitHistos() override
Initialize the histograms containing the measurement data in the histogram map.
ClassDef(PndFtofRecoQATask, 2)
virtual void AssignMeasurements() override
Extract the measurement values from the histograms like mean or RMS values and assign them to the mea...
Base class to tests reconstructed hits based on FairHits for the PANDA QA tasks This class calculate...
virtual ~PndFtofRecoQATask()
virtual void FillHistos() override
Fill the output of CalculateResolutions into the corresponding histograms.
virtual void CalculateResolutions(FairHit *fairhit) override
Calculate the resolution of a FairHit based on the MC data from a FairMCPoint.
virtual void SetAllBoundaries() override
Set the name and the boundaries for a measurement to pass.