CbmRoot
Loading...
Searching...
No Matches
HalCbmNHitsCut.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 CBMNHITSCUT_H_
5#define CBMNHITSCUT_H_
6
7#include <Rtypes.h>
8#include <RtypesCore.h>
9
10#include <Hal/TrackExpCut.h>
11
12namespace Hal
13{
14 class Track;
15} /* namespace Hal */
16
24class HalCbmNHitsCut : public Hal::TrackExpCut {
25 public:
27 void SetNTotalHits(Int_t min, Int_t max) { SetMinMax(min, max, 0); };
28 void SetNMvdHits(Int_t min, Int_t max) { SetMinMax(min, max, 1); };
29 void SetNStsHits(Int_t min, Int_t max) { SetMinMax(min, max, 2); };
30 void SetNTrdHits(Int_t min, Int_t max) { SetMinMax(min, max, 3); };
31 virtual Bool_t Init(Int_t task_id);
32 virtual Bool_t Pass(Hal::Track* track);
33 virtual ~HalCbmNHitsCut();
34 ClassDef(HalCbmNHitsCut, 1)
35};
36#endif /* CBMROOT_ANALYSIS_PWGC2F_FEMTOSCOPY_NICAFEMTO_CUTS_ANATREECUTS_TRACK_CBMNHITSCUT_H_ */
virtual Bool_t Init(Int_t task_id)
virtual Bool_t Pass(Hal::Track *track)
void SetNMvdHits(Int_t min, Int_t max)
virtual ~HalCbmNHitsCut()
void SetNTrdHits(Int_t min, Int_t max)
void SetNTotalHits(Int_t min, Int_t max)
void SetNStsHits(Int_t min, Int_t max)