BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
RecZddChannel Class Reference

#include <RecZddChannel.h>

+ Inheritance diagram for RecZddChannel:

Public Types

typedef std::pair< int, float > FragType
 

Public Member Functions

virtual const CLID & clID () const
 
 RecZddChannel ()
 
virtual ~RecZddChannel ()
 
 RecZddChannel (const RecZddChannel &)
 
RecZddChanneloperator= (const RecZddChannel &)
 
int channelId () const
 
int scanCode () const
 
int baseLine () const
 
int phase () const
 
const std::vector< FragType > & fragments () const
 
void setChannelId (int chId)
 
void setScanCode (int scanCode)
 
void setBaseLine (int baseLine)
 
void setPhase (int phase)
 
void setFragments (const std::vector< FragType > &frags)
 
void addFragment (int time, float energy)
 
void addFragment (const FragType &fragment)
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 11 of file RecZddChannel.h.

Member Typedef Documentation

◆ FragType

typedef std::pair<int, float> RecZddChannel::FragType

Definition at line 15 of file RecZddChannel.h.

Constructor & Destructor Documentation

◆ RecZddChannel() [1/2]

RecZddChannel::RecZddChannel ( )

Definition at line 3 of file RecZddChannel.cxx.

4 : m_chId(-1),m_scanCode(-1),m_baseLine(-1),m_phase(-1)
5{
6}

◆ ~RecZddChannel()

RecZddChannel::~RecZddChannel ( )
virtual

Definition at line 8 of file RecZddChannel.cxx.

9{
10}

◆ RecZddChannel() [2/2]

RecZddChannel::RecZddChannel ( const RecZddChannel val)

Definition at line 12 of file RecZddChannel.cxx.

13 : ContainedObject(val),
14 m_chId(val.m_chId),
15 m_scanCode(val.m_scanCode),
16 m_baseLine(val.m_baseLine),
17 m_phase(val.m_phase),
18 m_frags(val.m_frags)
19{
20}

Member Function Documentation

◆ addFragment() [1/2]

void RecZddChannel::addFragment ( const FragType fragment)
inline

Definition at line 39 of file RecZddChannel.h.

39{ m_frags.push_back(fragment); }

◆ addFragment() [2/2]

void RecZddChannel::addFragment ( int  time,
float  energy 
)
inline

Definition at line 38 of file RecZddChannel.h.

38{ m_frags.push_back(std::make_pair(time, energy)); }
************Class m_ypar INTEGER m_KeyWgt INTEGER m_KeyIHVP INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy
Definition: KK2f.h:50

Referenced by ZddReconAlg::execute().

◆ baseLine()

int RecZddChannel::baseLine ( ) const
inline

Definition at line 28 of file RecZddChannel.h.

28{ return m_baseLine; }

Referenced by RecZddChannelCnv::DataObjectToTObject(), and setBaseLine().

◆ channelId()

int RecZddChannel::channelId ( ) const
inline

Definition at line 26 of file RecZddChannel.h.

26{ return m_chId; }

Referenced by RecZddChannelCnv::DataObjectToTObject().

◆ classID()

static const CLID & RecZddChannel::classID ( )
inlinestatic

Definition at line 18 of file RecZddChannel.h.

18{ return CLID_RecZddChannel; }
const CLID & CLID_RecZddChannel
Definition: EventModel.cxx:366

Referenced by clID().

◆ clID()

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

Definition at line 17 of file RecZddChannel.h.

17{ return RecZddChannel::classID(); }
static const CLID & classID()
Definition: RecZddChannel.h:18

◆ fragments()

const std::vector< FragType > & RecZddChannel::fragments ( ) const
inline

Definition at line 30 of file RecZddChannel.h.

30{ return m_frags; }

Referenced by RecZddChannelCnv::DataObjectToTObject().

◆ operator=()

RecZddChannel & RecZddChannel::operator= ( const RecZddChannel val)

Definition at line 22 of file RecZddChannel.cxx.

23{
24 this->ContainedObject::operator=(val);
25 m_chId = val.m_chId;
26 m_scanCode = val.m_scanCode;
27 m_baseLine = val.m_baseLine;
28 m_phase = val.m_phase;
29 m_frags = val.m_frags;
30
31 return (*this);
32}

◆ phase()

int RecZddChannel::phase ( ) const
inline

Definition at line 29 of file RecZddChannel.h.

29{ return m_phase; }

Referenced by RecZddChannelCnv::DataObjectToTObject(), and setPhase().

◆ scanCode()

int RecZddChannel::scanCode ( ) const
inline

Definition at line 27 of file RecZddChannel.h.

27{ return m_scanCode; }

Referenced by setScanCode().

◆ setBaseLine()

void RecZddChannel::setBaseLine ( int  baseLine)
inline

Definition at line 34 of file RecZddChannel.h.

34{ m_baseLine = baseLine; }
int baseLine() const
Definition: RecZddChannel.h:28

Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().

◆ setChannelId()

void RecZddChannel::setChannelId ( int  chId)
inline

Definition at line 32 of file RecZddChannel.h.

32{ m_chId = chId; }

Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().

◆ setFragments()

void RecZddChannel::setFragments ( const std::vector< FragType > &  frags)
inline

Definition at line 36 of file RecZddChannel.h.

36{ m_frags = frags; }

Referenced by RecZddChannelCnv::TObjectToDataObject().

◆ setPhase()

void RecZddChannel::setPhase ( int  phase)
inline

Definition at line 35 of file RecZddChannel.h.

35{ m_phase = phase; }
int phase() const
Definition: RecZddChannel.h:29

Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().

◆ setScanCode()

void RecZddChannel::setScanCode ( int  scanCode)
inline

Definition at line 33 of file RecZddChannel.h.

33{ m_scanCode = scanCode; }
int scanCode() const
Definition: RecZddChannel.h:27

Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().


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