Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
EventComplexCut.h
1/*
2 * EventComplexCut.h
3 *
4 * Created on: 24 maj 2018
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALROOT_CUTS_EVENTCUTS_HALEVENTCOMPLEXCUT_H_
10#define HALROOT_CUTS_EVENTCUTS_HALEVENTCOMPLEXCUT_H_
11
12#include "EventCut.h"
13
14namespace Hal {
15 class EventComplexCut : public EventCut {
16 EventCut* fRealCut;
17 EventCut* fImgCut;
18 Int_t fStep;
19 ULong64_t fNullObjects;
20 Bool_t fAcceptNulls;
21
22 public:
24 EventComplexCut(const EventCut* real, const EventCut* img);
25 EventComplexCut(const EventCut& real, const EventCut& img);
26 EventComplexCut(const EventComplexCut& other);
27 void AcceptNulls(Bool_t accept = kTRUE) { fAcceptNulls = accept; };
28 virtual Bool_t Pass(Event* pair);
29 virtual Bool_t Init(Int_t task_id);
30 virtual Package* Report() const;
31 virtual TString CutName(Option_t* opt = "") const;
32 EventCut* GetRealCut() const { return fRealCut; };
33 EventCut* GetImgCut() const { return fImgCut; };
34 virtual ~EventComplexCut();
35 ClassDef(EventComplexCut, 1)
36 };
37
38 class EventRealCut : public EventCut {
39 EventCut* fRealCut;
40
41 public:
43 EventRealCut(const EventCut* real);
44 EventRealCut(const EventCut& real);
45 EventRealCut(const EventRealCut& other);
46 virtual Bool_t Pass(Event* event);
47 virtual Bool_t Init(Int_t task_id);
48 virtual Package* Report() const;
49 virtual TString CutName(Option_t* opt = "") const;
50 EventCut* GetRealCut() const { return fRealCut; };
51 virtual ~EventRealCut();
52 ClassDef(EventRealCut, 1)
53 };
54
55 class EventImaginaryCut : public EventCut {
56 EventCut* fImgCut;
57 ULong64_t fNullObjects;
58 Bool_t fAcceptNulls;
59
60 public:
62 EventImaginaryCut(const EventCut* img);
63 EventImaginaryCut(const EventCut& img);
65 void AcceptNulls(Bool_t accept = kTRUE) { fAcceptNulls = accept; };
66 virtual Bool_t Pass(Event* event);
67 virtual Bool_t Init(Int_t task_id);
68 virtual Package* Report() const;
69 virtual TString CutName(Option_t* opt = "") const;
70 EventCut* GetImgCut() const { return fImgCut; };
71 virtual ~EventImaginaryCut();
72 ClassDef(EventImaginaryCut, 1)
73 };
74} // namespace Hal
75
76#endif /* HALROOT_CUTS_EVENTCUTS_HALEVENTCOMPLEXCUT_H_ */
virtual Bool_t Pass(Event *pair)
virtual Bool_t Init(Int_t task_id)
virtual Package * Report() const
virtual TString CutName(Option_t *opt="") const
virtual TString CutName(Option_t *opt="") const
virtual Package * Report() const
virtual Bool_t Init(Int_t task_id)
virtual Bool_t Pass(Event *event)
virtual Bool_t Pass(Event *event)
virtual Bool_t Init(Int_t task_id)
virtual TString CutName(Option_t *opt="") const
virtual Package * Report() const