Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::QAManager Class Reference

#include <QAManager.h>

Inheritance diagram for Hal::QAManager:

Public Types

enum class  ePidCut {
  kPionPlus , kPionMinus , kKaonPlus , kKaonMinus ,
  kProton , kAntiProton , kUnkown
}
 
enum class  eParticleType { kPrimaryOnly , kSecondaryOnly , kAll }
 
enum class  eFormatType { kSim , kReco , kComplex }
 
enum class  eAnaType { kDefault , kHbt }
 

Public Member Functions

ePidCut ToPid (Int_t i)
 
void UsePrimSecCut (Bool_t use)
 
void UsePidCut (Bool_t use)
 
Double_t GetEtaMin () const
 
Double_t GetEtaMax () const
 
Double_t GetPtMin () const
 
Double_t GetPtMax () const
 
Double_t GetDcaXY () const
 
Double_t GetDcaZMin () const
 
Double_t GetDcaZMax () const
 
Double_t GetPMax () const
 
virtual AnalysisManagerGetAna (TString outFile, TString simFile, TString recoFile="")
 
virtual EventGetFormat (eFormatType type, eAnaType ana=eAnaType::kDefault)
 
virtual void SetMcTrackCut (TrackAna *ana, ePidCut cut, eParticleType primary, TString flag="")
 
virtual void SetRecoTrackCut (TrackAna *ana, ePidCut cut, eParticleType primary, TString flag="")
 
virtual void SetEventCut (TrackAna *ana, Int_t col, TString flag="")
 
virtual void SetPairCut (TwoTrackAna *ana, ePidCut pid1, ePidCut pid2)
 

Protected Attributes

Double_t fEta [2] = {-1, 1}
 
Double_t fPt [2] = {0, 10}
 
Double_t fPMax = {10}
 
Double_t fDCAxy = {10}
 
Double_t fDCAz [2] = {-10, 10}
 
Bool_t fUsePrimSec = {kTRUE}
 
Bool_t fUsetPid = {kTRUE}
 

Detailed Description

basic class that might be used by nica macros, provides predefined format for given framework, predefined values of default cuts etc.

Definition at line 28 of file QAManager.h.

Member Enumeration Documentation

◆ eAnaType

enum class Hal::QAManager::eAnaType
strong

Definition at line 42 of file QAManager.h.

◆ eFormatType

enum class Hal::QAManager::eFormatType
strong

Definition at line 41 of file QAManager.h.

◆ eParticleType

enum class Hal::QAManager::eParticleType
strong

Definition at line 40 of file QAManager.h.

◆ ePidCut

enum class Hal::QAManager::ePidCut
strong

Definition at line 39 of file QAManager.h.

Constructor & Destructor Documentation

◆ QAManager()

Hal::QAManager::QAManager ( )
inline

Definition at line 43 of file QAManager.h.

◆ ~QAManager()

virtual Hal::QAManager::~QAManager ( )
inlinevirtual

Definition at line 75 of file QAManager.h.

Member Function Documentation

◆ GetAna()

AnalysisManager * Hal::QAManager::GetAna ( TString outFile,
TString simFile,
TString recoFile = "" )
virtual

Definition at line 67 of file QAManager.cxx.

◆ GetDcaXY()

Double_t Hal::QAManager::GetDcaXY ( ) const
inline

Definition at line 51 of file QAManager.h.

◆ GetDcaZMax()

Double_t Hal::QAManager::GetDcaZMax ( ) const
inline

Definition at line 53 of file QAManager.h.

◆ GetDcaZMin()

Double_t Hal::QAManager::GetDcaZMin ( ) const
inline

Definition at line 52 of file QAManager.h.

◆ GetEtaMax()

Double_t Hal::QAManager::GetEtaMax ( ) const
inline

Definition at line 48 of file QAManager.h.

◆ GetEtaMin()

Double_t Hal::QAManager::GetEtaMin ( ) const
inline

Definition at line 47 of file QAManager.h.

◆ GetFormat()

Event * Hal::QAManager::GetFormat ( eFormatType type,
eAnaType ana = eAnaType::kDefault )
virtual

Definition at line 61 of file QAManager.cxx.

◆ GetPMax()

Double_t Hal::QAManager::GetPMax ( ) const
inline

Definition at line 54 of file QAManager.h.

◆ GetPtMax()

Double_t Hal::QAManager::GetPtMax ( ) const
inline

Definition at line 50 of file QAManager.h.

◆ GetPtMin()

Double_t Hal::QAManager::GetPtMin ( ) const
inline

Definition at line 49 of file QAManager.h.

◆ SetEventCut()

void Hal::QAManager::SetEventCut ( TrackAna * ana,
Int_t col,
TString flag = "" )
virtual

Definition at line 65 of file QAManager.cxx.

◆ SetMcTrackCut()

void Hal::QAManager::SetMcTrackCut ( TrackAna * ana,
ePidCut cut,
eParticleType primary,
TString flag = "" )
virtual

set default cuts for MC tracks if no ovewriten the PDG cuts are used

Parameters
anaanalysis
cuttype of selection cryteria
primarytype of selected particles
flag

Definition at line 20 of file QAManager.cxx.

◆ SetPairCut()

void Hal::QAManager::SetPairCut ( TwoTrackAna * ana,
ePidCut pid1,
ePidCut pid2 )
virtual

Definition at line 76 of file QAManager.cxx.

◆ SetRecoTrackCut()

void Hal::QAManager::SetRecoTrackCut ( TrackAna * ana,
ePidCut cut,
eParticleType primary,
TString flag = "" )
virtual

set default cuts for reconstructed tracks

Parameters
ana
cut
col
flag

Definition at line 63 of file QAManager.cxx.

◆ ToPid()

QAManager::ePidCut Hal::QAManager::ToPid ( Int_t i)

Definition at line 78 of file QAManager.cxx.

◆ UsePidCut()

void Hal::QAManager::UsePidCut ( Bool_t use)
inline

Definition at line 46 of file QAManager.h.

◆ UsePrimSecCut()

void Hal::QAManager::UsePrimSecCut ( Bool_t use)
inline

Definition at line 45 of file QAManager.h.

Member Data Documentation

◆ fDCAxy

Double_t Hal::QAManager::fDCAxy = {10}
protected

Definition at line 33 of file QAManager.h.

◆ fDCAz

Double_t Hal::QAManager::fDCAz[2] = {-10, 10}
protected

Definition at line 34 of file QAManager.h.

◆ fEta

Double_t Hal::QAManager::fEta[2] = {-1, 1}
protected

Definition at line 30 of file QAManager.h.

◆ fPMax

Double_t Hal::QAManager::fPMax = {10}
protected

Definition at line 32 of file QAManager.h.

◆ fPt

Double_t Hal::QAManager::fPt[2] = {0, 10}
protected

Definition at line 31 of file QAManager.h.

◆ fUsePrimSec

Bool_t Hal::QAManager::fUsePrimSec = {kTRUE}
protected

Definition at line 35 of file QAManager.h.

◆ fUsetPid

Bool_t Hal::QAManager::fUsetPid = {kTRUE}
protected

Definition at line 36 of file QAManager.h.


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