MEvent/Module.cc
Go to the documentation of this file.
1 #include <mevt/Module.h>
2 
3 
4 namespace mevt {
5 
8  {
9  return *fDynodeTrace;
10  }
11 
12 
13  const utl::TraceUSI&
15  const
16  {
17  return *fDynodeTrace;
18  }
19 
20 
21  void
23  {
24  if (fDynodeTrace)
25  ERROR("Trace already present.");
26  else
28  }
29 
30 
31  bool
33  const
34  {
35  return bool(fDynodeTrace);
36  }
37 
38 
41  {
42  return *fIntegratorATrace;
43  }
44 
45 
46  const utl::TraceUSI&
48  const
49  {
50  return *fIntegratorATrace;
51  }
52 
53 
54  void
56  {
58  ERROR("Trace already present.");
59  else
61  }
62 
63 
64  bool
66  const
67  {
68  return bool(fIntegratorATrace);
69  }
70 
71 
74  {
75  return *fIntegratorBTrace;
76  }
77 
78 
79  const utl::TraceUSI&
81  const
82  {
83  return *fIntegratorBTrace;
84  }
85 
86 
87  void
89  {
91  ERROR("Trace already present.");
92  else
94  }
95 
96 
97  bool
99  const
100  {
101  return bool(fIntegratorBTrace);
102  }
103 
104 
105  void
107  {
108  if (fSimData)
109  ERROR("SimData already exists - Not Replacing");
110  else
111  fSimData = new ModuleSimData;
112  }
113 
114 
115  void
117  {
118  if (fRecData)
119  ERROR("RecData already exists - Not Replacing");
120  else
121  fRecData = new ModuleRecData;
122  }
123 
124 }
Module level reconstruction data. This class contains all data required by the muon reconstruction...
Definition: ModuleRecData.h:29
bool HasIntegratorBTrace() const
utl::ShadowPtr< ModuleSimData > fSimData
bool HasDynodeTrace() const
Trace< unsigned short int > TraceUSI
Definition: Trace-fwd.h:19
utl::ShadowPtr< utl::TraceUSI > fIntegratorBTrace
void MakeDynodeTrace()
utl::ShadowPtr< utl::TraceUSI > fDynodeTrace
utl::TraceUSI & GetDynodeTrace()
Definition: MEvent/Module.cc:7
utl::ShadowPtr< ModuleRecData > fRecData
utl::ShadowPtr< utl::TraceUSI > fIntegratorATrace
void MakeSimData()
utl::TraceUSI & GetIntegratorATrace()
bool HasIntegratorATrace() const
void MakeIntegratorATrace()
Module level simulation data.
Definition: ModuleSimData.h:22
Template class for a FADC data or calibrated data container. Use the typedefs (TraceD, TraceI, etc.) defined in Trace-fwd.h.
Definition: Trace-fwd.h:19
void MakeIntegratorBTrace()
utl::TraceUSI & GetIntegratorBTrace()
#define ERROR(message)
Macro for logging error messages.
Definition: ErrorLogger.h:165
void MakeRecData()

, generated on Tue Sep 26 2023.