#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 &) | |
RecZddChannel & | operator= (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 () |
Private Attributes | |
int | m_chId |
int | m_scanCode |
int | m_baseLine |
int | m_phase |
std::vector< FragType > | m_frags |
Definition at line 11 of file RecZddChannel.h.
typedef std::pair<int, float> RecZddChannel::FragType |
Definition at line 15 of file RecZddChannel.h.
RecZddChannel::RecZddChannel | ( | ) |
Definition at line 3 of file RecZddChannel.cxx.
00004 : m_chId(-1),m_scanCode(-1),m_baseLine(-1),m_phase(-1) 00005 { 00006 }
RecZddChannel::~RecZddChannel | ( | ) | [virtual] |
RecZddChannel::RecZddChannel | ( | const RecZddChannel & | ) |
Definition at line 12 of file RecZddChannel.cxx.
00013 : ContainedObject(val), 00014 m_chId(val.m_chId), 00015 m_scanCode(val.m_scanCode), 00016 m_baseLine(val.m_baseLine), 00017 m_phase(val.m_phase), 00018 m_frags(val.m_frags) 00019 { 00020 }
void RecZddChannel::addFragment | ( | const FragType & | fragment | ) | [inline] |
Definition at line 39 of file RecZddChannel.h.
References m_frags.
00039 { m_frags.push_back(fragment); }
void RecZddChannel::addFragment | ( | int | time, | |
float | energy | |||
) | [inline] |
Definition at line 38 of file RecZddChannel.h.
References m_frags.
Referenced by ZddReconAlg::execute().
int RecZddChannel::baseLine | ( | ) | const [inline] |
int RecZddChannel::channelId | ( | ) | const [inline] |
static const CLID& RecZddChannel::classID | ( | ) | [inline, static] |
Definition at line 18 of file RecZddChannel.h.
References CLID_RecZddChannel.
Referenced by clID().
00018 { return CLID_RecZddChannel; }
virtual const CLID& RecZddChannel::clID | ( | ) | const [inline, virtual] |
Definition at line 17 of file RecZddChannel.h.
References classID().
00017 { return RecZddChannel::classID(); }
const std::vector<FragType>& RecZddChannel::fragments | ( | ) | const [inline] |
RecZddChannel & RecZddChannel::operator= | ( | const RecZddChannel & | ) |
Definition at line 22 of file RecZddChannel.cxx.
References m_baseLine, m_chId, m_frags, m_phase, and m_scanCode.
00023 { 00024 this->ContainedObject::operator=(val); 00025 m_chId = val.m_chId; 00026 m_scanCode = val.m_scanCode; 00027 m_baseLine = val.m_baseLine; 00028 m_phase = val.m_phase; 00029 m_frags = val.m_frags; 00030 00031 return (*this); 00032 }
int RecZddChannel::phase | ( | ) | const [inline] |
int RecZddChannel::scanCode | ( | ) | const [inline] |
void RecZddChannel::setBaseLine | ( | int | baseLine | ) | [inline] |
Definition at line 34 of file RecZddChannel.h.
References m_baseLine.
Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().
00034 { m_baseLine = baseLine; }
void RecZddChannel::setChannelId | ( | int | chId | ) | [inline] |
Definition at line 32 of file RecZddChannel.h.
References m_chId.
Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().
00032 { m_chId = chId; }
void RecZddChannel::setFragments | ( | const std::vector< FragType > & | frags | ) | [inline] |
Definition at line 36 of file RecZddChannel.h.
References m_frags.
Referenced by RecZddChannelCnv::TObjectToDataObject().
00036 { m_frags = frags; }
void RecZddChannel::setPhase | ( | int | phase | ) | [inline] |
Definition at line 35 of file RecZddChannel.h.
References m_phase.
Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().
void RecZddChannel::setScanCode | ( | int | scanCode | ) | [inline] |
Definition at line 33 of file RecZddChannel.h.
References m_scanCode.
Referenced by ZddReconAlg::execute(), and RecZddChannelCnv::TObjectToDataObject().
00033 { m_scanCode = scanCode; }
int RecZddChannel::m_baseLine [private] |
Definition at line 45 of file RecZddChannel.h.
Referenced by baseLine(), operator=(), and setBaseLine().
int RecZddChannel::m_chId [private] |
Definition at line 43 of file RecZddChannel.h.
Referenced by channelId(), operator=(), and setChannelId().
std::vector<FragType> RecZddChannel::m_frags [private] |
Definition at line 47 of file RecZddChannel.h.
Referenced by addFragment(), fragments(), operator=(), and setFragments().
int RecZddChannel::m_phase [private] |
int RecZddChannel::m_scanCode [private] |
Definition at line 44 of file RecZddChannel.h.
Referenced by operator=(), scanCode(), and setScanCode().