BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/ZddEvent/include/ZddEvent/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
14 class ZddEvent : public DataObject {
15 public:
16 typedef std::vector<ZddBoard*> Boards;
17 typedef std::vector<ZddChannel*> Channels;
18
19 ZddEvent();
20 virtual ~ZddEvent();
21
22 /// Retrieve reference to class definition structure
23 virtual const CLID& clID() const { return ZddEvent::classID(); }
24 static const CLID& classID() { return CLID_ZddEvent; }
25
26 // user interfaces
27 const Boards& boards() const { return m_bds; }
28 const Channels& channels() const { return m_chs; }
29
30 private:
31 friend class ::ZddBoard;
32
33 Boards m_bds;
34 Channels m_chs;
35 };
36
37} // namespace Event
38#endif
const CLID & CLID_ZddEvent
virtual const CLID & clID() const
Retrieve reference to class definition structure.
std::vector< ZddChannel * > Channels
virtual ~ZddEvent()
Definition ZddEvent.cxx:9