RdFiller.h
Go to the documentation of this file.
1 #ifndef _otoa_RdFiller_h_
2 #define _otoa_RdFiller_h_
3 
4 #include <RdEvent.h>
5 #include <det/Detector.h>
6 
16 class RecEventFile;
17 class Detector;
18 class DetectorGeometry;
19 class FileInfo;
20 
21 namespace evt {
22  class Event;
23 }
24 
25 namespace revt {
26  class REvent;
27 }
28 
29 namespace det {
30  class detector;
31 }
32 
33 namespace otoa {
34 
35  class RdFiller {
36  public:
37  bool FillRadioStations(const evt::Event& theev,
38  const bool saveTrace = true,
39  const bool storeExcludedStations = true);
40 
41  bool FillSimRadioStations(const evt::Event& theev); //if we save simulated trace in the future, we should add bool here
42 
43  bool FillRadioChannels(const revt::REvent& therev,
44  const bool saveTrace = false,
45  const bool storeExcludedStations = true);
46 
47  bool FillRadioShower(const evt::Event& theev);
48 
53  //bool FillRadioSims(const revt::REvent& therev);
54 
55  bool FillRadioEventInfo(const revt::REvent& therev);
56 
57  bool AddRadioDetector(const det::Detector& offlineDet, Detector& adstDet);
58 
59  static bool AddRadioInfo(FileInfo* const info, const int radioSaveLevel);
60 
61  static bool AddRadioDetectorGeometry(const det::Detector& offlineDet, DetectorGeometry* const adstGeo);
62 
63  RdEvent& GetRdEvent() { return fRdEvent; }
64 
65  const RdEvent& GetRdEvent() const { return fRdEvent; }
66 
67  private:
68  RdEvent fRdEvent;
69  //int fSaveRadioLevel = 0; // unused. LN.
70 
71  };
72 
73 }
74 
75 
76 #endif
const RdEvent & GetRdEvent() const
Definition: RdFiller.h:65
bool AddRadioDetector(const det::Detector &offlineDet, Detector &adstDet)
Definition: RdFiller.cc:495
RdEvent fRdEvent
Definition: RdFiller.h:68
bool FillRadioChannels(const revt::REvent &therev, const bool saveTrace=false, const bool storeExcludedStations=true)
Definition: RdFiller.cc:370
bool FillRadioEventInfo(const revt::REvent &therev)
Definition: RdFiller.cc:484
Interface class to access to the Radio part of an event.
Definition: REvent.h:42
bool FillRadioShower(const evt::Event &theev)
Definition: RdFiller.cc:261
Top of the hierarchy of the detector description interface.
Definition: Detector.h:81
bool FillSimRadioStations(const evt::Event &theev)
Definition: RdFiller.cc:205
static bool AddRadioDetectorGeometry(const det::Detector &offlineDet, DetectorGeometry *const adstGeo)
Definition: RdFiller.cc:523
bool FillRadioStations(const evt::Event &theev, const bool saveTrace=true, const bool storeExcludedStations=true)
Definition: RdFiller.cc:61
static bool AddRadioInfo(FileInfo *const info, const int radioSaveLevel)
Definition: RdFiller.cc:512
RdEvent & GetRdEvent()
Definition: RdFiller.h:63

, generated on Tue Sep 26 2023.