List of all members | Public Member Functions
mevt::Channel Class Reference

Channel level event data. More...

#include "mevt/Channel.h"

Public Member Functions

int GetId () const
 
utl::TraceBGetTrace ()
 
const utl::TraceBGetTrace () const
 
utl::TimeStamp GetTraceStartTime () const
 Return the timestamp associated with the start of the trace. The timestamp of the first bin of the trace. More...
 
bool HasTrace () const
 
bool HasTraceStartTime () const
 
bool IsMasked () const
 
void MakeTrace ()
 
void SetMask (bool mask)
 
void SetTraceStartTime (const utl::TimeStamp &t)
 Stablish the timestamp associated with the start of the trace. More...
 

Channel reconstruction data.

class evt::ComponentGroup< Channel >
 Friendship to allow creation. More...
 
template<class T >
void boost::checked_delete (T *) BOOST_NOEXCEPT
 Friendship for destruction. More...
 
utl::ShadowPtr< utl::TraceBfTrace
 
utl::ShadowPtr< utl::TimeStampfTimeStamp
 
int fId = -1
 
bool fMasked = false
 
utl::ShadowPtr< ChannelRecDatafRecData
 
ChannelRecDataGetRecData ()
 
const ChannelRecDataGetRecData () const
 
void MakeRecData ()
 
bool HasRecData () const
 
 Channel (const int cId)
 Constructs the Channel with the given identificator. More...
 
 ~Channel ()
 

Detailed Description

Channel level event data.

Author
Rodolfo Federico Gamarra
Date
08 Mar 2009

Definition at line 23 of file MEvent/Channel.h.

Constructor & Destructor Documentation

mevt::Channel::Channel ( const int  cId)
inlineprivate

Constructs the Channel with the given identificator.

Definition at line 79 of file MEvent/Channel.h.

mevt::Channel::~Channel ( )
inlineprivate

Definition at line 81 of file MEvent/Channel.h.

Member Function Documentation

int mevt::Channel::GetId ( ) const
inline
ChannelRecData& mevt::Channel::GetRecData ( )
inline
const ChannelRecData& mevt::Channel::GetRecData ( ) const
inline

Definition at line 68 of file MEvent/Channel.h.

References fRecData.

utl::TraceB & mevt::Channel::GetTrace ( )
const utl::TraceB & mevt::Channel::GetTrace ( ) const

Definition at line 14 of file MEvent/Channel.cc.

References fTrace.

utl::TimeStamp mevt::Channel::GetTraceStartTime ( ) const
inline

Return the timestamp associated with the start of the trace. The timestamp of the first bin of the trace.

Definition at line 38 of file MEvent/Channel.h.

References fTimeStamp.

Referenced by otoa::MD2ADST::MakeChannel(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::SimulateElectronics(), and MdCounterSimulatorAG::MdCounterSimulator::SimulateElectronics().

bool mevt::Channel::HasRecData ( ) const
inline
bool mevt::Channel::HasTrace ( ) const
bool mevt::Channel::HasTraceStartTime ( ) const
inline

Definition at line 45 of file MEvent/Channel.h.

References fTimeStamp.

Referenced by otoa::MD2ADST::MakeChannel().

bool mevt::Channel::IsMasked ( ) const
inline
void mevt::Channel::MakeRecData ( )
void mevt::Channel::MakeTrace ( )
void mevt::Channel::SetMask ( bool  mask)
inline

Definition at line 57 of file MEvent/Channel.h.

References fMasked.

Referenced by evt::ConvertIoMdToEvent().

void mevt::Channel::SetTraceStartTime ( const utl::TimeStamp t)
inline

Stablish the timestamp associated with the start of the trace.

Definition at line 43 of file MEvent/Channel.h.

References fTimeStamp.

Referenced by MdMuonCounterAG::MdMuonCounter::Run().

Friends And Related Function Documentation

template<class T >
void boost::checked_delete ( T *  )
friend

Friendship for destruction.

Depends on evt::ComponentGroup innards.

friend class evt::ComponentGroup< Channel >
friend

Friendship to allow creation.

Definition at line 87 of file MEvent/Channel.h.

Member Data Documentation

int mevt::Channel::fId = -1
private

Definition at line 110 of file MEvent/Channel.h.

Referenced by GetId().

bool mevt::Channel::fMasked = false
private

Definition at line 111 of file MEvent/Channel.h.

Referenced by IsMasked(), and SetMask().

utl::ShadowPtr<ChannelRecData> mevt::Channel::fRecData
private

Definition at line 112 of file MEvent/Channel.h.

Referenced by GetRecData(), HasRecData(), and MakeRecData().

utl::ShadowPtr<utl::TimeStamp> mevt::Channel::fTimeStamp
private

Definition at line 109 of file MEvent/Channel.h.

Referenced by GetTraceStartTime(), HasTraceStartTime(), and SetTraceStartTime().

utl::ShadowPtr<utl::TraceB> mevt::Channel::fTrace
private

Definition at line 108 of file MEvent/Channel.h.

Referenced by GetTrace(), HasTrace(), and MakeTrace().


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

, generated on Tue Sep 26 2023.