BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcRawEvent/include/MdcRawEvent/MdcDigi.h
Go to the documentation of this file.
1#ifndef MdcDigi_H
2#define MdcDigi_H
3#include "EventModel/EventModel.h"
4#include "GaudiKernel/ObjectVector.h"
5#include "RawEvent/RawData.h"
6#include <vector>
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,
19 const unsigned int chargeChannel );
20 MdcDigi( const unsigned int id );
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
33
34private:
35 unsigned int m_overflow;
36};
37
38typedef ObjectVector<MdcDigi> MdcDigiCol;
39
40#endif
const CLID & CLID_MdcDigi
const CLID & CLID_MdcDigi
MdcDigi & operator+=(const MdcDigi &)
MdcDigi(const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
MdcDigi(const unsigned int id)
void setOverflow(const unsigned int overflow)
virtual const CLID & clID() const