TelescopeTriggerData.h
Go to the documentation of this file.
1 #ifndef _fevt_TelescopeTriggerData_h_
2 #define _fevt_TelescopeTriggerData_h_
3 
4 #include <utl/ShadowPtr.h>
5 #include <utl/Trace.h>
6 #include <fevt/SLTData.h>
7 #include <vector>
8 
9 
10 namespace fevt {
11 
12  class Telescope;
13 
14 
30 
31  public:
32  // TLT
33  void SetTLTAccepted(const bool is) { fTLTAccepted = is; }
34  bool IsTLTAccepted() const { return fTLTAccepted; }
35 
36  // SLT sim information
37  std::vector<fevt::SLTData>& GetSLTData() { return fSLTData; }
38  const std::vector<fevt::SLTData>& GetSLTData() const { return fSLTData; }
39  void SetSLTData(const std::vector<fevt::SLTData>& s) { fSLTData = s; }
40  void MakeSLTData(const unsigned int timeSize, const unsigned int colSize);
41 
42  // FLT multiplicity
44  const utl::TraceI& GetMultiplicity() const { return *fMultiplicity; }
45  void MakeMultiplicity(const unsigned int size = 0, const double binSize = 0);
46  bool HasMultiplicity() const { return bool(fMultiplicity); }
47 
48  void SetTLTLabel(const std::string& label) { fTLTLabel = label; }
49  std::string GetTLTLabel() const { return fTLTLabel; }
50 
51  private:
54 
55  private:
56  // TLT
58  std::string fTLTLabel;
59 
60  // SLT info
61  std::vector<fevt::SLTData> fSLTData; // slt data word
62 
63  // multiplicity info
65 
66  friend class fevt::Telescope;
68 
69  };
70 
71 }
72 
73 
74 #endif
std::vector< fevt::SLTData > & GetSLTData()
bool is(const double a, const double b)
Definition: testlib.cc:113
std::vector< fevt::SLTData > fSLTData
std::string GetTLTLabel() const
const utl::TraceI & GetMultiplicity() const
constexpr double s
Definition: AugerUnits.h:163
void MakeMultiplicity(const unsigned int size=0, const double binSize=0)
utl::ShadowPtr< utl::TraceI > fMultiplicity
void SetTLTAccepted(const bool is)
void MakeSLTData(const unsigned int timeSize, const unsigned int colSize)
void SetSLTData(const std::vector< fevt::SLTData > &s)
Fluorescence Detector Telescope Event.
void SetTLTLabel(const std::string &label)
Description of trigger data for one Telescope.
const std::vector< fevt::SLTData > & GetSLTData() const

, generated on Tue Sep 26 2023.