List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends
fdet::Telescope Class Reference

Detector description interface for Telescope-related data. More...

#include <Telescope.h>

Public Types

typedef std::vector
< utl::Vector >
::const_iterator 
OutOfBorderPixelsIterator
 
typedef std::map< std::string,
double > 
PointingAngleSet
 

Public Member Functions

void CachePixelCalibrations () const
 Cache calibration constants for pixels in one go (minimize DB access) More...
 
bool CachePixelCloudData () const
 Cache cloud coverage for pixels in one go (minimize DB access) More...
 
void CachePixelOpticalEfficiencyCorrections () const
 Cache optical efficiency corrections for pixels in one go (minimize DB access) More...
 
utl::Vector GetAxis () const
 
const CameraGetCamera () const
 Get the Camera object that belongs to the telescope. More...
 
utl::Vector GetCameraPixelDirection (const unsigned int pixelId) const
 
utl::Vector GetCameraPixelDirection (const unsigned int row, const unsigned int col) const
 
const ChannelGetChannel (const unsigned int channelId) const
 Get Channel by id, throw utl::NonExistentComponentException if n.a. More...
 
const ChannelGetChannel (const fdet::Pixel &p) const
 
const ChannelGetChannel (const fevt::Pixel &p) const
 
const utl::TimeStampGetCommissionTime () const
 Telescope commission time. More...
 
const std::string & GetConfigSignature (const std::string &module) const
 
const std::string & GetConfigSignatureStr (const std::string &module) const
 
const CorrectorGetCorrector () const
 Get the Corrector (corrector ring) object that belongs to the telescope. More...
 
int GetDAQStatus () const
 
const utl::TimeStampGetDecommissionTime () const
 Telescope decommission time. More...
 
const DiaphragmGetDiaphragm () const
 Get the diaphragm that belongs to the telescope. More...
 
double GetDiaphragmArea () const
 
double GetDiaphragmRadius () const
 
unsigned int GetEyeId () const
 
const FilterGetFilter () const
 Get the filter that belongs to the telescope. More...
 
unsigned int GetFirstChannelId () const
 
unsigned int GetFirstColumn () const
 
unsigned int GetFirstPixelId () const
 
unsigned int GetFirstRow () const
 
unsigned int GetId () const
 
unsigned int GetLastChannelId () const
 
unsigned int GetLastColumn () const
 
unsigned int GetLastPixelId () const
 
unsigned int GetLastRow () const
 
double GetMeasuredRelativeEfficiency (const double wl) const
 
const utl::TabulatedFunctionGetMeasuredRelativeEfficiency () const
 
const MirrorGetMirror () const
 Get the Mirror object that belongs to the telescope. More...
 
double GetModelMaxWavelength () const
 
double GetModelMeanEfficiency (const std::string &configSignature, const double wl) const
 
double GetModelMinWavelength () const
 
double GetModelRelativeEfficiency (const double wl) const
 
unsigned int GetParentPhysicalEyeId () const
 
const std::string & GetParentPhysicalEyeIdString () const
 
unsigned int GetParentPhysicalId () const
 
const std::string & GetParentPhysicalIdString () const
 
const PixelGetPixel (const unsigned int pixelId) const
 Get Pixel by id, throw utl::NonExistentComponentException if n.a. More...
 
const PixelGetPixel (const unsigned int row, const unsigned int col) const
 Get Pixel by (row,coll),throw utl::NonExistentComponentException if n.a. More...
 
utl::Point GetPosition () const
 
utl::CoordinateSystemPtr GetTelescopeCoordinateSystem () const
 
PointingAngleSet GetTelescopePointingElevation () const
 
std::string GetTelescopePointingId () const
 
PointingAngleSet GetTelescopePointingPhi () const
 
double GetUpTimeFraction () const
 
bool HasCorrectorRing () const
 flag for corrector ring presence More...
 
bool IsInAquisition () const
 
bool IsVirtual () const
 Returns whether this telescope belongs to a virtual eye. More...
 
 OFFLINE_DECLARE_CONST_ITERATOR_RANGE (OutOfBorderPixelsIterator, OutOfBorderPixels)
 
OutOfBorderPixelsIterator OutOfBorderPixelsBegin () const
 Begin of pixels out of the border. More...
 
OutOfBorderPixelsIterator OutOfBorderPixelsEnd () const
 End of pixels out of the border. More...
 
void UpdateFdUpTime () const
 

Protected Member Functions

double GetModelWavelengthDependence (const double wl) const
 

Private Types

typedef std::map< unsigned int,
const Channel * > 
InternalChannelCollection
 
typedef std::map< unsigned int,
Pixel * > 
InternalPixelCollection
 
typedef std::vector< utl::VectorInternalPixelDirCollection
 

Private Member Functions

void CacheTelescopePointing () const
 
void GenerateOutOfBorderPixels () const
 Generate pixels for one row and one column outside the last actual pixels of the camera. More...
 
template<typename T >
const T & GetTelescopeData (T *&requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
template<typename T >
void GetTelescopeData (T &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
 
Telescopeoperator= (const Telescope &tel)
 
 Telescope (const unsigned int eyeId, const unsigned int telescopeId)
 
 Telescope (const Telescope &tel)
 
void Update ()
 
 ~Telescope ()
 

Private Attributes

utl::VectorfAxis = nullptr
 
std::map< int,
utl::TabulatedFunction
fCalibMap
 
det::ValidityStamp fCalibValidityStamp
 
CamerafCamera = nullptr
 Hold the camera properties like the radius of curvature, Mercedes geometry and efficiency as function of the wavelength. More...
 
InternalChannelCollection fChannel
 
utl::TimeStampfCommissionTime = nullptr
 
std::string * fConfigSignature = nullptr
 
std::string fConfigSignatureModule
 
std::string * fConfigSignatureStr = nullptr
 
utl::CoordinateSystemPtr fCoordinateSystem
 
CorrectorfCorrector = nullptr
 Hold the corrector ring properties like the transmitance as function of the wavelength. More...
 
utl::TimeStampfDecommissionTime = nullptr
 
DiaphragmfDiaphragm = nullptr
 Hold the diaphragm properties like radius and area. More...
 
unsigned int fEyeId = 0
 
std::string fEyeIdString
 
FilterfFilter = nullptr
 Hold the filter properties like the trasmitance as function of the wavelength. More...
 
int fIdOfParentPhysicalEye = -1
 
std::string fIdOfParentPhysicalEyeString
 
int fIdOfParentPhysicalTelescope = -1
 
std::string fIdOfParentPhysicalTelescopeString
 
utl::TabulatedFunctionfMeasuredRelativeEfficiency = nullptr
 
MirrorfMirror = nullptr
 Hold the mirror properties like the reflectivity as function of the wavelength. More...
 
std::map< int,
utl::TabulatedFunction
fOpticalEfficiencyMap
 
det::ValidityStamp fOpticalEfficiencyValidityStamp
 
InternalPixelDirCollection fOutBorderPixelsDir
 Hold the directions of "virtual" pixels that are one col/row outside the camera. More...
 
InternalPixelCollection fPixel
 
utl::PointfPosition = nullptr
 
int fStatus = 0
 
unsigned int fTelescopeId = 0
 
std::string fTelescopeIdString
 
PointingAngleSetfTelPointingElevationMap = nullptr
 Hold the elevation of the various possible telescope pointing directions. More...
 
std::string * fTelPointingId = nullptr
 The id of the default telescope pointing. More...
 
PointingAngleSetfTelPointingPhiMap = nullptr
 Hold the azimuth of the various possible telescope pointing directions. More...
 
double fUpTimeFraction = 0
 
det::ValidityStamp fUpTimeValidityStamp
 

Static Private Attributes

static const unsigned int kFirstChannel = 1
 
static const unsigned int kLastChannel = 480
 

Friends

class Eye
 

Detailed Description

Detector description interface for Telescope-related data.

Author
S. Argiro
T. Paul
Luis Prado Jr
Date
23 Jun 2003

Definition at line 51 of file FDetector/Telescope.h.

Member Typedef Documentation

typedef std::map<unsigned int, const Channel*> fdet::Telescope::InternalChannelCollection
private

Definition at line 203 of file FDetector/Telescope.h.

typedef std::map<unsigned int, Pixel*> fdet::Telescope::InternalPixelCollection
private

Definition at line 204 of file FDetector/Telescope.h.

Definition at line 205 of file FDetector/Telescope.h.

typedef std::vector<utl::Vector>::const_iterator fdet::Telescope::OutOfBorderPixelsIterator

An iterator over out of border pixels, useful to check if the light spot is contained in the camera

Definition at line 166 of file FDetector/Telescope.h.

typedef std::map<std::string, double> fdet::Telescope::PointingAngleSet

Definition at line 181 of file FDetector/Telescope.h.

Constructor & Destructor Documentation

fdet::Telescope::Telescope ( const unsigned int  eyeId,
const unsigned int  telescopeId 
)
private

Definition at line 49 of file FDetector/Telescope.cc.

References fEyeId, fEyeIdString, fTelescopeId, and fTelescopeIdString.

fdet::Telescope::~Telescope ( )
private
fdet::Telescope::Telescope ( const Telescope tel)
private

Member Function Documentation

void fdet::Telescope::CachePixelCalibrations ( ) const
bool fdet::Telescope::CachePixelCloudData ( ) const

Cache cloud coverage for pixels in one go (minimize DB access)

Definition at line 977 of file FDetector/Telescope.cc.

References fdet::Pixel::fCloudIndex, fdet::Pixel::fCloudValidityStamp, det::VManager::GetData(), det::ValidityStamp::SetValidityInterval(), and WARNING.

Referenced by fdet::Pixel::HasCloudFraction().

void fdet::Telescope::CachePixelOpticalEfficiencyCorrections ( ) const
void fdet::Telescope::CacheTelescopePointing ( ) const
private
void fdet::Telescope::GenerateOutOfBorderPixels ( ) const
private

Generate pixels for one row and one column outside the last actual pixels of the camera.

Definition at line 536 of file FDetector/Telescope.cc.

utl::Vector fdet::Telescope::GetAxis ( ) const
const Camera & fdet::Telescope::GetCamera ( ) const

Get the Camera object that belongs to the telescope.

Definition at line 413 of file FDetector/Telescope.cc.

References fTelescopeId().

Referenced by FdBackgroundSimulatorOG::FdBackgroundSimulator::AddBackground(), FdBackgroundSimulatorOG::FdBackgroundSimulator::AddBackgroundFromVariance(), FdSimEventCheckerOG::FdSimEventChecker::CalculateMinViewingAngle(), FdProfileConstrainedGeometryFit::ApertureLight::CalculateShowerGeometryData(), FdProfileConstrainedGeometryFitPG::ApertureLight::CalculateShowerGeometryData(), FdApertureLightFinderKG::FdApertureLightFinder::CalculateShowerGeometryData(), TelescopeSimulatorKG2::Camera::Camera(), TelescopeSimulatorKG::Camera::Camera(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), FdElectronicsSimulatorOG::FdElectronicsSimulator::ElecSim(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), FdCalibratorOG::FdCalibrator::FillCalibratedPixels(), FdCalibratorOG::FdCalibrator::FillChannelRecData(), otoa::FD2ADST::FillRecPixel(), TelescopeSimulatorLX::TelescopeSimulator::FillTraces(), FdPulseFinderOG::FdPulseFinder::FindAdditionalPulse(), FdPulseFinderOG::FdPulseFinder::FindBestSignalOverNoise(), FdApertureLightFinderOG::FdApertureLightFinder::FindLightFlux(), TelescopeSimulatorKG::Camera::FindPixelId(), TelescopeSimulatorKG2::Camera::FindPixelId(), FdPulseFinderOG::FdPulseFinder::FindPulse(), FdApertureLightFinderOG::FdApertureLightFinder::FindZeta(), FdProfileConstrainedGeometryFitPG::ApertureLight::FindZeta(), FdProfileConstrainedGeometryFit::ApertureLight::FindZeta(), FdApertureLightFinderKG::FdApertureLightFinder::FindZeta(), DrumPhotonGeneratorOG::DrumPhotonGenerator::GenerateDrumPhotons(), fevt::Telescope::GenerateMirrorEventBorderPixels(), fdet::Pixel::GetChannelId(), GetConfigSignatureStr(), fdet::Pixel::GetDiaPhoton2PEFactor(), fdet::Pixel::GetPixelCoordinateSystem(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::GetTelescopeData(), otoa::LongitudinalXmaxScanner::GetTelescopeProperties(), TelescopeSimulatorLX::FDsimG4DetectorConstruction::Init(), FdElectronicsSimulatorOG::FdElectronicsSimulator::InitCamera(), FdTriggerSimulatorOG::FdTriggerSimulator::MakeMirrorEvent(), FdEnergyDepositFinderKG::ProfileFitter::PrepareTimeConvolution(), FdElectronicsSimulatorOG::FdElectronicsSimulator::PrepareTimeConvolution(), FdCalibratorOG::FdCalibrator::RecoverSaturatedTrace(), FdPulseFinderOG::FdPulseFinder::Run(), FieldOfViewCalculatorKG::FieldOfViewCalculator::Run(), VirtualChannelCalibratorKG::VirtualChannelCalibrator::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), FdEnergyDepositFinderKG::CFMatrixCalculator::SetTelescopeParameters(), and FdTriggerSimulatorOG::FdTriggerSimulator::SLTSim().

utl::Vector fdet::Telescope::GetCameraPixelDirection ( const unsigned int  pixelId) const

Calculate pixel direction in the frame where the x axis is parallel to the optical axis, the z axis is the vertical.

Parameters
pixelIdruns from 1 to 440 The algorithm is from Ricardo Sato

Definition at line 1047 of file FDetector/Telescope.cc.

References ERROR, fdet::Pixel::GetColumn(), and fdet::Pixel::GetRow().

Referenced by fevt::Telescope::GenerateMirrorEventBorderPixels(), and fdet::Pixel::GetDirection().

utl::Vector fdet::Telescope::GetCameraPixelDirection ( const unsigned int  row,
const unsigned int  col 
) const

Calculate pixel direction in the camera system The algorithm is from Ricardo Sato , Unicamp See the FDSimPreProd manual, GAP2003-084

Definition at line 1068 of file FDetector/Telescope.cc.

References utl::kSqrt3.

const Channel & fdet::Telescope::GetChannel ( const unsigned int  channelId) const
const Channel & fdet::Telescope::GetChannel ( const fdet::Pixel p) const

Definition at line 223 of file FDetector/Telescope.cc.

References fdet::Pixel::GetChannelId().

const Channel & fdet::Telescope::GetChannel ( const fevt::Pixel p) const

Definition at line 231 of file FDetector/Telescope.cc.

References fevt::Pixel::GetId().

const TimeStamp & fdet::Telescope::GetCommissionTime ( ) const

Telescope commission time.

Definition at line 302 of file FDetector/Telescope.cc.

Referenced by fdet::TelIsCommissioned::operator()().

const std::string & fdet::Telescope::GetConfigSignature ( const std::string &  module) const
const std::string & fdet::Telescope::GetConfigSignatureStr ( const std::string &  module) const
const Corrector & fdet::Telescope::GetCorrector ( ) const

Get the Corrector (corrector ring) object that belongs to the telescope.

Definition at line 401 of file FDetector/Telescope.cc.

References fTelescopeId().

Referenced by GetConfigSignatureStr(), TelescopeSimulatorLX::FDsimG4DetectorConstruction::Init(), and TelescopeSimulatorKG::Lens::Lens().

int fdet::Telescope::GetDAQStatus ( ) const

Definition at line 751 of file FDetector/Telescope.cc.

const TimeStamp & fdet::Telescope::GetDecommissionTime ( ) const

Telescope decommission time.

Definition at line 316 of file FDetector/Telescope.cc.

Referenced by fdet::TelIsCommissioned::operator()().

const Diaphragm & fdet::Telescope::GetDiaphragm ( ) const

Get the diaphragm that belongs to the telescope.

Definition at line 365 of file FDetector/Telescope.cc.

References fTelescopeId().

Referenced by TelescopeSimulatorLX::FDsimG4DetectorConstruction::Init().

double fdet::Telescope::GetDiaphragmArea ( ) const
double fdet::Telescope::GetDiaphragmRadius ( ) const
unsigned int fdet::Telescope::GetEyeId ( ) const
inline
const Filter & fdet::Telescope::GetFilter ( ) const
unsigned int fdet::Telescope::GetFirstChannelId ( ) const
inline

Definition at line 142 of file FDetector/Telescope.h.

References kFirstChannel.

Referenced by GetChannel().

unsigned int fdet::Telescope::GetFirstColumn ( ) const
unsigned int fdet::Telescope::GetFirstPixelId ( ) const
inline
unsigned int fdet::Telescope::GetFirstRow ( ) const
unsigned int fdet::Telescope::GetId ( ) const
inline
unsigned int fdet::Telescope::GetLastChannelId ( ) const
inline

Definition at line 143 of file FDetector/Telescope.h.

References kLastChannel.

Referenced by GetChannel().

unsigned int fdet::Telescope::GetLastColumn ( ) const
unsigned int fdet::Telescope::GetLastPixelId ( ) const
unsigned int fdet::Telescope::GetLastRow ( ) const
double fdet::Telescope::GetMeasuredRelativeEfficiency ( const double  wl) const
const utl::TabulatedFunction & fdet::Telescope::GetMeasuredRelativeEfficiency ( ) const
const Mirror & fdet::Telescope::GetMirror ( ) const

Get the Mirror object that belongs to the telescope.

Definition at line 377 of file FDetector/Telescope.cc.

References fTelescopeId().

Referenced by GetConfigSignatureStr(), TelescopeSimulatorKG::Mirror::Mirror(), and TelescopeSimulatorKG::TelescopeSimulator::Run().

double fdet::Telescope::GetModelMaxWavelength ( ) const
double fdet::Telescope::GetModelMeanEfficiency ( const std::string &  configSignature,
const double  wl 
) const
double fdet::Telescope::GetModelMinWavelength ( ) const
double fdet::Telescope::GetModelRelativeEfficiency ( const double  wl) const
double fdet::Telescope::GetModelWavelengthDependence ( const double  wl) const
protected

Definition at line 585 of file FDetector/Telescope.cc.

References utl::mm, std::pow(), utl::Sqr(), and utl::TabulatedFunction::Y().

unsigned int fdet::Telescope::GetParentPhysicalEyeId ( ) const
inline

Numerical Id of parent physical eye. Returns the ordinary eye id if this is a physical telescope

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

References fEyeId, and fIdOfParentPhysicalEye.

Referenced by FdBackgroundSimulatorOG::FdBackgroundSimulator::AddBackgroundFromVariance(), otoa::FD2ADST::FillCloudCameraDataBrief(), and FDetectorTest::testVirtualEye().

const std::string& fdet::Telescope::GetParentPhysicalEyeIdString ( ) const
inline

Id of parent physical eye as string. Returns the ordinary eye id if this is a physical telescope

Definition at line 92 of file FDetector/Telescope.h.

References fEyeIdString, fIdOfParentPhysicalEye, and fIdOfParentPhysicalEyeString.

Referenced by GetChannel(), and FDetectorTest::testVirtualEye().

unsigned int fdet::Telescope::GetParentPhysicalId ( ) const
inline

Numerical Id of parent physical telescope. Returns the ordinary telescope id if this is a physical telescope

Definition at line 87 of file FDetector/Telescope.h.

References fIdOfParentPhysicalEye, fIdOfParentPhysicalTelescope, and fTelescopeId.

Referenced by FDetectorTest::testVirtualEye().

const std::string& fdet::Telescope::GetParentPhysicalIdString ( ) const
inline

Id of parent physical telescope as string. Returns the ordinary telescope id if this is a physical telescope

Definition at line 97 of file FDetector/Telescope.h.

References fIdOfParentPhysicalEye, fIdOfParentPhysicalTelescopeString, and fTelescopeIdString.

Referenced by GetChannel(), and FDetectorTest::testVirtualEye().

const Pixel & fdet::Telescope::GetPixel ( const unsigned int  pixelId) const

Get Pixel by id, throw utl::NonExistentComponentException if n.a.

Definition at line 330 of file FDetector/Telescope.cc.

References ERROR, and fTelescopeId().

Referenced by FdBackgroundSimulatorOG::FdBackgroundSimulator::AddBackground(), FdBackgroundSimulatorOG::FdBackgroundSimulator::AddBackgroundFromVariance(), FdCalibratorOG::FdCalibrator::ApplyCalibration(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateTelescopeTraceSum(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), TelescopeSimulatorKG2::Camera::Draw(), TelescopeSimulatorKG::Camera::Draw(), otoa::Detector2ADST::FillCloudCameraData(), otoa::Detector2ADST::FillDetector(), otoa::LongitudinalXmaxScanner::FillLightFactors(), TelescopeSimulatorLX::TelescopeSimulator::FillTraces(), SpotPhotonGeneratorOG::SpotPhotonGenerator::FinishSpot(), FdNoiseAdderKG::GetCalibConst(), GetConfigSignatureStr(), FdLightCollectionEfficiencyKG::PixelToApertureLightConverter::GetConversionConstant(), FdProfileConstrainedGeometryFitPG::ChiZeroRegression::MinuitFitFunc(), ReadCloudHLNS::ReadCloudHL::Run(), ReadCloudLLNS::ReadCloudLL::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), testAtmLowLevelAtmInterface::testCloudDB(), FDetectorTest::testGetPixelCalibNullEndTime(), FDetectorTest::testGetPixelCalibTime1(), FDetectorTest::testGetPixelCalibTime2(), FDetectorTest::testGetPixelCalibTime3(), FDetectorTest::testGetTimeOffset(), FDetectorTest::testPixelStatus(), FDetectorTest::testReadFullTelescope(), TelescopeSimulatorKG::Camera::Trace(), TelescopeSimulatorKG2::Camera::Trace(), and FdProfileConstrainedGeometryFitPG::PCGFitter::Underground().

const Pixel & fdet::Telescope::GetPixel ( const unsigned int  row,
const unsigned int  col 
) const

Get Pixel by (row,coll),throw utl::NonExistentComponentException if n.a.

Definition at line 356 of file FDetector/Telescope.cc.

Point fdet::Telescope::GetPosition ( ) const

Definition at line 239 of file FDetector/Telescope.cc.

References fdet::FDetector::GetEye(), and fdet::Eye::GetEyeCoordinateSystem().

Referenced by FdProfileConstrainedGeometryFitPG::PCGFitter::AdjustGeometry(), FdEnergyDepositFinderKG::CFMatrixCalculator::CalculateDirectCherenkovMatrix(), FdEnergyDepositFinderKG::CFMatrixCalculator::CalculateFluorescenceMatrix(), FdSimEventCheckerOG::FdSimEventChecker::CalculateMinViewingAngle(), FdProfileConstrainedGeometryFitPG::ApertureLight::CalculateShowerGeometryData(), FdProfileConstrainedGeometryFit::ApertureLight::CalculateShowerGeometryData(), FdApertureLightFinderKG::FdApertureLightFinder::CalculateShowerGeometryData(), TelescopeSimulatorKG::Camera::Camera(), otoa::fd::ConvertXToChi(), FdEnergyDepositFinderKG::LateralLightCalculator::DirCherLightFraction(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), otoa::FD2ADST::FillCloudCameraDataBrief(), FdProfileConstrainedGeometryFitPG::ApertureLight::FindZeta(), FdProfileConstrainedGeometryFit::ApertureLight::FindZeta(), FdApertureLightFinderKG::FdApertureLightFinder::FindZeta(), FdEnergyDepositFinderKG::LateralLightCalculator::FluoLightFraction(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::GetTelescopeData(), FdProfileConstrainedGeometryFitPG::ChiZeroRegression::MinuitFitFunc(), HybridGeometryFinderWG::HybridGeometryFinder::MinuitFitFuncAxis(), HybridGeometryFinderWG::HybridGeometryFinder::ReadmitPixel(), HybridGeometryFinderWG::HybridGeometryFinder::RecalculateChiSquare(), HybridGeometryFinderWG::HybridGeometryFinder::RemovePixel(), FieldOfViewCalculatorKG::FieldOfViewCalculator::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), FdTriggerSimulatorOG::FdTriggerSimulator::Run(), FdEnergyDepositFinderKG::LateralLightCalculator::ScattCherLightFraction(), HybridGeometryFinderWG::HybridGeometryFinder::SelectPixels(), UseMcGeometryOG::UseMcGeometry::SetSDP(), UseMcGeometryOG::UseMcGeometry::SetTimeFit(), HybridGeometryFinderWG::HybridGeometryFinder::StoreData(), FDetectorTest::testVirtualEye(), and FdProfileConstrainedGeometryFitPG::PCGFitter::Underground().

CoordinateSystemPtr fdet::Telescope::GetTelescopeCoordinateSystem ( ) const
template<typename T >
const T & fdet::Telescope::GetTelescopeData ( T *&  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprivate

Definition at line 1129 of file FDetector/Telescope.cc.

template<typename T >
void fdet::Telescope::GetTelescopeData ( T &  requestedData,
const std::string &  property,
const std::string &  component,
const std::string &  errorMsg 
) const
inlineprivate

Definition at line 1146 of file FDetector/Telescope.cc.

References ERROR, and det::VManager::GetData().

Telescope::PointingAngleSet fdet::Telescope::GetTelescopePointingElevation ( ) const

Definition at line 490 of file FDetector/Telescope.cc.

std::string fdet::Telescope::GetTelescopePointingId ( ) const

Definition at line 470 of file FDetector/Telescope.cc.

Telescope::PointingAngleSet fdet::Telescope::GetTelescopePointingPhi ( ) const

Definition at line 480 of file FDetector/Telescope.cc.

double fdet::Telescope::GetUpTimeFraction ( ) const

Definition at line 733 of file FDetector/Telescope.cc.

bool fdet::Telescope::HasCorrectorRing ( ) const
bool fdet::Telescope::IsInAquisition ( ) const

Definition at line 742 of file FDetector/Telescope.cc.

bool fdet::Telescope::IsVirtual ( ) const
inline

Returns whether this telescope belongs to a virtual eye.

Definition at line 101 of file FDetector/Telescope.h.

References fIdOfParentPhysicalEye.

Referenced by FDetectorTest::testVirtualEye().

fdet::Telescope::OFFLINE_DECLARE_CONST_ITERATOR_RANGE ( OutOfBorderPixelsIterator  ,
OutOfBorderPixels   
)
Telescope& fdet::Telescope::operator= ( const Telescope tel)
private
Telescope::OutOfBorderPixelsIterator fdet::Telescope::OutOfBorderPixelsBegin ( ) const

Begin of pixels out of the border.

Definition at line 562 of file FDetector/Telescope.cc.

Referenced by FdApertureLightFinderOG::FdApertureLightFinder::IsNearBorder(), and otoa::LongitudinalXmaxScanner::IsNearBorder().

Telescope::OutOfBorderPixelsIterator fdet::Telescope::OutOfBorderPixelsEnd ( ) const
void fdet::Telescope::Update ( )
private

Definition at line 777 of file FDetector/Telescope.cc.

void fdet::Telescope::UpdateFdUpTime ( ) const

Definition at line 760 of file FDetector/Telescope.cc.

Friends And Related Function Documentation

friend class Eye
friend

Definition at line 294 of file FDetector/Telescope.h.

Member Data Documentation

utl::Vector* fdet::Telescope::fAxis = nullptr
mutableprivate

Definition at line 250 of file FDetector/Telescope.h.

Referenced by ~Telescope().

std::map<int, utl::TabulatedFunction> fdet::Telescope::fCalibMap
mutableprivate

Definition at line 289 of file FDetector/Telescope.h.

det::ValidityStamp fdet::Telescope::fCalibValidityStamp
mutableprivate

Definition at line 291 of file FDetector/Telescope.h.

Camera* fdet::Telescope::fCamera = nullptr
mutableprivate

Hold the camera properties like the radius of curvature, Mercedes geometry and efficiency as function of the wavelength.

Definition at line 282 of file FDetector/Telescope.h.

Referenced by ~Telescope().

InternalChannelCollection fdet::Telescope::fChannel
mutableprivate

Definition at line 231 of file FDetector/Telescope.h.

Referenced by GetChannel(), and ~Telescope().

utl::TimeStamp* fdet::Telescope::fCommissionTime = nullptr
mutableprivate

Definition at line 253 of file FDetector/Telescope.h.

Referenced by ~Telescope().

std::string* fdet::Telescope::fConfigSignature = nullptr
mutableprivate

Definition at line 246 of file FDetector/Telescope.h.

Referenced by GetConfigSignature(), GetConfigSignatureStr(), and ~Telescope().

std::string fdet::Telescope::fConfigSignatureModule
mutableprivate

Definition at line 247 of file FDetector/Telescope.h.

Referenced by GetConfigSignature(), and GetConfigSignatureStr().

std::string* fdet::Telescope::fConfigSignatureStr = nullptr
mutableprivate

Definition at line 245 of file FDetector/Telescope.h.

Referenced by GetConfigSignatureStr(), and ~Telescope().

utl::CoordinateSystemPtr fdet::Telescope::fCoordinateSystem
mutableprivate

Definition at line 251 of file FDetector/Telescope.h.

Corrector* fdet::Telescope::fCorrector = nullptr
mutableprivate

Hold the corrector ring properties like the transmitance as function of the wavelength.

Definition at line 279 of file FDetector/Telescope.h.

Referenced by ~Telescope().

utl::TimeStamp* fdet::Telescope::fDecommissionTime = nullptr
mutableprivate

Definition at line 254 of file FDetector/Telescope.h.

Referenced by ~Telescope().

Diaphragm* fdet::Telescope::fDiaphragm = nullptr
mutableprivate

Hold the diaphragm properties like radius and area.

Definition at line 270 of file FDetector/Telescope.h.

Referenced by ~Telescope().

unsigned int fdet::Telescope::fEyeId = 0
private

Definition at line 234 of file FDetector/Telescope.h.

Referenced by GetChannel(), GetEyeId(), GetParentPhysicalEyeId(), and Telescope().

std::string fdet::Telescope::fEyeIdString
private

Definition at line 236 of file FDetector/Telescope.h.

Referenced by GetParentPhysicalEyeIdString(), and Telescope().

Filter* fdet::Telescope::fFilter = nullptr
mutableprivate

Hold the filter properties like the trasmitance as function of the wavelength.

Definition at line 276 of file FDetector/Telescope.h.

Referenced by ~Telescope().

int fdet::Telescope::fIdOfParentPhysicalEye = -1
mutableprivate
std::string fdet::Telescope::fIdOfParentPhysicalEyeString
private

Definition at line 242 of file FDetector/Telescope.h.

Referenced by GetParentPhysicalEyeIdString().

int fdet::Telescope::fIdOfParentPhysicalTelescope = -1
mutableprivate

Definition at line 241 of file FDetector/Telescope.h.

Referenced by GetParentPhysicalId().

std::string fdet::Telescope::fIdOfParentPhysicalTelescopeString
private

Definition at line 243 of file FDetector/Telescope.h.

Referenced by GetParentPhysicalIdString().

utl::TabulatedFunction* fdet::Telescope::fMeasuredRelativeEfficiency = nullptr
mutableprivate

Definition at line 256 of file FDetector/Telescope.h.

Referenced by ~Telescope().

Mirror* fdet::Telescope::fMirror = nullptr
mutableprivate

Hold the mirror properties like the reflectivity as function of the wavelength.

Definition at line 273 of file FDetector/Telescope.h.

Referenced by ~Telescope().

std::map<int, utl::TabulatedFunction> fdet::Telescope::fOpticalEfficiencyMap
mutableprivate

Definition at line 290 of file FDetector/Telescope.h.

det::ValidityStamp fdet::Telescope::fOpticalEfficiencyValidityStamp
mutableprivate

Definition at line 292 of file FDetector/Telescope.h.

InternalPixelDirCollection fdet::Telescope::fOutBorderPixelsDir
mutableprivate

Hold the directions of "virtual" pixels that are one col/row outside the camera.

Definition at line 267 of file FDetector/Telescope.h.

InternalPixelCollection fdet::Telescope::fPixel
mutableprivate

Definition at line 232 of file FDetector/Telescope.h.

Referenced by ~Telescope().

utl::Point* fdet::Telescope::fPosition = nullptr
mutableprivate

Definition at line 249 of file FDetector/Telescope.h.

Referenced by ~Telescope().

int fdet::Telescope::fStatus = 0
mutableprivate

Definition at line 287 of file FDetector/Telescope.h.

unsigned int fdet::Telescope::fTelescopeId = 0
private

Definition at line 235 of file FDetector/Telescope.h.

Referenced by GetChannel(), GetId(), GetParentPhysicalId(), and Telescope().

std::string fdet::Telescope::fTelescopeIdString
private

Definition at line 237 of file FDetector/Telescope.h.

Referenced by GetParentPhysicalIdString(), and Telescope().

PointingAngleSet* fdet::Telescope::fTelPointingElevationMap = nullptr
mutableprivate

Hold the elevation of the various possible telescope pointing directions.

Definition at line 264 of file FDetector/Telescope.h.

Referenced by ~Telescope().

std::string* fdet::Telescope::fTelPointingId = nullptr
mutableprivate

The id of the default telescope pointing.

Definition at line 259 of file FDetector/Telescope.h.

Referenced by ~Telescope().

PointingAngleSet* fdet::Telescope::fTelPointingPhiMap = nullptr
mutableprivate

Hold the azimuth of the various possible telescope pointing directions.

Definition at line 262 of file FDetector/Telescope.h.

Referenced by ~Telescope().

double fdet::Telescope::fUpTimeFraction = 0
mutableprivate

Definition at line 286 of file FDetector/Telescope.h.

det::ValidityStamp fdet::Telescope::fUpTimeValidityStamp
mutableprivate

Definition at line 285 of file FDetector/Telescope.h.

const unsigned int fdet::Telescope::kFirstChannel = 1
staticprivate

Definition at line 60 of file FDetector/Telescope.h.

Referenced by GetFirstChannelId().

const unsigned int fdet::Telescope::kLastChannel = 480
staticprivate

Definition at line 61 of file FDetector/Telescope.h.

Referenced by GetLastChannelId().


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

, generated on Tue Sep 26 2023.