CbmRoot
Loading...
Searching...
No Matches
HalCbmTofCut.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 CBMTOFCUT_H_
5#define CBMTOFCUT_H_
6#include "Hal/TrackToFMass2Cut.h"
7
8
9class HalCbmTofCut : public Hal::TrackToFMass2Cut {
10 public:
12 void AcceptTracksWithoutTof() { SetMinMax(0, 1, 1); };
13 void AcceptTracksOnlyWithToF() { SetMinMax(1, 1, 1); };
14 static Int_t Flag() { return 1; };
15 static Int_t M2() { return 0; };
16 virtual Bool_t Init(Int_t task_id);
17 virtual Bool_t Pass(Hal::Track* track);
18 virtual ~HalCbmTofCut();
19 ClassDef(HalCbmTofCut, 1)
20};
21
22#endif /* CBMROOT_ANALYSIS_PWGC2F_FEMTOSCOPY_NICAFEMTO_CUTS_ANATREECUTS_TRACK_CBMTOFCUT_H_ */
virtual ~HalCbmTofCut()
virtual Bool_t Pass(Hal::Track *track)
static Int_t Flag()
void AcceptTracksOnlyWithToF()
void AcceptTracksWithoutTof()
virtual Bool_t Init(Int_t task_id)
static Int_t M2()