CbmRoot
CbmStsTrackHitsCut.h
Go to the documentation of this file.
1 /*
2  * CbmStsTrackHitsCut.h
3  *
4  * Created on: 17 lip 2019
5  * Author: Daniel Wielanek
6  * E-mail: daniel.wielanek@gmail.com
7  * Warsaw University of Technology, Faculty of Physics
8  */
9 #ifndef CBMSTSTRACKHITSCUT_H_
10 #define CBMSTSTRACKHITSCUT_H_
11 
12 #include "CbmStsTrack.h"
13 #include "NicaCbmTrack.h"
14 #include "NicaTrackCut.h"
15 
16 class CbmStsTrackHitsCut : public NicaTrackCut {
17 public:
19  static Int_t Sts() { return 0; };
20  static Int_t Mvd() { return 1; };
21  static Int_t StsMvd() { return 2; }
22  void SetNStsHits(Int_t min, Int_t max = 100) { SetMinMax(min, max, Sts()); };
23  void SetNMvdHits(Int_t min, Int_t max = 100) { SetMinMax(min, max, Mvd()); };
24  void SetNStsMvdHits(Int_t min, Int_t max = 100) {
25  SetMinMax(min, max, StsMvd());
26  };
27  virtual Bool_t Init(Int_t format_id = 0);
28  virtual Bool_t Pass(NicaTrack* track);
29  virtual ~CbmStsTrackHitsCut();
30  ClassDef(CbmStsTrackHitsCut, 1)
31 };
32 
33 #endif /* CBMSTSTRACKHITSCUT_H_ */
CbmStsTrackHitsCut::Pass
virtual Bool_t Pass(NicaTrack *track)
Definition: CbmStsTrackHitsCut.cxx:21
CbmStsTrackHitsCut
Definition: CbmStsTrackHitsCut.h:16
CbmStsTrackHitsCut::Mvd
static Int_t Mvd()
Definition: CbmStsTrackHitsCut.h:20
CbmStsTrackHitsCut::SetNStsHits
void SetNStsHits(Int_t min, Int_t max=100)
Definition: CbmStsTrackHitsCut.h:22
CbmStsTrackHitsCut::~CbmStsTrackHitsCut
virtual ~CbmStsTrackHitsCut()
Definition: CbmStsTrackHitsCut.cxx:42
min
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: L1/vectors/P4_F32vec4.h:33
CbmStsTrackHitsCut::Sts
static Int_t Sts()
Definition: CbmStsTrackHitsCut.h:19
CbmStsTrack.h
Data class for STS tracks.
CbmStsTrackHitsCut::SetNStsMvdHits
void SetNStsMvdHits(Int_t min, Int_t max=100)
Definition: CbmStsTrackHitsCut.h:24
CbmStsTrackHitsCut::SetNMvdHits
void SetNMvdHits(Int_t min, Int_t max=100)
Definition: CbmStsTrackHitsCut.h:23
CbmStsTrackHitsCut::CbmStsTrackHitsCut
CbmStsTrackHitsCut()
Definition: CbmStsTrackHitsCut.cxx:12
NicaCbmTrack.h
CbmStsTrackHitsCut::StsMvd
static Int_t StsMvd()
Definition: CbmStsTrackHitsCut.h:21
CbmStsTrackHitsCut::Init
virtual Bool_t Init(Int_t format_id=0)
Definition: CbmStsTrackHitsCut.cxx:36
max
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: L1/vectors/P4_F32vec4.h:36