Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
EventVertexCut.h
1/*
2 * EventVertexCut.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 HALEVENTVERTEXCUT_H_
10#define HALEVENTVERTEXCUT_H_
11#include "EventCut.h"
12
13namespace Hal {
14 class Package;
15 class EventVertexCut : public EventCut {
16
17 public:
19 static Int_t Rt() { return 0; }
20 static Int_t Z() { return 1; };
21 Bool_t Init(Int_t format_id);
22 Bool_t Pass(Event* event);
23 virtual ~EventVertexCut() {};
24 ClassDef(EventVertexCut, 1)
25 };
26
27 class EventVertexXYZCut : public EventCut {
28 TVector3 fShift;
29
30 public:
32 static Int_t Rt() { return 0; }
33 static Int_t X() { return 1; };
34 static Int_t Y() { return 2; };
35 static Int_t Z() { return 3; };
36 void SetShift(const TVector3& vec);
37 Bool_t Pass(Event* event);
38 Package* Report() const;
39 virtual ~EventVertexXYZCut() {};
40 ClassDef(EventVertexXYZCut, 1)
41 };
42
43
44 class EventVertexZCut : public EventCut {
45 public:
47 Bool_t Pass(Event* event);
48 virtual ~EventVertexZCut() {};
49 ClassDef(EventVertexZCut, 1);
50 };
51} // namespace Hal
52#endif /* HALEVENTVERTEXCUT_H_ */
Bool_t Init(Int_t format_id)
Bool_t Pass(Event *event)
Package * Report() const
Bool_t Pass(Event *event)
Bool_t Pass(Event *event)