PandaRoot
PndSciTRecoQATask Class Reference

QA tests of reconstructed SciT Hits The class calculates the resolution in x,y.z and t in the local coordinate system of the SciT sensor and compares it with the MC values. The results are checked to be within given boundaries. More...

#include <PndSciTRecoQATask.h>

Inheritance diagram for PndSciTRecoQATask:
PndFairHitQATask PndPersistencyTask

Public Member Functions

 PndSciTRecoQATask ()
 
 ~PndSciTRecoQATask ()
 
void SetParContainers () override
 
- Public Member Functions inherited from PndFairHitQATask
 PndFairHitQATask (std::string hitBranchName, std::string pointBranchName)
 
virtual ~PndFairHitQATask ()
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishTask ()
 
void SetWorkdir (TString path)
 only needed to give cdash the path to the stored pictures More...
 
void SetHitBranch (std::string hitBranch)
 
void SetPointBranch (std::string pointBranch)
 
void SetOutputPlotName (std::string val)
 
- Public Member Functions inherited from PndPersistencyTask
 PndPersistencyTask ()
 
 PndPersistencyTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndPersistencyTask ()
 
void SetPersistency (Bool_t val=kTRUE)
 
Bool_t GetPersistency ()
 

Protected Member Functions

virtual void InitHistos () override
 Initialize the histograms containing the measurement data in the histogram map. More...
 
virtual void SetAllBoundaries () override
 Set the name and the boundaries for a measurement to pass. More...
 
virtual void CalculateResolutions (FairHit *fairhit) override
 Calculate the resolution of a FairHit based on the MC data from a FairMCPoint. More...
 
virtual void FillHistos () override
 Fill the output of CalculateResolutions into the corresponding histograms. More...
 
virtual void AssignMeasurements () override
 Extract the measurement values from the histograms like mean or RMS values and assign them to the measurement defined in SetAllBoundaries. More...
 
- Protected Member Functions inherited from PndFairHitQATask
bool Test ()
 
void DrawHistos ()
 
void SaveHistos ()
 
void PrintDartMeasurement ()
 
 ClassDef (PndFairHitQATask, 2)
 

Additional Inherited Members

- Protected Attributes inherited from PndFairHitQATask
std::string fHitBranchName
 
std::string fPointBranchName
 
std::string fOutputPlotName {"ResolutionHistos.png"}
 
TClonesArray * fMcPoints = nullptr
 
TClonesArray * fHits = nullptr
 
Bool_t fProperDifference = false
 if method CalculateResolutions worked More...
 
TVector3 fSpatialDifference
 
double fTimeDifference = -1.0
 
TString fWorkdir
 
PndMeasurementBoundaries fBoundaries
 
std::map< std::string, TH1 * > fHistos
 

Detailed Description

QA tests of reconstructed SciT Hits The class calculates the resolution in x,y.z and t in the local coordinate system of the SciT sensor and compares it with the MC values. The results are checked to be within given boundaries.

Author
Tobias Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de
Date
23.11.2022

Definition at line 19 of file PndSciTRecoQATask.h.

Constructor & Destructor Documentation

◆ PndSciTRecoQATask()

PndSciTRecoQATask::PndSciTRecoQATask ( )

Default constructor

◆ ~PndSciTRecoQATask()

PndSciTRecoQATask::~PndSciTRecoQATask ( )

Member Function Documentation

◆ AssignMeasurements()

virtual void PndSciTRecoQATask::AssignMeasurements ( )
overrideprotectedvirtual

Extract the measurement values from the histograms like mean or RMS values and assign them to the measurement defined in SetAllBoundaries.

Reimplemented from PndFairHitQATask.

◆ CalculateResolutions()

virtual void PndSciTRecoQATask::CalculateResolutions ( FairHit *  hit)
overrideprotectedvirtual

Calculate the resolution of a FairHit based on the MC data from a FairMCPoint.

Reimplemented from PndFairHitQATask.

◆ FillHistos()

virtual void PndSciTRecoQATask::FillHistos ( )
overrideprotectedvirtual

Fill the output of CalculateResolutions into the corresponding histograms.

Reimplemented from PndFairHitQATask.

◆ InitHistos()

virtual void PndSciTRecoQATask::InitHistos ( )
overrideprotectedvirtual

Initialize the histograms containing the measurement data in the histogram map.

Reimplemented from PndFairHitQATask.

◆ SetAllBoundaries()

virtual void PndSciTRecoQATask::SetAllBoundaries ( )
overrideprotectedvirtual

Set the name and the boundaries for a measurement to pass.

Reimplemented from PndFairHitQATask.

◆ SetParContainers()

void PndSciTRecoQATask::SetParContainers ( )
overridevirtual

Virtual method Init

Reimplemented from PndFairHitQATask.


The documentation for this class was generated from the following file: