Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackYCut.h
1/*
2 * TrackYCut.h
3 *
4 * Created on: 04-05-2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALTRACKYCUT_H_
10#define HALTRACKYCUT_H_
11#include "TrackCut.h"
12
13namespace Hal {
17 class TrackYCut : public TrackCut {
18 public:
19 TrackYCut();
20 virtual Bool_t Pass(Track* track);
21 virtual ~TrackYCut();
22 ClassDef(TrackYCut, 1)
23 };
24
28 class TrackYAssumedCut : public TrackCut {
29 Double_t fMass;
30 Int_t fPdg;
31
32 public:
33 TrackYAssumedCut() : TrackCut(1), fMass(-1), fPdg(0) { SetUnitName("y [AU]"); };
34 Bool_t Pass(Track* track);
35 Bool_t Init(Int_t taskId);
36 void SetPid(Int_t pid);
37 Package* Report() const;
38 virtual ~TrackYAssumedCut() {};
39 ClassDef(TrackYAssumedCut, 1);
40 };
41
42} // namespace Hal
43
44#endif /* HALTRACKYCUT_H_ */
void SetUnitName(TString name, Int_t i=0)
Definition Cut.h:241
TrackCut(const Int_t i=1)
Definition TrackCut.cxx:17
Bool_t Init(Int_t taskId)
Definition TrackYCut.cxx:57
Package * Report() const
Definition TrackYCut.cxx:62
Bool_t Pass(Track *track)
Definition TrackYCut.cxx:37
virtual Bool_t Pass(Track *track)
Definition TrackYCut.cxx:25