RecZddChannel Class Reference

#include <RecZddChannel.h>

Inheritance diagram for RecZddChannel:

ContainedObject List of all members.

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 ()

Private Attributes

int m_chId
int m_scanCode
int m_baseLine
int m_phase
std::vector< FragTypem_frags

Detailed Description

Definition at line 11 of file RecZddChannel.h.


Member Typedef Documentation

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

Definition at line 15 of file RecZddChannel.h.


Constructor & Destructor Documentation

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]

Definition at line 8 of file RecZddChannel.cxx.

00009 {
00010 }

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 }


Member Function Documentation

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().

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

int RecZddChannel::baseLine (  )  const [inline]

Definition at line 28 of file RecZddChannel.h.

References m_baseLine.

00028 { return m_baseLine; }

int RecZddChannel::channelId (  )  const [inline]

Definition at line 26 of file RecZddChannel.h.

References m_chId.

00026 { return m_chId; }

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]

Definition at line 30 of file RecZddChannel.h.

References m_frags.

00030 { return m_frags; }

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]

Definition at line 29 of file RecZddChannel.h.

References m_phase.

00029 { return m_phase; }

int RecZddChannel::scanCode (  )  const [inline]

Definition at line 27 of file RecZddChannel.h.

References m_scanCode.

00027 { return m_scanCode; }

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().

00035 { m_phase = phase; }

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; }


Member Data Documentation

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]

Definition at line 46 of file RecZddChannel.h.

Referenced by operator=(), phase(), and setPhase().

int RecZddChannel::m_scanCode [private]

Definition at line 44 of file RecZddChannel.h.

Referenced by operator=(), scanCode(), and setScanCode().


Generated on Tue Nov 29 23:20:59 2016 for BOSS_7.0.2 by  doxygen 1.4.7