Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
ExpEvent.h
1/*
2 * DetectedEvent.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 HALEXPEVENT_H_
10#define HALEXPEVENT_H_
11#include "Event.h"
12
13#include <TString.h>
14
15namespace Hal {
16 class DetectorEvent;
17
21 class ExpEvent : public Event {
22 protected:
23 Int_t fRunInfoId;
24 Int_t fEventTrigger;
25 Int_t fNTofTracks;
26 TVector3* fMagField;
27 TLorentzVector* fVertexError;
28 virtual void ShallowCopyEvent(Event* event);
29 ExpEvent(TString track_class, TString v0_class = "Hal::V0Track", TString xi_class = "Hal::XiTrack");
30
31 public:
32 ExpEvent();
33 ExpEvent(const ExpEvent& other);
38 inline Int_t GetNTofTracks() const { return fNTofTracks; };
43 inline Int_t GetRunId() const { return fRunInfoId; }
48 virtual DetectorEvent* GetDetEvent() const { return NULL; };
49 virtual Float_t GetFieldVal(Int_t fieldID) const;
50 virtual TString GetFieldName(Int_t fieldID) const;
51 TLorentzVector* GetVertexError() const { return fVertexError; };
52 TVector3* GetMagField() const { return fMagField; };
53 virtual ~ExpEvent();
54 ClassDef(ExpEvent, 1)
55 };
56
57 class ExpEventHelix : public ExpEvent {
58 protected:
59 ExpEventHelix(TString track_class, TString v0_class = "V0Track");
60
61 public:
63 ExpEventHelix(const ExpEventHelix& other);
64 virtual ~ExpEventHelix();
65 ClassDef(ExpEventHelix, 1)
66 };
67} // namespace Hal
68#endif /* HALEXPEVENT_H_ */
Int_t GetNTofTracks() const
Definition ExpEvent.h:38
virtual DetectorEvent * GetDetEvent() const
Definition ExpEvent.h:48
virtual TString GetFieldName(Int_t fieldID) const
Definition ExpEvent.cxx:54
virtual void ShallowCopyEvent(Event *event)
Definition ExpEvent.cxx:37
virtual Float_t GetFieldVal(Int_t fieldID) const
Definition ExpEvent.cxx:47
Int_t GetRunId() const
Definition ExpEvent.h:43