CbmRoot
Loading...
Searching...
No Matches
HalCbmBasicTrackCuts.h
Go to the documentation of this file.
1/* Copyright (C) 2023-2023 Warsaw University of Technology, Warsaw
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Daniel Wielanek [committer] */
4#ifndef CBMBASICTRACKCUT_H_
5#define CBMBASICTRACKCUT_H_
6
7#include <Rtypes.h>
8#include <RtypesCore.h>
9
10#include <Hal/CutMonitorRequest.h>
11#include <Hal/CutsAndMonitors.h>
12
13namespace Hal
14{
15 class TrackPCut;
16 class TrackChargeCut;
17 class TrackChi2Cut;
18 class TrackPtCut;
19 class TrackEtaCut;
20 class TrackDCACut;
21} // namespace Hal
22
23class HalCbmTofCut;
24class HalCbmHalCbmNHitsCut;
25class HalCbmNHitsCut;
26
29class HalCbmBasicTrackCuts : public Hal::CutsAndMonitors {
30
31 Hal::TrackChargeCut* GetChargeCut() const;
33 Hal::TrackChi2Cut* GetChi2Cut() const;
34 Hal::TrackPCut* GetPCut() const;
35 Hal::TrackPtCut* GetPtCut() const;
36 Hal::TrackEtaCut* GetEtaCut() const;
37 Hal::TrackDCACut* GetDCACut() const;
38 Hal::CutMonAxisConf fKinPt;
39 Hal::CutMonAxisConf fKinEta;
40 Hal::CutMonAxisConf fTofP;
41 Hal::CutMonAxisConf fTofM2;
42 Hal::CutMonAxisConf fHits;
43 Hal::CutMonAxisConf fHitsSts;
44 Hal::CutMonAxisConf fChi2;
45 Hal::CutMonAxisConf fDCAxy;
46 Hal::CutMonAxisConf fDCAz;
47
48 protected:
49 virtual void AddAllCutMonitorRequests(Option_t* opt);
50
51 public:
53 void SetCharge(Int_t charge);
54 void SetChi2(Double_t min, Double_t max);
55 void SetNHits(Int_t min, Int_t max);
56 void SetNMvdHits(Int_t min, Int_t max);
57 void SetNStsHits(Int_t min, Int_t max);
58 void SetNTrdHits(Int_t min, Int_t max);
59 void SetPt(Double_t min, Double_t max);
60 void SetEta(Double_t min, Double_t max);
61 void AcceptOnlyWithTofHit(Bool_t val);
62 void SetM2(Double_t min, Double_t max);
63 void SetDCAXY(Double_t min, Double_t max);
64 void SetDCAZ(Double_t min, Double_t max);
65 void SetTofMonitorPAxis(Int_t nbins, Double_t min, Double_t max);
66 void SetTofMonitorM2Axis(Int_t nbins, Double_t min, Double_t max);
67 void SetPtEtaMonitorPtAxis(Int_t nbins, Double_t min, Double_t max);
68 void SetPtEtaMonitorEtaAxis(Int_t nbins, Double_t min, Double_t max);
69 void SetNHitsMonitorAxis(Int_t nbins, Double_t min, Double_t max);
70 void SetChi2MonitorAxis(Int_t nbins, Double_t min, Double_t max);
71 void SetDCAMonitorZAxis(Int_t nbins, Double_t min, Double_t max);
72 void SetDCAMonitorXYAxis(Int_t nbins, Double_t min, Double_t max);
73 HalCbmTofCut* GetTofCut() const;
74 virtual ~HalCbmBasicTrackCuts();
75 ClassDef(HalCbmBasicTrackCuts, 1)
76};
77#endif /* CBMBASICTRACKCUT_H_ */
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)
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)