CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
CgemDigi Class Reference

#include <CgemDigi.h>

+ Inheritance diagram for CgemDigi:

Public Member Functions

 CgemDigi (const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
 
 CgemDigi (const unsigned int id)
 
void setOverflow (const unsigned int overflow)
 
unsigned int getOverflow () const
 
virtual const CLID & clID () const
 
CgemDigioperator+= (const CgemDigi &)
 
void setTime_ns (double t)
 
void setCharge_fc (double q)
 
double getTime_ns ()
 
double getCharge_fc ()
 
 CgemDigi (const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
 
 CgemDigi (const unsigned int id)
 
void setOverflow (const unsigned int overflow)
 
unsigned int getOverflow () const
 
virtual const CLID & clID () const
 
CgemDigioperator+= (const CgemDigi &)
 
void setTime_ns (double t)
 
void setCharge_fc (double q)
 
double getTime_ns ()
 
double getCharge_fc ()
 
- Public Member Functions inherited from RawData
 RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 
 RawData (const unsigned int id)
 
void setTimeChannel (const unsigned int timeChannel)
 
void setChargeChannel (const unsigned int chargeChannel)
 
void setTrackIndex (const int trackIndex)
 
virtual Identifier identify () const
 
unsigned int getIntId () const
 
unsigned int getTimeChannel () const
 
unsigned int getChargeChannel () const
 
int getTrackIndex () const
 
RawDataoperator+= (const RawData &)
 
virtual StreamBuffer & serialize (StreamBuffer &s) const
 Serialize the object for writing.
 
virtual StreamBuffer & serialize (StreamBuffer &s)
 
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
 
 RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 
 RawData (const unsigned int id)
 
void setTimeChannel (const unsigned int timeChannel)
 
void setChargeChannel (const unsigned int chargeChannel)
 
void setTrackIndex (const int trackIndex)
 
virtual Identifier identify () const
 
unsigned int getIntId () const
 
unsigned int getTimeChannel () const
 
unsigned int getChargeChannel () const
 
int getTrackIndex () const
 
RawDataoperator+= (const RawData &)
 
virtual StreamBuffer & serialize (StreamBuffer &s) const
 Serialize the object for writing.
 
virtual StreamBuffer & serialize (StreamBuffer &s)
 
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
 

Static Public Member Functions

static const CLID & classID ()
 
static const CLID & classID ()
 

Additional Inherited Members

- Protected Member Functions inherited from RawData
 RawData (const RawData &)
 
RawDataoperator= (const RawData &)
 
 RawData (const RawData &)
 
RawDataoperator= (const RawData &)
 
- Protected Attributes inherited from RawData
const Identifier m_id
 
unsigned int m_timeChannel
 
unsigned int m_chargeChannel
 
const unsigned int m_intId
 
int m_trackIndex
 

Detailed Description

Constructor & Destructor Documentation

◆ CgemDigi() [1/4]

CgemDigi::CgemDigi ( const Identifier id,
const unsigned int  timeChannel,
const unsigned int  chargeChannel 
)

Definition at line 3 of file CgemDigi.cxx.

3 :
4 RawData(id, timeChannel, chargeChannel),
5 m_overflow(0) {
6}

◆ CgemDigi() [2/4]

CgemDigi::CgemDigi ( const unsigned int  id)

Definition at line 8 of file CgemDigi.cxx.

8 :
9 RawData(id),
10 m_overflow(0) {
11}

◆ CgemDigi() [3/4]

CgemDigi::CgemDigi ( const Identifier id,
const unsigned int  timeChannel,
const unsigned int  chargeChannel 
)

◆ CgemDigi() [4/4]

CgemDigi::CgemDigi ( const unsigned int  id)

Member Function Documentation

◆ classID() [1/2]

static const CLID & CgemDigi::classID ( )
inlinestatic

Definition at line 26 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

26{ return CLID_CgemDigi; }
const CLID & CLID_CgemDigi
Definition: EventModel.cxx:277

Referenced by clID().

◆ classID() [2/2]

static const CLID & CgemDigi::classID ( )
inlinestatic

◆ clID() [1/2]

virtual const CLID & CgemDigi::clID ( ) const
inlinevirtual

◆ clID() [2/2]

virtual const CLID & CgemDigi::clID ( ) const
inlinevirtual

◆ getCharge_fc() [1/2]

double CgemDigi::getCharge_fc ( )
inline

Definition at line 35 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

35{return m_charge_fc;};

◆ getCharge_fc() [2/2]

double CgemDigi::getCharge_fc ( )
inline

Definition at line 35 of file InstallArea/include/CgemRawEvent/CgemRawEvent/CgemDigi.h.

35{return m_charge_fc;};

◆ getOverflow() [1/2]

unsigned int CgemDigi::getOverflow ( ) const
inline

Definition at line 22 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

22{ return m_overflow; }

◆ getOverflow() [2/2]

unsigned int CgemDigi::getOverflow ( ) const
inline

Definition at line 22 of file InstallArea/include/CgemRawEvent/CgemRawEvent/CgemDigi.h.

22{ return m_overflow; }

◆ getTime_ns() [1/2]

double CgemDigi::getTime_ns ( )
inline

Definition at line 34 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

34{return m_time_ns;};

◆ getTime_ns() [2/2]

double CgemDigi::getTime_ns ( )
inline

Definition at line 34 of file InstallArea/include/CgemRawEvent/CgemRawEvent/CgemDigi.h.

34{return m_time_ns;};

◆ operator+=() [1/2]

CgemDigi & CgemDigi::operator+= ( const CgemDigi digi)

Definition at line 14 of file CgemDigi.cxx.

15{
16 if(m_id != digi.identify()) // do nothing
17 return *this;
18
19 if(digi.getTimeChannel() < m_timeChannel){
21 }else{
22 this->setTrackIndex(this->getTrackIndex() + 1999); // track index = 1000+tkId
23 }
24 /*if(digi.getChargeChannel() < 100000 ){ //maxium is around 30000, a very big number means actually no Q value
25 m_chargeChannel += digi.getChargeChannel();
26 }*/
27 return *this;
28}
void setTrackIndex(const int trackIndex)
Definition: RawData.cxx:35
virtual Identifier identify() const
Definition: RawData.cxx:15
int getTrackIndex() const
Definition: RawData.cxx:50
unsigned int getTimeChannel() const
Definition: RawData.cxx:40

◆ operator+=() [2/2]

CgemDigi & CgemDigi::operator+= ( const CgemDigi )

◆ setCharge_fc() [1/2]

void CgemDigi::setCharge_fc ( double  q)
inline

Definition at line 33 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

33{m_charge_fc=q;};
****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

◆ setCharge_fc() [2/2]

void CgemDigi::setCharge_fc ( double  q)
inline

Definition at line 33 of file InstallArea/include/CgemRawEvent/CgemRawEvent/CgemDigi.h.

33{m_charge_fc=q;};

◆ setOverflow() [1/2]

void CgemDigi::setOverflow ( const unsigned int  overflow)
inline

Definition at line 19 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

19{ m_overflow = overflow; }

Referenced by CgemDigiCnv::TObjectToDataObject().

◆ setOverflow() [2/2]

void CgemDigi::setOverflow ( const unsigned int  overflow)
inline

Definition at line 19 of file InstallArea/include/CgemRawEvent/CgemRawEvent/CgemDigi.h.

19{ m_overflow = overflow; }

◆ setTime_ns() [1/2]

void CgemDigi::setTime_ns ( double  t)
inline

Definition at line 32 of file Cgem/CgemRawEvent/CgemRawEvent-00-00-03/CgemRawEvent/CgemDigi.h.

32{m_time_ns=t;};
int t()
Definition: t.c:1

◆ setTime_ns() [2/2]

void CgemDigi::setTime_ns ( double  t)
inline

Definition at line 32 of file InstallArea/include/CgemRawEvent/CgemRawEvent/CgemDigi.h.

32{m_time_ns=t;};

The documentation for this class was generated from the following files: