BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
HltRaw Class Reference

#include <HltRaw.h>

+ Inheritance diagram for HltRaw:

Public Member Functions

 HltRaw (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 
 HltRaw (const unsigned int id)
 
void setIntChannel (const unsigned int intChannel)
 
unsigned int getIntChannel ()
 
void setFloatChannel (const float value)
 
float getFloatChannel ()
 
virtual const CLID & clID () const
 
 HltRaw (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 
 HltRaw (const unsigned int id)
 
void setIntChannel (const unsigned int intChannel)
 
unsigned int getIntChannel ()
 
void setFloatChannel (const float value)
 
float getFloatChannel ()
 
virtual const CLID & clID () const
 
- 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

◆ HltRaw() [1/4]

HltRaw::HltRaw ( const Identifier id,
const unsigned int  timeChannel = 0,
const unsigned int  chargeChannel = 0 
)

Definition at line 3 of file HltRaw.cxx.

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

◆ HltRaw() [2/4]

HltRaw::HltRaw ( const unsigned int  id)

Definition at line 7 of file HltRaw.cxx.

7 :
8 RawData(id){
9}

◆ HltRaw() [3/4]

HltRaw::HltRaw ( const Identifier id,
const unsigned int  timeChannel = 0,
const unsigned int  chargeChannel = 0 
)

◆ HltRaw() [4/4]

HltRaw::HltRaw ( const unsigned int  id)

Member Function Documentation

◆ classID() [1/2]

static const CLID & HltRaw::classID ( )
inlinestatic

Definition at line 29 of file Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h.

29{ return CLID_HltRaw; }
const CLID & CLID_HltRaw
Definition: EventModel.cxx:284

Referenced by clID().

◆ classID() [2/2]

static const CLID & HltRaw::classID ( )
inlinestatic

Definition at line 29 of file InstallArea/include/HltEvent/HltEvent/HltRaw.h.

29{ return CLID_HltRaw; }

◆ clID() [1/2]

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

Definition at line 28 of file Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h.

28{ return HltRaw::classID(); }

Referenced by main().

◆ clID() [2/2]

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

Definition at line 28 of file InstallArea/include/HltEvent/HltEvent/HltRaw.h.

28{ return HltRaw::classID(); }

◆ getFloatChannel() [1/2]

float HltRaw::getFloatChannel ( )
inline

Definition at line 25 of file Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h.

25{return *((float*)(&m_chargeChannel));};

◆ getFloatChannel() [2/2]

float HltRaw::getFloatChannel ( )
inline

Definition at line 25 of file InstallArea/include/HltEvent/HltEvent/HltRaw.h.

25{return *((float*)(&m_chargeChannel));};

◆ getIntChannel() [1/2]

unsigned int HltRaw::getIntChannel ( )
inline

Definition at line 22 of file Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h.

22{return getTimeChannel();};
unsigned int getTimeChannel() const
Definition: RawData.cxx:40

◆ getIntChannel() [2/2]

unsigned int HltRaw::getIntChannel ( )
inline

Definition at line 22 of file InstallArea/include/HltEvent/HltEvent/HltRaw.h.

22{return getTimeChannel();};

◆ setFloatChannel() [1/2]

void HltRaw::setFloatChannel ( const float  value)
inline

Definition at line 24 of file Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h.

24{m_chargeChannel= *((unsigned int*)(&value));};

Referenced by EFtoTDS::execute().

◆ setFloatChannel() [2/2]

void HltRaw::setFloatChannel ( const float  value)
inline

Definition at line 24 of file InstallArea/include/HltEvent/HltEvent/HltRaw.h.

24{m_chargeChannel= *((unsigned int*)(&value));};

◆ setIntChannel() [1/2]

void HltRaw::setIntChannel ( const unsigned int  intChannel)
inline

Definition at line 21 of file Event/HltEvent/HltEvent-00-02-07/HltEvent/HltRaw.h.

21{setTimeChannel(intChannel);};
void setTimeChannel(const unsigned int timeChannel)
Definition: RawData.cxx:25

Referenced by RawDataHltRawCnv::createObj(), and EFtoTDS::execute().

◆ setIntChannel() [2/2]

void HltRaw::setIntChannel ( const unsigned int  intChannel)
inline

Definition at line 21 of file InstallArea/include/HltEvent/HltEvent/HltRaw.h.

21{setTimeChannel(intChannel);};

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