15#include <FairRunAna.h>
19#include <Hal/TrackAna.h>
33 case eAnaType::kDefault:
36 case eFormatType::kReco:
return new HalCbmEvent();
break;
55 case ePidCut::kAntiProton:
58 cuts.
SetM2(0.75, 1.1);
60 case ePidCut::kKaonMinus:
63 cuts.
SetM2(0.15, 0.29);
65 case ePidCut::kKaonPlus:
68 cuts.
SetM2(0.15, 0.29);
70 case ePidCut::kPionMinus:
73 cuts.
SetM2(-0.1, 0.15);
75 case ePidCut::kPionPlus:
78 cuts.
SetM2(0.0, 0.05);
81 case ePidCut::kProton:
87 cuts.
SetM2(0.75, 1.1);
89 cuts.
GetTofCut()->SetDownPoints(0.5, 1, 0.7, 0.8, 20, 0.76);
93 if (fUsetPid == kFALSE) {
94 cuts.
SetM2(-1E+9, 1E+9);
97 case eParticleType::kPrimaryOnly:
101 case ePidCut::kProton: {
107 case eParticleType::kSecondaryOnly: {
111 case ePidCut::kProton: {
118 case eParticleType::kAll:
break;
120 cuts.SetOptionForAllCuts(flag);
122 ana->AddCutsAndMonitors(cuts);
127 FairRunAna* run =
new FairRunAna();
129 run->SetOutputFile(outFile);
130 run->SetSource(file);
virtual FairRunAna * GetRunAna(TString outFile, TString simFile, TString recoFile, TString parFile="")
virtual void SetRecoTrackCut(Hal::TrackAna *ana, Hal::QAManager::ePidCut cut, Hal::QAManager::eParticleType primary, TString flag="")
virtual Hal::Event * GetFormat(Hal::QAManager::eFormatType type, Hal::QAManager::eAnaType ana=Hal::QAManager::eAnaType::kDefault)
virtual ~CbmQACoreManager()
void SetM2(Double_t min, Double_t max)
void SetDCAZ(Double_t min, Double_t max)
void SetDCAXY(Double_t min, Double_t max)
void SetEta(Double_t min, Double_t max)
void SetNStsHits(Int_t min, Int_t max)
void SetPt(Double_t min, Double_t max)
void SetNHits(Int_t min, Int_t max)
HalCbmTofCut * GetTofCut() const
void SetCharge(Int_t charge)