Status.h
Go to the documentation of this file.
1 #ifndef _Status_h_
2 #define _Status_h_
3 
4 class RecEvent;
5 
6 namespace evt {
7  class Event;
8 }
9 
10 namespace otoa {
17  class Status {
18  public:
19  Status();
20  Status(const evt::Event& event);
21  ~Status();
22 
24  bool IsMCEvent() const { return fIsMCEvent; }
25  void SetIsMCEvent(bool ismc) { fIsMCEvent = ismc; }
26 
28  const evt::Event& GetEvent() const;
29  private:
30  bool fIsMCEvent;
32  };
33 
34 } // namespace otoa
35 
36 
37 #endif // _Status_h_
38 
39 // Statusure (x)emacs for this file ...
40 // Local Variables:
41 // mode:c++
42 // compile-command: "make -C .. -k"
43 // End:
void SetIsMCEvent(bool ismc)
Definition: Status.h:25
bool IsMCEvent() const
Remember whether the current event is a MC.
Definition: Status.h:24
const evt::Event * fEvent
Definition: Status.h:31
const evt::Event & GetEvent() const
Returns the current evt::Event. Use only in dire need (otherwise pass things as arguments) ...
Definition: Status.cc:38
bool fIsMCEvent
Definition: Status.h:30
Represents the status of a single event conversion.
Definition: Status.h:17

, generated on Tue Sep 26 2023.