BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/LumiDigi/LumiDigi-00-00-02/LumiDigi/LumiDigi.h
Go to the documentation of this file.
1#ifndef LumiDigi_H
2#define LumiDigi_H
3
4#include "GaudiKernel/ObjectVector.h"
5#include "RawEvent/RawData.h"
6#include "TofRawEvent/TofDigi.h"
7
8extern const CLID& CLID_LumiDigi;
9
10class LumiDigi : public RawData {
11
12public:
13 // Constructor
14 LumiDigi(const Identifier& id, const unsigned int timeChannel, const unsigned int chargeChannel);
15 LumiDigi(const unsigned int id);
16 LumiDigi(TofDigi* tofDigi);
17
18 // Set Overflow Flag
19 void setOverflow(const unsigned int overflow) { m_overflow = overflow; }
20
21 // Get Overflow Flag
22 unsigned int getOverflow() {
23 return m_overflow;
24 }
25
26 // Retrieve reference to class definition structure
27 virtual const CLID& clID() const { return LumiDigi::classID(); }
28 static const CLID& classID() { return CLID_LumiDigi; }
29
30
31private:
32 unsigned int m_overflow;
33
34};
35
36typedef ObjectVector<LumiDigi> LumiDigiCol;
37
38#endif
const CLID & CLID_LumiDigi
Definition: EventModel.cxx:246
ObjectVector< LumiDigi > LumiDigiCol
const CLID & CLID_LumiDigi
Definition: EventModel.cxx:246
void setOverflow(const unsigned int overflow)