LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
EventHolder.h
Go to the documentation of this file.
1 #ifndef EVDB_EVENTHOLDER_H
8 #define EVDB_EVENTHOLDER_H
9 #ifndef __CINT__ // root 5
10 #ifndef __ROOTCLING__ // root 6
11 
13 
14 namespace evdb {
15 
16  class EventHolder {
17 
18  public:
19  static EventHolder* Instance();
20 
21  void SetEvent(art::Event const* evt);
22  const art::Event* GetEvent() const;
23 
24  private:
25 
26  EventHolder();
27  ~EventHolder();
28 
29  const art::Event* fEvent;
30  };
31 
32 }
33 #endif // root 6 - dangerous, to be used sparingly
34 #endif // __CINT__
35 #endif // EVDB_EVENTHOLDER_H
const art::Event * GetEvent() const
Definition: EventHolder.cxx:45
Manage all things related to colors for the event display.
static EventHolder * Instance()
Definition: EventHolder.cxx:15
const art::Event * fEvent
the Event
Definition: EventHolder.h:29
TCEvent evt
Definition: DataStructs.cxx:8
void SetEvent(art::Event const *evt)
Definition: EventHolder.cxx:32