12#include <Hal/CutMonitorRequest.h>
13#include <Hal/TrackChargeCut.h>
14#include <Hal/TrackChi2Cut.h>
15#include <Hal/TrackDCACut.h>
16#include <Hal/TrackEtaCut.h>
17#include <Hal/TrackPCut.h>
18#include <Hal/TrackPtCut.h>
22 : fKinPt(
"Hal::TrackPtCut", 0, 100, 0, 4)
23 , fKinEta(
"Hal::TrackEtaCut", 0, 200, -2, 4)
24 , fTofP(
"Hal::TrackPCut", 0, 200, 0, 2)
25 , fTofM2(
"HalCbmTofCut", 0, 100, -0.1, 1.2)
26 , fHits(
"HalCbmNHitsCut", 0, 12, 0.5, 12.5)
27 , fHitsSts(
"HalCbmNHitsCut", 2, 10, -0.5, 9.5)
28 , fChi2(
"Hal::TrackChi2Cut", 0, 100, 0, 25)
29 , fDCAxy(
"Hal::TrackDCACut", 1, 100, 0, 10)
30 , fDCAz(
"Hal::TrackDCACut", 2, 100, -5, 5)
32 AddCut(Hal::TrackChargeCut());
34 AddCut(Hal::TrackChi2Cut());
35 AddCut(Hal::TrackPCut());
36 AddCut(Hal::TrackPtCut());
37 AddCut(Hal::TrackEtaCut());
38 AddCut(Hal::TrackDCACut());
60 if (Hal::Std::FindParam(option,
"all")) {
61 AddCutMonitorRequest(
fHits);
63 AddCutMonitorRequest(
fChi2);
69 if (Hal::Std::FindParam(option,
"chi2")) AddCutMonitorRequest(
fChi2);
70 if (Hal::Std::FindParam(option,
"hits")) AddCutMonitorRequest(
fHits);
71 if (Hal::Std::FindParam(option,
"hits_sts")) AddCutMonitorRequest(
fHitsSts);
72 if (Hal::Std::FindParam(option,
"tof")) AddCutMonitorRequest(
fTofP,
fTofM2);
73 if (Hal::Std::FindParam(option,
"dca")) AddCutMonitorRequest(
fDCAz,
fDCAxy);
104 fTofP.SetAxis(nbins, min, max);
109 fTofM2.SetAxis(nbins, min, max);
114 fKinPt.SetAxis(nbins, min, max);
119 fKinEta.SetAxis(nbins, min, max);
124 fHits.SetAxis(nbins, min, max);
129 fChi2.SetAxis(nbins, min, max);
134 fDCAz.SetAxis(nbins, min, max);
139 fDCAxy.SetAxis(nbins, min, max);
Hal::TrackDCACut * GetDCACut() const
Hal::TrackChi2Cut * GetChi2Cut() const
Hal::TrackPtCut * GetPtCut() const
void SetM2(Double_t min, Double_t max)
void SetDCAZ(Double_t min, Double_t max)
Hal::CutMonAxisConf fChi2
void SetDCAXY(Double_t min, Double_t max)
void SetNTrdHits(Int_t min, Int_t max)
Hal::CutMonAxisConf fDCAxy
void SetTofMonitorM2Axis(Int_t nbins, Double_t min, Double_t max)
void SetDCAMonitorZAxis(Int_t nbins, Double_t min, Double_t max)
Hal::CutMonAxisConf fKinPt
virtual void AddAllCutMonitorRequests(Option_t *opt)
void SetPtEtaMonitorPtAxis(Int_t nbins, Double_t min, Double_t max)
void SetEta(Double_t min, Double_t max)
Hal::CutMonAxisConf fTofM2
Hal::TrackPCut * GetPCut() const
void AcceptOnlyWithTofHit(Bool_t val)
Hal::TrackChargeCut * GetChargeCut() const
HalCbmNHitsCut * GetNHitsCut() const
Hal::CutMonAxisConf fHitsSts
void SetNStsHits(Int_t min, Int_t max)
virtual ~HalCbmBasicTrackCuts()
void SetDCAMonitorXYAxis(Int_t nbins, Double_t min, Double_t max)
void SetChi2(Double_t min, Double_t max)
void SetPt(Double_t min, Double_t max)
Hal::CutMonAxisConf fHits
void SetNHits(Int_t min, Int_t max)
void SetNHitsMonitorAxis(Int_t nbins, Double_t min, Double_t max)
Hal::CutMonAxisConf fTofP
HalCbmTofCut * GetTofCut() const
Hal::CutMonAxisConf fDCAz
Hal::CutMonAxisConf fKinEta
void SetCharge(Int_t charge)
void SetPtEtaMonitorEtaAxis(Int_t nbins, Double_t min, Double_t max)
void SetTofMonitorPAxis(Int_t nbins, Double_t min, Double_t max)
Hal::TrackEtaCut * GetEtaCut() const
void SetNMvdHits(Int_t min, Int_t max)
void SetChi2MonitorAxis(Int_t nbins, Double_t min, Double_t max)
void AcceptTracksOnlyWithToF()