Framework/Event/Event.h
Go to the documentation of this file.
1 #ifndef _evt_Event_h_
2 #define _evt_Event_h_
3 
4 #include <evt/Header.h>
5 #include <utl/LameShadowPtr.h>
6 #include <utl/config.h>
7 
8 
9 namespace fevt {
10  class FEvent;
11 }
12 
13 namespace sevt {
14  class SEvent;
15 }
16 
17 namespace revt {
18  class REvent;
19 }
20 
21 namespace mevt {
22  class MEvent;
23 }
24 
25 namespace cevt {
26  class CEvent;
27 }
28 
29 class AugerEvent;
30 
31 namespace evt {
32 
33  class ShowerSimData;
34  class ShowerRecData;
35  class VShowerGeometryProducer;
36 
37 
44  class Event {
45  public:
46  Event() = default;
47 
49  const ShowerSimData& GetSimShower() const;
50  bool HasSimShower() const { return bool(fSimShower); }
52 
54  const ShowerRecData& GetRecShower() const;
55  bool HasRecShower() const { return bool(fRecShower); }
56  void MakeRecShower();
57 
59  const fevt::FEvent& GetFEvent() const;
60  bool HasFEvent() const { return bool(fFEvent); }
61  void MakeFEvent();
62 
64  const sevt::SEvent& GetSEvent() const;
65  bool HasSEvent() const { return bool(fSEvent); }
66  void MakeSEvent();
67 
69  const revt::REvent& GetREvent() const;
70  bool HasREvent() const { return bool(fREvent); }
71  void MakeREvent();
72 
74  const mevt::MEvent& GetMEvent() const;
75  bool HasMEvent() const { return bool(fMEvent); }
76  void MakeMEvent();
77 
79  const cevt::CEvent& GetCEvent() const;
80  bool HasCEvent() const { return bool(fCEvent); }
81  void MakeCEvent();
82 
83  evt::Header& GetHeader() { return fHeader; }
84  const evt::Header& GetHeader() const { return fHeader; }
85 
86  AugerEvent& GetRawEvent();
87  const AugerEvent& GetRawEvent() const;
88  bool HasRawEvent() const { return bool(fRawEvent); }
89  void MakeRawEvent();
90 
91  private:
94 
100 
102 
104 
105  };
106 
107 }
108 
109 
110 #endif
utl::LameShadowPtr< cevt::CEvent > fCEvent
mevt::MEvent & GetMEvent()
bool HasMEvent() const
evt::Header & GetHeader()
Interface class to access Shower Reconstructed parameters.
Definition: ShowerRecData.h:33
bool HasRecShower() const
bool HasFEvent() const
Interface class to access to the Radio part of an event.
Definition: REvent.h:42
Interface class to access to the SD part of an event.
Definition: SEvent.h:39
const evt::Header & GetHeader() const
utl::LameShadowPtr< AugerEvent > fRawEvent
ShowerRecData & GetRecShower()
bool HasSimShower() const
utl::LameShadowPtr< sevt::SEvent > fSEvent
revt::REvent & GetREvent()
utl::LameShadowPtr< fevt::FEvent > fFEvent
bool HasREvent() const
AugerEvent & GetRawEvent()
Interface class to access Shower Simulated parameters.
Definition: ShowerSimData.h:49
utl::LameShadowPtr< ShowerRecData > fRecShower
cevt::CEvent & GetCEvent()
ShowerSimData & GetSimShower()
Event()=default
Top of Fluorescence Detector event hierarchy.
Definition: FEvent.h:33
fevt::FEvent & GetFEvent()
void MakeSimShower(const evt::VShowerGeometryProducer &p)
bool HasRawEvent() const
bool HasCEvent() const
sevt::SEvent & GetSEvent()
Root of the Muon event hierarchy.
Definition: MEvent.h:25
bool HasSEvent() const
utl::LameShadowPtr< ShowerSimData > fSimShower
utl::LameShadowPtr< mevt::MEvent > fMEvent
Global event header.
Definition: Event/Header.h:27
utl::LameShadowPtr< revt::REvent > fREvent
Interface class to access to the SD part of an event.
Definition: CEvent.h:46

, generated on Tue Sep 26 2023.