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

Description of the electronic channel for the 480 channels of the crate. More...

#include <Channel.h>

Public Member Functions

double GetADCVariance () const
 
double GetBaseline () const
 
double GetElectronicNoiseVariance () const
 
double GetElectronicsGain () const
 
unsigned int GetEyeId () const
 
double GetFADCBinSize () const
 
int GetFADCTraceLength () const
 
int GetFLTBoxcarSumLength () const
 
int GetFLTProlongation () const
 
double GetGainVariance () const
 
unsigned int GetId () const
 
unsigned int GetPixelId () const
 
int GetSLTTriggerBin () const
 
unsigned int GetTelescopeId () const
 
double GetThreshold () const
 
unsigned int GetVirtualChannelId () const
 
bool IsVirtual () const
 
void Update () const
 

Private Member Functions

 Channel (const unsigned int eyeId, const unsigned int telescopeId, const unsigned int channelId, const std::string &physEyeIdString, const std::string &physTelIdString)
 
 Channel (const Channel &)
 
template<typename T >
const T & GetChannelData (T *&requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
template<typename T >
void GetChannelData (T &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
Channeloperator= (const Channel &)
 
 ~Channel ()
 

Private Attributes

double * fADCVariance
 
double * fBaseline
 
unsigned int fChannelId
 
std::string fChannelIdStr
 
unsigned int fEyeId
 
std::string fPhysicalEyeIdString
 
std::string fPhysicalTelescopeIdString
 
unsigned int fTelescopeId
 
double * fThreshold
 

Friends

class Telescope
 

Detailed Description

Description of the electronic channel for the 480 channels of the crate.

Author
S. Argiro

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

Constructor & Destructor Documentation

Channel::Channel ( const unsigned int  eyeId,
const unsigned int  telescopeId,
const unsigned int  channelId,
const std::string &  physEyeIdString,
const std::string &  physTelIdString 
)
private

Definition at line 23 of file FDetector/Channel.cc.

References fChannelIdStr.

Channel::~Channel ( )
private

Definition at line 41 of file FDetector/Channel.cc.

References fADCVariance, fBaseline, and fThreshold.

fdet::Channel::Channel ( const Channel )
private

Member Function Documentation

double Channel::GetADCVariance ( ) const
double Channel::GetBaseline ( ) const
template<typename T >
const T & Channel::GetChannelData ( T *&  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprivate

Definition at line 189 of file FDetector/Channel.cc.

Referenced by GetADCVariance(), GetBaseline(), and GetThreshold().

template<typename T >
void Channel::GetChannelData ( T &  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprivate
double Channel::GetElectronicNoiseVariance ( ) const
double Channel::GetElectronicsGain ( ) const
unsigned int fdet::Channel::GetEyeId ( ) const
inline

Definition at line 30 of file FDetector/Channel.h.

References fEyeId.

Referenced by fdet::FDetector::GetPixel().

double Channel::GetFADCBinSize ( ) const
int Channel::GetFADCTraceLength ( ) const
int Channel::GetFLTBoxcarSumLength ( ) const

Definition at line 99 of file FDetector/Channel.cc.

References fEyeId, and fTelescopeId.

int Channel::GetFLTProlongation ( ) const

Definition at line 107 of file FDetector/Channel.cc.

References fEyeId, and fTelescopeId.

Referenced by FdTriggerSimulatorOG::FdTriggerSimulator::T1Trigger().

double Channel::GetGainVariance ( ) const
unsigned int fdet::Channel::GetId ( ) const
inline
unsigned int Channel::GetPixelId ( ) const
int Channel::GetSLTTriggerBin ( ) const

Definition at line 115 of file FDetector/Channel.cc.

References fEyeId, and fTelescopeId.

unsigned int fdet::Channel::GetTelescopeId ( ) const
inline
double Channel::GetThreshold ( ) const
unsigned int Channel::GetVirtualChannelId ( ) const
bool Channel::IsVirtual ( ) const
Channel& fdet::Channel::operator= ( const Channel )
private
void Channel::Update ( ) const

Definition at line 48 of file FDetector/Channel.cc.

References fADCVariance, fBaseline, and fThreshold.

Friends And Related Function Documentation

friend class Telescope
friend

Definition at line 84 of file FDetector/Channel.h.

Member Data Documentation

double* fdet::Channel::fADCVariance
mutableprivate

Definition at line 80 of file FDetector/Channel.h.

Referenced by GetADCVariance(), Update(), and ~Channel().

double* fdet::Channel::fBaseline
mutableprivate

Definition at line 82 of file FDetector/Channel.h.

Referenced by GetBaseline(), Update(), and ~Channel().

unsigned int fdet::Channel::fChannelId
private

Definition at line 64 of file FDetector/Channel.h.

Referenced by GetId(), GetPixelId(), GetVirtualChannelId(), and IsVirtual().

std::string fdet::Channel::fChannelIdStr
private

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

Referenced by Channel(), and GetChannelData().

unsigned int fdet::Channel::fEyeId
private
std::string fdet::Channel::fPhysicalEyeIdString
private

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

Referenced by GetChannelData().

std::string fdet::Channel::fPhysicalTelescopeIdString
private

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

Referenced by GetChannelData().

unsigned int fdet::Channel::fTelescopeId
private
double* fdet::Channel::fThreshold
mutableprivate

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

Referenced by GetThreshold(), Update(), and ~Channel().


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

, generated on Tue Sep 26 2023.