CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
DigiEvent.h
Go to the documentation of this file.
1
#ifndef Event_DIGIEVENT_H
2
#define Event_DIGIEVENT_H
3
#include "GaudiKernel/Kernel.h"
4
#include "GaudiKernel/DataObject.h"
5
#include "
EventModel/EventModel.h
"
6
7
using namespace
EventModel
;
8
extern
const
CLID&
CLID_DigiEvent
;
9
10
11
/** class DigiEvent
12
* brief Defines the top level object for digitization data.
13
* It can be identified by "/Event/Digi" on the TDS
14
*
15
* It contains:
16
* - m_fromMc, if coming from Monte Carlo
17
*
18
* based GLAST DigiEvent
19
*/
20
21
class
DigiEvent
:
public
DataObject {
22
23
public
:
24
25
DigiEvent
()
26
: DataObject(), m_fromMc(
true
) { }
27
28
virtual
~DigiEvent
() { }
29
30
void
initialize
(
bool
fromMc
) { m_fromMc =
fromMc
; };
31
32
/// Retrieve reference to class definition structure
33
virtual
const
CLID&
clID
()
const
{
return
DigiEvent::classID
(); }
34
static
const
CLID&
classID
() {
return
CLID_DigiEvent
; }
35
36
/// Retrieve flag of origin
37
bool
fromMc
()
const
{
38
return
m_fromMc;
39
}
40
41
42
private
:
43
/// Flag of origin
44
bool
m_fromMc;
45
};
46
47
#endif
48
49
true
#define true
Definition
BesCxxPolicy/BesCxxPolicy-00-01-01/CxxFeatures/config.h:19
CLID_DigiEvent
const CLID & CLID_DigiEvent
Raw event and Digi IDs.
Definition
EventModel.cxx:259
EventModel.h
DigiEvent
Definition
DigiEvent.h:21
DigiEvent::initialize
void initialize(bool fromMc)
Definition
DigiEvent.h:30
DigiEvent::fromMc
bool fromMc() const
Retrieve flag of origin.
Definition
DigiEvent.h:37
DigiEvent::DigiEvent
DigiEvent()
Definition
DigiEvent.h:25
DigiEvent::classID
static const CLID & classID()
Definition
DigiEvent.h:34
DigiEvent::~DigiEvent
virtual ~DigiEvent()
Definition
DigiEvent.h:28
DigiEvent::clID
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition
DigiEvent.h:33
EventModel
Definition
EventModel.h:29
6.6.5.h
Event
RawEvent
RawEvent-00-04-02
RawEvent
DigiEvent.h
Generated by
1.12.0