CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
CgemDigi.h
Go to the documentation of this file.
1#ifndef CgemDigi_H
2#define CgemDigi_H
3#include <vector>
4#include "GaudiKernel/ObjectVector.h"
5#include "RawEvent/RawData.h"
8
9using namespace EventModel;
10extern const CLID& CLID_CgemDigi;
11
12class CgemDigi : public RawData {
13public:
14 // Constructor
15 CgemDigi(const Identifier& id, const unsigned int timeChannel, const unsigned int chargeChannel);
16 CgemDigi(const unsigned int id);
17
18 // Set Overflow Flag
19 void setOverflow(const unsigned int overflow) { m_overflow = overflow; }
20
21 // Get Overflow Flag
22 unsigned int getOverflow() const { return m_overflow; }
23
24 // Retrieve reference to class definition structure
25 virtual const CLID& clID() const { return CgemDigi::classID(); }
26 static const CLID& classID() { return CLID_CgemDigi; }
27
28 // Add two signals
30
31 // set and get T (ns) & Q (fc)
32 void setTime_ns(double t) {m_time_ns=t;};
33 void setCharge_fc(double q) {m_charge_fc=q;};
34 double getTime_ns() {return m_time_ns;};
35 double getCharge_fc() {return m_charge_fc;};
36
37private:
38 unsigned int m_overflow;
39 double m_time_ns;
40 double m_charge_fc;
41};
42
43typedef ObjectVector<CgemDigi> CgemDigiCol;
44
45#endif
46
ObjectVector< CgemDigi > CgemDigiCol
Definition: CgemDigi.h:43
const CLID & CLID_CgemDigi
Definition: EventModel.cxx:277
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
Definition: KKsem.h:33
double getCharge_fc()
Definition: CgemDigi.h:35
void setCharge_fc(double q)
Definition: CgemDigi.h:33
void setOverflow(const unsigned int overflow)
Definition: CgemDigi.h:19
CgemDigi & operator+=(const CgemDigi &)
Definition: CgemDigi.cxx:14
double getTime_ns()
Definition: CgemDigi.h:34
virtual const CLID & clID() const
Definition: CgemDigi.h:25
unsigned int getOverflow() const
Definition: CgemDigi.h:22
void setTime_ns(double t)
Definition: CgemDigi.h:32
static const CLID & classID()
Definition: CgemDigi.h:26
int t()
Definition: t.c:1