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

Description of the diaphragm. More...

#include <Diaphragm.h>

Public Member Functions

double GetArea () const
 
unsigned int GetEyeId () const
 
double GetRadius () const
 Radius of the diaphragm. More...
 
unsigned int GetTelescopeId () const
 
bool HasCorrectorRing () const
 
void Update ()
 

Private Member Functions

 Diaphragm (const unsigned int eyeId, const unsigned int telId, const std::string &physEyeIdString, const std::string &physTelIdString)
 
 Diaphragm (const Diaphragm &)
 
template<typename T >
const T & GetDiaphragmData (T *&requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
template<typename T >
void GetDiaphragmData (T &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
Diaphragmoperator= (const Diaphragm &)
 
 ~Diaphragm ()
 

Private Attributes

double * fArea
 
utl::TimeStampfCorrectorRingCommissionTime
 
unsigned int fEyeId
 
std::string fPhysicalEyeIdString
 
std::string fPhysicalTelescopeIdString
 
double * fRadius
 
unsigned int fTelescopeId
 

Friends

class Telescope
 

Detailed Description

Description of the diaphragm.

Author
L. Prado Jr
Date
27 Jan 2005

Definition at line 33 of file Diaphragm.h.

Constructor & Destructor Documentation

Diaphragm::Diaphragm ( const unsigned int  eyeId,
const unsigned int  telId,
const std::string &  physEyeIdString,
const std::string &  physTelIdString 
)
private

Definition at line 25 of file Diaphragm.cc.

fdet::Diaphragm::Diaphragm ( const Diaphragm )
private
Diaphragm::~Diaphragm ( )
private

Definition at line 39 of file Diaphragm.cc.

References fCorrectorRingCommissionTime, and fRadius.

Member Function Documentation

double Diaphragm::GetArea ( ) const

Definition at line 67 of file Diaphragm.cc.

References GetRadius(), utl::kPi, and utl::Sqr().

template<typename T >
const T & Diaphragm::GetDiaphragmData ( T *&  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprivate

Definition at line 93 of file Diaphragm.cc.

Referenced by GetRadius(), and HasCorrectorRing().

template<typename T >
void Diaphragm::GetDiaphragmData ( T &  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprivate
unsigned int fdet::Diaphragm::GetEyeId ( ) const
inline

Definition at line 36 of file Diaphragm.h.

References fEyeId.

double Diaphragm::GetRadius ( ) const

Radius of the diaphragm.

Definition at line 59 of file Diaphragm.cc.

References fRadius, and GetDiaphragmData().

Referenced by GetArea(), and TelescopeSimulatorLX::FDsimG4DetectorConstruction::Init().

unsigned int fdet::Diaphragm::GetTelescopeId ( ) const
inline

Definition at line 37 of file Diaphragm.h.

References fTelescopeId.

bool Diaphragm::HasCorrectorRing ( ) const

Definition at line 75 of file Diaphragm.cc.

References fCorrectorRingCommissionTime, and GetDiaphragmData().

Referenced by GetDiaphragmData().

Diaphragm& fdet::Diaphragm::operator= ( const Diaphragm )
private
void Diaphragm::Update ( )

Definition at line 45 of file Diaphragm.cc.

References fArea, fCorrectorRingCommissionTime, and fRadius.

Friends And Related Function Documentation

friend class Telescope
friend

Definition at line 75 of file Diaphragm.h.

Member Data Documentation

double* fdet::Diaphragm::fArea
mutableprivate

Definition at line 72 of file Diaphragm.h.

Referenced by Update().

utl::TimeStamp* fdet::Diaphragm::fCorrectorRingCommissionTime
mutableprivate

Definition at line 73 of file Diaphragm.h.

Referenced by HasCorrectorRing(), Update(), and ~Diaphragm().

unsigned int fdet::Diaphragm::fEyeId
private

Definition at line 57 of file Diaphragm.h.

Referenced by GetEyeId().

std::string fdet::Diaphragm::fPhysicalEyeIdString
private

Definition at line 59 of file Diaphragm.h.

Referenced by GetDiaphragmData().

std::string fdet::Diaphragm::fPhysicalTelescopeIdString
private

Definition at line 60 of file Diaphragm.h.

Referenced by GetDiaphragmData().

double* fdet::Diaphragm::fRadius
mutableprivate

Definition at line 71 of file Diaphragm.h.

Referenced by GetRadius(), Update(), and ~Diaphragm().

unsigned int fdet::Diaphragm::fTelescopeId
private

Definition at line 58 of file Diaphragm.h.

Referenced by GetTelescopeId().


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

, generated on Tue Sep 26 2023.