Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
TrackComplexCut.h
1/*
2 * TrackCutComplex.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 HALTRACKCOMPLEXCUT_H_
10#define HALTRACKCOMPLEXCUT_H_
11
12#include "TrackVirtualCut.h"
13
14#include "TrackCut.h"
15
16namespace Hal {
17 class TrackComplexCut : public TrackCut {
18 TrackCut* fRealCut;
19 TrackCut* fImgCut;
20 Int_t fStep;
21 ULong64_t fNullObjects;
22 Bool_t fAcceptNulls;
23
24 public:
34 TrackComplexCut(const TrackCut* real, const TrackCut* img);
35 TrackComplexCut(const TrackCut& real, const TrackCut& img);
37 TrackComplexCut(const TrackComplexCut& other);
38 void AcceptNulls(Bool_t accept = kTRUE) { fAcceptNulls = accept; };
39 virtual Bool_t Pass(Track* track);
40 virtual Bool_t Init(Int_t task_id);
41 virtual Package* Report() const;
42 virtual TString CutName(Option_t* opt = "") const;
47 TrackCut* GetRealCut() const { return fRealCut; };
52 TrackCut* GetImgCut() const { return fImgCut; };
53 virtual ~TrackComplexCut();
54 ClassDef(TrackComplexCut, 1)
55 };
56
57 class TrackRealCut : public TrackCut {
58 TrackCut* fRealCut;
59
60 public:
62 TrackRealCut(const TrackCut* real);
63 TrackRealCut(const TrackCut& real);
64 TrackRealCut(const TrackRealCut& other);
65 virtual Bool_t Pass(Track* track);
66 virtual Bool_t Init(Int_t task_id);
67 virtual Package* Report() const;
68 virtual TString CutName(Option_t* opt = "") const;
69 TrackCut* GetRealCut() const { return fRealCut; };
70 virtual ~TrackRealCut();
71 ClassDef(TrackRealCut, 1)
72 };
73
74 class TrackImaginaryCut : public TrackCut {
75 TrackCut* fImgCut;
76 ULong64_t fNullObjects;
77 Bool_t fAcceptNulls;
78
79 public:
81 TrackImaginaryCut(const TrackCut* img);
82 TrackImaginaryCut(const TrackCut& img);
88 void AcceptNulls(Bool_t accept = kTRUE) { fAcceptNulls = accept; };
89 virtual Bool_t Pass(Track* track);
90 virtual Bool_t Init(Int_t task_id);
91 virtual Package* Report() const;
92 virtual TString CutName(Option_t* opt = "") const;
93 TrackCut* GetImgCut() const { return fImgCut; };
94 virtual ~TrackImaginaryCut();
95 ClassDef(TrackImaginaryCut, 1)
96 };
97} // namespace Hal
98#endif /* HALTRACKCOMPLEXCUT_H_ */
virtual TString CutName(Option_t *opt="") const
virtual Bool_t Init(Int_t task_id)
TrackCut * GetRealCut() const
virtual Package * Report() const
virtual Bool_t Pass(Track *track)
TrackCut * GetImgCut() const
virtual TString CutName(Option_t *opt="") const
virtual Bool_t Pass(Track *track)
void AcceptNulls(Bool_t accept=kTRUE)
virtual Bool_t Init(Int_t task_id)
virtual Package * Report() const
virtual Bool_t Pass(Track *track)
virtual Package * Report() const
virtual TString CutName(Option_t *opt="") const
virtual Bool_t Init(Int_t task_id)