CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
HltEvent.h
Go to the documentation of this file.
1#ifndef EVENT_HLT_EVENT_H
2#define EVENT_HLT_EVENT_H
3
4#include "GaudiKernel/DataObject.h"
5
6extern const CLID& CLID_HltEvent;
7
8class HltEvent : public DataObject {
9public:
10 HltEvent() : DataObject() {}
11 virtual ~HltEvent() {}
12
13 void initialize(bool fromMc) { m_fromMc = fromMc; }
14
15 virtual const CLID& clID() const { return HltEvent::classID(); }
16 static const CLID& classID() { return CLID_HltEvent; }
17
18 /// Retrieve flag of origin
19 bool fromMc () const {
20 return m_fromMc;
21 }
22
23private:
24 //.....
25 bool m_fromMc;
26};
27
28#endif
const CLID & CLID_HltEvent
HltEvent()
Definition HltEvent.h:10
void initialize(bool fromMc)
Definition HltEvent.h:13
bool fromMc() const
Retrieve flag of origin.
Definition HltEvent.h:19
static const CLID & classID()
Definition HltEvent.h:16
virtual ~HltEvent()
Definition HltEvent.h:11
virtual const CLID & clID() const
Definition HltEvent.h:15