BOSS 7.0.1
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
 
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)
 
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 ()
 
static const CLID & classID ()
 

Detailed Description

Member Typedef Documentation

◆ FragType [1/2]

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

◆ FragType [2/2]

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

Constructor & Destructor Documentation

◆ RecZddChannel() [1/4]

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() [1/2]

RecZddChannel::~RecZddChannel ( )
virtual

Definition at line 8 of file RecZddChannel.cxx.

9{
10}

◆ RecZddChannel() [2/4]

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}

◆ RecZddChannel() [3/4]

RecZddChannel::RecZddChannel ( )

◆ ~RecZddChannel() [2/2]

virtual RecZddChannel::~RecZddChannel ( )
virtual

◆ RecZddChannel() [4/4]

RecZddChannel::RecZddChannel ( const RecZddChannel )

Member Function Documentation

◆ addFragment() [1/4]

void RecZddChannel::addFragment ( const FragType fragment)
inline

Definition at line 39 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

39{ m_frags.push_back(fragment); }

◆ addFragment() [2/4]

void RecZddChannel::addFragment ( const FragType fragment)
inline

Definition at line 39 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

39{ m_frags.push_back(fragment); }

◆ addFragment() [3/4]

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

Definition at line 38 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

38{ m_frags.push_back(std::make_pair(time, energy)); }
Double_t time
************Class m_ypar INTEGER m_KeyWgt INTEGER m_nphot 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().

◆ addFragment() [4/4]

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

Definition at line 38 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

38{ m_frags.push_back(std::make_pair(time, energy)); }

◆ baseLine() [1/2]

int RecZddChannel::baseLine ( ) const
inline

Definition at line 28 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

28{ return m_baseLine; }

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

◆ baseLine() [2/2]

int RecZddChannel::baseLine ( ) const
inline

Definition at line 28 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

28{ return m_baseLine; }

◆ channelId() [1/2]

int RecZddChannel::channelId ( ) const
inline

Definition at line 26 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

26{ return m_chId; }

Referenced by RecZddChannelCnv::DataObjectToTObject().

◆ channelId() [2/2]

int RecZddChannel::channelId ( ) const
inline

Definition at line 26 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

26{ return m_chId; }

◆ classID() [1/2]

static const CLID & RecZddChannel::classID ( )
inlinestatic

Definition at line 18 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

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

Referenced by clID().

◆ classID() [2/2]

static const CLID & RecZddChannel::classID ( )
inlinestatic

◆ clID() [1/2]

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

◆ clID() [2/2]

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

◆ fragments() [1/2]

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

Definition at line 30 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

30{ return m_frags; }

Referenced by RecZddChannelCnv::DataObjectToTObject().

◆ fragments() [2/2]

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

Definition at line 30 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

30{ return m_frags; }

◆ operator=() [1/2]

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}

◆ operator=() [2/2]

RecZddChannel & RecZddChannel::operator= ( const RecZddChannel )

◆ phase() [1/2]

int RecZddChannel::phase ( ) const
inline

Definition at line 29 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

29{ return m_phase; }

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

◆ phase() [2/2]

int RecZddChannel::phase ( ) const
inline

Definition at line 29 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

29{ return m_phase; }

◆ scanCode() [1/2]

int RecZddChannel::scanCode ( ) const
inline

Definition at line 27 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

27{ return m_scanCode; }

Referenced by setScanCode().

◆ scanCode() [2/2]

int RecZddChannel::scanCode ( ) const
inline

Definition at line 27 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

27{ return m_scanCode; }

◆ setBaseLine() [1/2]

void RecZddChannel::setBaseLine ( int  baseLine)
inline

◆ setBaseLine() [2/2]

void RecZddChannel::setBaseLine ( int  baseLine)
inline

Definition at line 34 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

34{ m_baseLine = baseLine; }

◆ setChannelId() [1/2]

void RecZddChannel::setChannelId ( int  chId)
inline

◆ setChannelId() [2/2]

void RecZddChannel::setChannelId ( int  chId)
inline

Definition at line 32 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

32{ m_chId = chId; }

◆ setFragments() [1/2]

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

Definition at line 36 of file Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/RecZddChannel.h.

36{ m_frags = frags; }

Referenced by RecZddChannelCnv::TObjectToDataObject().

◆ setFragments() [2/2]

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

Definition at line 36 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

36{ m_frags = frags; }

◆ setPhase() [1/2]

void RecZddChannel::setPhase ( int  phase)
inline

◆ setPhase() [2/2]

void RecZddChannel::setPhase ( int  phase)
inline

Definition at line 35 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

35{ m_phase = phase; }

◆ setScanCode() [1/2]

void RecZddChannel::setScanCode ( int  scanCode)
inline

◆ setScanCode() [2/2]

void RecZddChannel::setScanCode ( int  scanCode)
inline

Definition at line 33 of file InstallArea/include/ZddEvent/ZddEvent/RecZddChannel.h.

33{ m_scanCode = scanCode; }

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