List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
fevt::Channel Class Reference

Fluorescence Detector Channel Event. More...

#include <Channel.h>

Public Types

enum  Status {
  eUnknown = 0, eExists, eInDAQ, eDeSelected,
  eNoise, eVeto, eHasData
}
 Possible (electronic) channel status. More...
 

Public Member Functions

unsigned int GetEyeId () const
 
unsigned int GetId () const
 
ChannelRecDataGetRecData ()
 
const ChannelRecDataGetRecData () const
 
ChannelSimDataGetSimData ()
 
const ChannelSimDataGetSimData () const
 
Status GetStatus () const
 
unsigned int GetTelescopeId () const
 
bool HasRecData () const
 
bool HasSimData () const
 
void MakeRecData ()
 
void MakeSimData ()
 
void SetStatus (Status status)
 

Private Member Functions

 Channel (const unsigned int eyeId, const unsigned int telescopeId, const unsigned int channelId, const Status status=eHasData)
 
void CorrectIds (const unsigned int eyeId, const unsigned int telescopeId)
 
 ~Channel ()
 

Private Attributes

unsigned int fEyeId
 
unsigned int fId
 
utl::ShadowPtr< ChannelRecDatafRecData
 
utl::ShadowPtr< ChannelSimDatafSimData
 
Status fStatus
 
unsigned int fTelescopeId
 

Friends

class Telescope
 

Detailed Description

Fluorescence Detector Channel Event.

Describes the event as seen by an electronics channel

Author
Stefano Argiro'
Date
Jan 29, 2003

Definition at line 24 of file FEvent/Channel.h.

Member Enumeration Documentation

Possible (electronic) channel status.

Enumerator
eUnknown 
eExists 
eInDAQ 
eDeSelected 
eNoise 
eVeto 
eHasData 

Definition at line 28 of file FEvent/Channel.h.

Constructor & Destructor Documentation

fevt::Channel::Channel ( const unsigned int  eyeId,
const unsigned int  telescopeId,
const unsigned int  channelId,
const Status  status = eHasData 
)
inlineprivate

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

fevt::Channel::~Channel ( )
inlineprivate

Definition at line 62 of file FEvent/Channel.h.

Member Function Documentation

void fevt::Channel::CorrectIds ( const unsigned int  eyeId,
const unsigned int  telescopeId 
)
inlineprivate

Definition at line 63 of file FEvent/Channel.h.

References fEyeId, and fTelescopeId.

unsigned int fevt::Channel::GetEyeId ( ) const
inline

Definition at line 41 of file FEvent/Channel.h.

References fEyeId.

Referenced by fdet::FDetector::GetChannel(), and fdet::FDetector::GetPixel().

unsigned int fevt::Channel::GetId ( ) const
inline
ChannelRecData& fevt::Channel::GetRecData ( )
inline
const ChannelRecData& fevt::Channel::GetRecData ( ) const
inline

Definition at line 49 of file FEvent/Channel.h.

References fRecData.

ChannelSimData& fevt::Channel::GetSimData ( )
inline
const ChannelSimData& fevt::Channel::GetSimData ( ) const
inline

Definition at line 44 of file FEvent/Channel.h.

References fSimData.

Status fevt::Channel::GetStatus ( ) const
inline

Definition at line 54 of file FEvent/Channel.h.

References fStatus.

unsigned int fevt::Channel::GetTelescopeId ( ) const
inline
bool fevt::Channel::HasRecData ( ) const
inline
bool fevt::Channel::HasSimData ( ) const
inline
void Channel::MakeRecData ( )
void Channel::MakeSimData ( )
void fevt::Channel::SetStatus ( Status  status)
inline

Definition at line 53 of file FEvent/Channel.h.

References fStatus.

Referenced by io::Channel_ROOT::operator>>().

Friends And Related Function Documentation

friend class Telescope
friend

Definition at line 76 of file FEvent/Channel.h.

Member Data Documentation

unsigned int fevt::Channel::fEyeId
private

Definition at line 69 of file FEvent/Channel.h.

Referenced by CorrectIds(), and GetEyeId().

unsigned int fevt::Channel::fId
private

Definition at line 67 of file FEvent/Channel.h.

Referenced by GetId().

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

Definition at line 72 of file FEvent/Channel.h.

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

utl::ShadowPtr<ChannelSimData> fevt::Channel::fSimData
private

Definition at line 71 of file FEvent/Channel.h.

Referenced by GetSimData(), HasSimData(), and MakeSimData().

Status fevt::Channel::fStatus
private

Definition at line 74 of file FEvent/Channel.h.

Referenced by GetStatus(), and SetStatus().

unsigned int fevt::Channel::fTelescopeId
private

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

Referenced by CorrectIds(), and GetTelescopeId().


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

, generated on Tue Sep 26 2023.