BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
ZddEvent.h
Go to the documentation of this file.
1#ifndef Event_ZDD_EVENT_H
2#define Event_ZDD_EVENT_H
3
4#include "GaudiKernel/DataObject.h"
5#include <vector>
6
7extern const CLID& CLID_ZddEvent;
8
9class ZddBoard;
10class ZddChannel;
11
12namespace Event {
13
14class ZddEvent : public DataObject
15{
16 public :
17
18 typedef std::vector<ZddBoard*> Boards;
19 typedef std::vector<ZddChannel*> Channels;
20
21 ZddEvent();
22 virtual ~ZddEvent();
23
24 /// Retrieve reference to class definition structure
25 virtual const CLID& clID() const { return ZddEvent::classID(); }
26 static const CLID& classID() { return CLID_ZddEvent; }
27
28 //user interfaces
29 const Boards& boards() const { return m_bds; }
30 const Channels& channels() const { return m_chs; }
31
32
33 private :
34
35 friend class ::ZddBoard;
36
37 Boards m_bds;
38 Channels m_chs;
39};
40
41}
42#endif
const CLID & CLID_ZddEvent
Definition: EventModel.cxx:290
#define private
const CLID & CLID_ZddEvent
Definition: EventModel.cxx:290
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition: ZddEvent.h:25
std::vector< ZddChannel * > Channels
Definition: ZddEvent.h:19
std::vector< ZddBoard * > Boards
Definition: ZddEvent.h:18
const Boards & boards() const
Definition: ZddEvent.h:29
const Channels & channels() const
Definition: ZddEvent.h:30
static const CLID & classID()
Definition: ZddEvent.h:26
virtual ~ZddEvent()
Definition: ZddEvent.cxx:12
Definition: Event.h:21