30 Double_t fEta[2] = {-1, 1};
31 Double_t fPt[2] = {0, 10};
32 Double_t fPMax = {10};
33 Double_t fDCAxy = {10};
34 Double_t fDCAz[2] = {-10, 10};
35 Bool_t fUsePrimSec = {kTRUE};
36 Bool_t fUsetPid = {kTRUE};
39 enum class ePidCut { kPionPlus, kPionMinus, kKaonPlus, kKaonMinus, kProton, kAntiProton, kUnkown };
40 enum class eParticleType { kPrimaryOnly, kSecondaryOnly, kAll };
41 enum class eFormatType { kSim, kReco, kComplex };
42 enum class eAnaType { kDefault, kHbt };
44 ePidCut ToPid(Int_t i);
45 void UsePrimSecCut(Bool_t use) { fUsePrimSec = use; };
46 void UsePidCut(Bool_t use) { fUsetPid = use; };
47 Double_t GetEtaMin()
const {
return fEta[0]; };
48 Double_t GetEtaMax()
const {
return fEta[1]; };
49 Double_t GetPtMin()
const {
return fPt[0]; };
50 Double_t GetPtMax()
const {
return fPt[1]; };
51 Double_t GetDcaXY()
const {
return fDCAxy; };
52 Double_t GetDcaZMin()
const {
return fDCAz[0]; };
53 Double_t GetDcaZMax()
const {
return fDCAz[1]; };
54 Double_t GetPMax()
const {
return fPMax; };
55 virtual AnalysisManager* GetAna(TString outFile, TString simFile, TString recoFile =
"");
56 virtual Event* GetFormat(eFormatType type, eAnaType ana = eAnaType::kDefault);
73 virtual void SetEventCut(
TrackAna* ana, Int_t col, TString flag =
"");
74 virtual void SetPairCut(
TwoTrackAna* ana, ePidCut pid1, ePidCut pid2);