BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcDigi.h
Go to the documentation of this file.
1#ifndef MdcDigi_H
2#define MdcDigi_H
3#include <vector>
4#include "GaudiKernel/ObjectVector.h"
5#include "RawEvent/RawData.h"
7
8using namespace EventModel;
9extern const CLID& CLID_MdcDigi;
10
11/*
12 *
13 */
14
15class MdcDigi : public RawData {
16public:
17 // Constructor
18 MdcDigi(const Identifier& id, const unsigned int timeChannel, const unsigned int chargeChannel);
19 MdcDigi(const unsigned int id);
20
21
22 // Set Overflow Flag
23 void setOverflow(const unsigned int overflow) { m_overflow = overflow; }
24
25 // Get Overflow Flag
26 unsigned int getOverflow() const { return m_overflow; }
27 // Retrieve reference to class definition structure
28 virtual const CLID& clID() const { return MdcDigi::classID(); }
29 static const CLID& classID() { return CLID_MdcDigi; }
30
31 // Add two signals
32 MdcDigi &operator+=(const MdcDigi &);
33
34private:
35 unsigned int m_overflow;
36
37};
38
39typedef ObjectVector<MdcDigi> MdcDigiCol;
40
41#endif
const CLID & CLID_MdcDigi
ObjectVector< MdcDigi > MdcDigiCol
Definition MdcDigi.h:39
MdcDigi & operator+=(const MdcDigi &)
Definition MdcDigi.cxx:14
static const CLID & classID()
Definition MdcDigi.h:29
MdcDigi(const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
Definition MdcDigi.cxx:3
unsigned int getOverflow() const
Definition MdcDigi.h:26
void setOverflow(const unsigned int overflow)
Definition MdcDigi.h:23
virtual const CLID & clID() const
Definition MdcDigi.h:28