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