Collection of useful pre-defined coordinate systems. More...
Classes | |
class | InvalidCoordinateSystemException |
Base class for exceptions in the CoordinateSystemRegistry. More... | |
Enumerations | |
enum | CoordinateSystemID { eUndefined = 0, eECEF = 1, eMalargue, ePampaAmarilla, eCLF, eXLF, eLamar = 16, eNewYork = 32 } |
Identifiers for all well-known coordinate systems. More... | |
Functions | |
utl::CoordinateSystemPtr | Get (const std::string &theID) |
Get a well-known Coordinate System. More... | |
utl::CoordinateSystemPtr | Get (const CoordinateSystemID &theID) |
Get a well-known Coordinate System. More... | |
void | Init () |
Initialise the registry. More... | |
Collection of useful pre-defined coordinate systems.
CoordinateSystemRegistry.h "fwk/CoordinateSystemRegistry.h"
This class registers all well-known Auger coordinate systems and provides symbolic names for them.
Identifiers for all well-known coordinate systems.
Definition at line 63 of file CoordinateSystemRegistry.h.
utl::CoordinateSystemPtr fwk::CoordinateSystemRegistry::Get | ( | const std::string & | id | ) |
Get a well-known Coordinate System.
Definition at line 91 of file CoordinateSystemRegistry.cc.
Referenced by RdStationAssociator::RdStationAssociator::AddVirtualStations(), otoa::FOVCalculator::CalculateFOVBoundaries(), otoa::LongitudinalXmaxScanner::CalculateLightFactor(), FdCherenkovFinderOG::FdCherenkovFinder::CherenkovFinderAtAperture(), ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), evt::ConvertEcToEvent(), evt::ConvertErToEvent(), evt::ConvertEsToEvent(), evt::ConvertEventToEc(), evt::ConvertEventToEr(), evt::ConvertEventToEs(), otoa::fd::ConvertXToChi(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::CreateCoREASContent(), det::Detector::Detector(), atm::LidarCloudDBModel::EvaluateCloudCoverage(), atm::MeasuredDBMieModel::EvaluateMieAttenuation(), atm::HumidAirRayleighModel::EvaluateRayleighAttenuation(), atm::HumidAirRayleighModel::EvaluateScatteringAngle(), otoa::Detector2ADST::FillAerosols(), otoa::FD2ADST::FillAtmosphericProfileVars(), otoa::FD2ADST::FillFdCoreAxis(), FdAxisFinderOG::FdAxisFinder::FindAxisLaser(), FindTimeOffset::FindTimeOffset::FindOffset(), UnivFitterKG::Fitter::Fitter(), ShowerLightSimulatorKG::ShowerLightSimulator::FluorescenceLight(), atm::ParametricXMLRayleighModel::GDistance(), tls::Geant4Manager::Geant4Manager(), EventGeneratorOG::EventGenerator::GenerateSphereCentricCore(), fwk::ParametricGeoMagneticField::Get(), Get(), atm::HumidAirRayleighModel::GetAttenuationLength(), atm::MeasuredDBMieModel::GetAttenuationLength(), GetLocalCS(), atm::GOESDB::GetMaximumCloudProbability(), atm::GOESDB::GetPixelCenter(), RdEVASimPreparator::GetRodrigoCS(), RdPolarizationReconstructor::GetRodrigoCS(), atm::InclinedAtmosphericProfile::InclinedAtmosphericProfile(), VerificationRadio::Verification::Init(), LEInjectorOG::LEInjector::Init(), atm::ParametricXMLMieModel::Init(), FdCherenkovFinderOG::FdCherenkovFinder::InitialCherenkov(), FdProfileFinderOG::FdProfileFinder::LightAtApertureToSize(), io::CorsikaShowerFileGeometryProducer::MakeGroundParticleCoordinateSystem(), FdAxisFinderOG::FdAxisFinder::MinuitFitFuncLaser(), otoa::err::CalculateFdCorePosition::operator()(), ShowerLightSimulatorKG::ShowerLightSimulator::PrimaryCherenkovLight(), io::REASFile::Read(), io::REASH5File::Read(), io::CorsikaShowerFile::ReadSteerFile(), RdREASSimPreparator::RdREASSimPreparator::REASFileWriter(), AtmosphericProfileNS::AtmosphericProfile::Run(), GeometryExampleNS::GeometryExample::Run(), LaserLightSimulatorNA::LaserLightSimulator::Run(), ShowerLightSimulatorKG::ShowerLightSimulator::Run(), G4TankSimulatorASCII::G4TankSimulator::Run(), G4TankSimulatorOG::G4TankSimulator::Run(), G4XTankSimulatorAG::G4XTankSimulator::Run(), ShowerInventorNS::ShowerInventor::Run(), G4StationSimulatorOG::G4StationSimulator::Run(), io::CorsikaShowerFile::SetHeaderTrailer(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), utl::Branch::String(), testParametricXMLMieModel::testAttenuation(), testMeasuredDBMieModel::testAttenuation(), LocalCoordinateSystemTest::testCreate(), testParametricXMLRayleighModel::testEvaluateAttenuation(), CoordinateSystemRegistryTest::testFactory(), testAtmLowLevelAtmInterface::testGOESDB(), CoordinateSystemRegistryTest::testInvalidCoordinateSystemException(), CoordinateSystemRegistryTest::testPampaAmarilla(), RDetectorTest::testRModel(), testMeasuredDBMieModel::testUncertainty(), and testSuperMieModel::testUncertaintyDB().
utl::CoordinateSystemPtr fwk::CoordinateSystemRegistry::Get | ( | const CoordinateSystemID & | id | ) |
Get a well-known Coordinate System.
Definition at line 111 of file CoordinateSystemRegistry.cc.
References eCLF, eECEF, eLamar, eMalargue, eNewYork, ePampaAmarilla, ERROR, eUndefined, eXLF, and Get().
void fwk::CoordinateSystemRegistry::Init | ( | ) |
Initialise the registry.
Definition at line 58 of file CoordinateSystemRegistry.cc.
References utl::AugerCoordinateSystemConstructor< Policy >::Create(), ERROR, utl::ReferenceEllipsoid::eWGS84, utl::ReferenceEllipsoid::Get(), utl::Branch::Get(), utl::Branch::GetChild(), utl::Branch::GetFirstChild(), utl::Branch::GetNextSibling(), utl::Branch::GetTopBranch(), and utl::ReferenceEllipsoid::InitWithECEF().
Referenced by TelescopeSimulatorLX::FDsimG4EventAction::FDsimG4EventAction(), fwk::RandomEngineRegistry::Get(), Get(), fdet::FdAlwaysUpManager::Init(), fdet::FParametricOpticalEfficiencyLossManager::Init(), fdet::FFixOpticalEfficiencyLossManager::Init(), sdet::EventStationPositionsManager::Init(), sdet::SStationListSQLManager::Init(), sdet::SStationListXMLManager::Init(), fdet::FSimulationCalibManager::Init(), fdet::FFixCalibManager::Init(), cdet::CStationListXMLManager::Init(), rdet::RStationListXMLManager::Init(), fdet::FOpticalEfficiencyLossSQLManager::Init(), cdet::CModelsXMLManager::Init(), rdet::RStationListSQLManager::Init(), fdet::FModelsXMLManager::Init(), sdet::SModelsXMLManager::Init(), rdet::MonitoringSQLManager::Init(), rdet::RAntennaTypeXMLManager::Init(), fdet::FCalibSQLManager::Init(), rdet::RHardwareProfileXMLManager::Init(), fdet::EventPointingManager::Init(), sdet::T2StatFileManager::Init(), rdet::RModelsXMLManager::Init(), rdet::RSimulationStationListManager::Init(), sdet::SDenseStationListXMLManager::Init(), rdet::RBeaconSQLManager::Init(), det::VSQLManager::Init(), fdet::FdChannelMappingManager::Init(), rdet::RBadStationSQLManager::Init(), fdet::FdUpTimeSQLManager::Init(), rdet::RChannelSQLManager::Init(), utl::RandomSamplerFromPDF::Init(), sdet::T2LifeROOTFileManager::Init(), fdet::FdUpTimeFileManager::Init(), utl::RandomSamplerFromPDF::RandomSamplerFromPDF(), FdProfileReconstructorKG::RootCFMatrixOutput::RootCFMatrixOutput(), LocalCoordinateSystemTest::testCreate(), CoordinateSystemRegistryTest::testInitSequenceException(), and sdet::SDenseStationListXMLManager::DenseStations::Validate().