BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TrigEvent/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
6
extern
const
CLID&
CLID_TrigEvent
;
7
8
class
TrigEvent
:
public
DataObject {
9
public
:
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
{
20
return
m_fromMc;
21
}
22
23
private
:
24
//.....
25
bool
m_fromMc;
26
};
27
28
#endif
CLID_TrigEvent
const CLID & CLID_TrigEvent
Definition:
EventModel.cxx:277
TrigEvent
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigEvent.h:8
TrigEvent::~TrigEvent
virtual ~TrigEvent()
Definition:
InstallArea/include/TrigEvent/TrigEvent/TrigEvent.h:11
TrigEvent::initialize
void initialize(bool fromMc)
Definition:
InstallArea/include/TrigEvent/TrigEvent/TrigEvent.h:13
TrigEvent::fromMc
bool fromMc() const
Retrieve flag of origin.
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigEvent.h:19
TrigEvent::TrigEvent
TrigEvent()
Definition:
InstallArea/include/TrigEvent/TrigEvent/TrigEvent.h:10
TrigEvent::clID
virtual const CLID & clID() const
Definition:
InstallArea/include/TrigEvent/TrigEvent/TrigEvent.h:15
TrigEvent::classID
static const CLID & classID()
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigEvent.h:16
source
InstallArea
include
TrigEvent
TrigEvent
TrigEvent.h
Generated by
1.9.6