Top of the hierarchy of the detector description interface. More...
#include <Detector.h>
Public Member Functions | |
ManagerRegister & | GetAManagerRegister () const |
const atm::Atmosphere & | GetAtmosphere () const |
const cdet::CDetector & | GetCDetector () const |
ManagerRegister & | GetCManagerRegister () const |
const fdet::FDetector & | GetFDetector () const |
ManagerRegister & | GetFManagerRegister () const |
fwk::ParametricGeoMagneticField & | GetGeoMagneticField () |
utl::Vector | GetGeoMagneticFieldAt (const utl::Point &location) |
const mdet::MDetector & | GetMDetector () const |
ManagerRegister & | GetMManagerRegister () const |
const rdet::RDetector & | GetRDetector () const |
utl::CoordinateSystemPtr | GetReferenceCoordinateSystem () const |
Get the reference coordinate system used for analysis (usually PampaAmarilla for Auger) More... | |
ManagerRegister & | GetRManagerRegister () const |
const sdet::SDetector & | GetSDetector () const |
utl::CoordinateSystemPtr | GetSiteCoordinateSystem () const |
Get the coordinate system for the site. More... | |
ManagerRegister & | GetSManagerRegister () const |
utl::TimeStamp | GetTime () const |
Get time pertaining to the detector description. More... | |
void | Update (const utl::TimeStamp &time, const bool invData=true, const bool invComp=true, const bool forceRadio=false) |
Update detector: deletes currently constructed stations and sets new time. More... | |
Public Attributes | |
static T &return | instance |
Private Member Functions | |
Detector () | |
Detector (const Detector &detector) | |
Detector | operator= (const Detector &detector) |
~Detector () | |
Private Attributes | |
atm::Atmosphere | fAtmosphere |
cdet::CDetector * | fCDetector = nullptr |
fdet::FDetector * | fFDetector = nullptr |
fwk::ParametricGeoMagneticField * | fGeoMagneticField = nullptr |
mdet::MDetector * | fMDetector = nullptr |
rdet::RDetector * | fRDetector = nullptr |
utl::CoordinateSystemPtr | fReferenceCoordinateSystem |
sdet::SDetector * | fSDetector = nullptr |
utl::CoordinateSystemPtr | fSiteReferenceSystem |
utl::TimeStamp | fTime |
Friends | |
class | utl::Singleton< Detector > |
Top of the hierarchy of the detector description interface.
Definition at line 81 of file Detector.h.
|
private |
Definition at line 46 of file Detector.cc.
References fwk::CoordinateSystemRegistry::Get(), and INFO.
|
private |
Definition at line 244 of file Detector.cc.
|
private |
|
inline |
Definition at line 116 of file Detector.h.
Referenced by atm::LidarZone::GetCloudData().
|
inline |
Definition at line 113 of file Detector.h.
References fAtmosphere.
Referenced by RdAirplane::Ads_bEvent::Ads_bEvent(), FdProfileReconstructorKG::FdProfileReconstructor::CalculateGeometryAndDepth(), otoa::LongitudinalXmaxScanner::CalculateLightFactor(), SdSimpleSimKG::SdSimpleSim::CalculateLogZdist(), ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), TelescopeSimulatorLX::FDsimG4Materials::ConstructTableOfMaterials(), TimeModel::ConvertProductionHeightDistribution(), atm::AnalyticalCherenkovModel::EvaluateCherenkovPhotons(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), atm::AnalyticalCherenkovModel::EvaluateDirectCherenkovProbability(), otoa::Detector2ADST::FillAerosols(), otoa::Detector2ADST::FillDetector(), otoa::LongitudinalXmaxScanner::FillLightFactors(), otoa::FD2ADST::FillTelSimData(), ShowerLightSimulatorKG::ShowerLightSimulator::FluorescenceLight(), atm::ParametricXMLRayleighModel::GDistance(), TimeModel::Get_dNdX(), TimeModel::Get_dNdX_FromProfile(), otoa::LongitudinalXmaxScanner::GetChangedDepth(), TimeModelTestKG::TimeModelTest::GetLogZdist(), SdSimpleSimKG::SdSimpleSim::GetLogZdist(), TimeModel::MakeProductionHeightDistribution(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::PlotLDF(), UserModule::PlotTotalCherBeam(), UserModule::PlotTotalFluorLight(), ShowerLightSimulatorKG::ShowerLightSimulator::PrimaryCherenkovLight(), RdSphericalFit::RdSphericalFit::Run(), RdHASLDFFitter::RdHASLDFFitter::Run(), ReadAerosolLLNS::ReadAerosolLL::Run(), ReadAtmQualityLLNS::ReadAtmQualityLL::Run(), ReadCloudHLNS::ReadCloudHL::Run(), ReadMolecularLLNS::ReadMolecularLL::Run(), ReadLidarLLNS::ReadLidarLL::Run(), ProfileSimulatorOG::ProfileSimulator::Run(), FieldOfViewCalculatorKG::FieldOfViewCalculator::Run(), ShowerLightSimulatorKG::ShowerLightSimulator::Run(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::Run(), LDFTestKG::LDFTest::Run(), TimeModelTestKG::TimeModelTest::Run(), SdSimpleSimKG::SdSimpleSim::Run(), PlotGOESNS::PlotGOES::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), testAtmLowLevelAtmInterface::testAerosolDB(), testAtmLowLevelAtmInterface::testAerosolDBNotFound(), testAtmLowLevelAtmInterface::testAttSlice(), testAtmLowLevelAtmInterface::testGOESDB(), testAtmLowLevelAtmInterface::testGOESDBNotFound1(), testAtmLowLevelAtmInterface::testGOESDBNotFound2(), testAtmLowLevelAtmInterface::testGOESDBNotFound3(), testAtmLowLevelAtmInterface::testLidarDB(), testAtmLowLevelAtmInterface::testMolecularDB(), testAtmLowLevelAtmInterface::testMolecularDBNotFound(), testAtmLowLevelAtmInterface::testMolecularLayer(), testAtmLowLevelAtmInterface::testOverallQualityDB(), testAtmLowLevelAtmInterface::testOverallQualityDBNotFound(), testAtmLowLevelAtmInterface::testPFSlice(), and testAtmLowLevelAtmInterface::testVAODSlice().
const cdet::CDetector & Detector::GetCDetector | ( | ) | const |
Definition at line 167 of file Detector.cc.
|
inline |
Definition at line 109 of file Detector.h.
Referenced by cdet::CDetector::GetStation().
const fdet::FDetector & Detector::GetFDetector | ( | ) | const |
Definition at line 131 of file Detector.cc.
Referenced by DrumPhotonGeneratorOG::DrumPhotonGenerator::CalculateCalibrationConstants(), FdProfileReconstructorKG::FdProfileReconstructor::CalculateGeometryAndDepth(), otoa::LongitudinalXmaxScanner::CalculateLightFactor(), otoa::LongitudinalXmaxScanner::CalculateTimeLength(), DrumPhotonGeneratorOG::DrumPhotonGenerator::CalibrateTelescope(), TelescopeSimulatorLX::FDsimG4Materials::ConstructTableOfMaterials(), FdCalibratorOG::FdCalibrator::CorrectFDTime(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), FdSimEventCheckerOG::FdSimEventChecker::DumpDB(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), otoa::Detector2ADST::FillAerosols(), otoa::Detector2ADST::FillDetector(), otoa::FD2ADST::FillEyeSim(), otoa::FD2ADST::FillFdRecStations(), otoa::FD2ADST::FillHybridStations(), otoa::LongitudinalXmaxScanner::FillLightFactors(), otoa::FD2ADST::FillTelSimData(), TelescopeSimulatorLX::TelescopeSimulator::FillTraces(), SpotPhotonGeneratorOG::SpotPhotonGenerator::FinishSpot(), otoa::LongitudinalXmaxScanner::GetChangedDepth(), otoa::LongitudinalXmaxScanner::GetTelescopeAndPixelId(), TelescopeSimulatorLX::FDsimG4DetectorConstruction::Init(), otoa::LongitudinalXmaxScanner::IsNearBorder(), fdDoubleBumpFinder::FdDoubleBumpFinder::IsPreselected(), MeanNpeFillerKG::MeanNpeFiller::Run(), ReadCloudHLNS::ReadCloudHL::Run(), ReadCloudLLNS::ReadCloudLL::Run(), FdSimEventCheckerOG::FdSimEventChecker::Run(), FieldOfViewCalculatorKG::FieldOfViewCalculator::Run(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::Run(), TestTorusKG::TestTorus::Run(), SpotPhotonGeneratorOG::SpotPhotonGenerator::Run(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), PlotGOESNS::PlotGOES::Run(), DrumPhotonGeneratorOG::DrumPhotonGenerator::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), and FDetectorTest::testNotCommissioned().
|
inline |
Definition at line 93 of file Detector.h.
fwk::ParametricGeoMagneticField & Detector::GetGeoMagneticField | ( | ) |
Definition at line 227 of file Detector.cc.
References fwk::MagneticFieldModel::instance().
utl::Vector Detector::GetGeoMagneticFieldAt | ( | const utl::Point & | location | ) |
Definition at line 238 of file Detector.cc.
Referenced by bFieldAt().
const mdet::MDetector & Detector::GetMDetector | ( | ) | const |
Definition at line 155 of file Detector.cc.
Referenced by MdMuonCounterAG::MdMuonCounter::ComputeSignalT50(), MDetectorTest::testBasic(), MDetectorTest::testBrokenChannelsAssignment(), and MDetectorTest::testComponentAssignment().
|
inline |
Definition at line 104 of file Detector.h.
const rdet::RDetector & Detector::GetRDetector | ( | ) | const |
Definition at line 143 of file Detector.cc.
Referenced by otoa::RdFiller::AddRadioDetector(), otoa::RdFiller::AddRadioDetectorGeometry(), RdScintSignalReconstructor::RdScintSignalReconstructor::ComputeBaryCenter(), RdWaveFit::RdWaveFit::ComputeBaryCenter(), RdEventInitializer::RdEventInitializer::ComputeCoordinateOrigin(), RdEventPreSelector::RdEventPreSelector::CountStationWithPulse(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::CreateCoREASListContent(), RdEVASimPreparator::RdEVASimPreparator::EVAFileWriter(), RdLDFFitter::RdLDFFitter::GetAnglesToEFieldExpectation(), RdLDFFitter::RdLDFFitter::GetAnglesToLorentzVector(), RdLDFFitter::RdLDFFitter::PlotGoodnessOfFit(), RdLDFFitter::RdLDFFitter::PlotScan(), RdSphericalFit::RdSphericalFit::Run(), RdHASLDFFitter::RdHASLDFFitter::Run(), RdChannelResampler::RdChannelResampler::Run(), RdTopDownStationSelector::RdTopDownStationSelector::Run(), RdChannelVoltageToADCConverter::RdChannelVoltageToADCConverter::Run(), RdChannelAmplitudeTemperatureDependenceCorrector::RdChannelAmplitudeTemperatureDependenceCorrector::Run(), RdChannelADCToVoltageConverter::RdChannelADCToVoltageConverter::Run(), RdSimulationRadioTrigger::RdSimulationRadioTrigger::Run(), RdStationSimulationRejector::RdStationSimulationRejector::Run(), ShowerMaker::ShowerMaker::Run(), RdChannelNoiseImporter_RD::RdChannelNoiseImporter_RD::Run(), RdStationRejector::RdStationRejector::Run(), RdChannelASCIINoiseImporterRD::RdChannelASCIINoiseImporterRD::Run(), RdChannelBeaconSuppressor::RdChannelBeaconSuppressor::Run(), RdStationPolarizationRejector::RdStationPolarizationRejector::Run(), RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), RdChannelResponseIncorporator::RdChannelResponseIncorporator::Run(), RdCOREASSimulationCreator::RdCOREASSimulationCreator::Run(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::Run(), RdChannelNoiseASCIIImporter::RdChannelNoiseASCIIImporter::Run(), RdVirtualStationNoiseImporter::RdVirtualStationNoiseImporter::Run(), RdChannelAmplitudeCalibrator::RdChannelAmplitudeCalibrator::Run(), RdChannelNoiseImporter_AERA::RdChannelNoiseImporter_AERA::Run(), RdStationBeamFormer::RdStationBeamFormer::Run(), RdChannelNoiseGenerator::RdChannelNoiseGenerator::Run(), RdChannelNoisePulseCounter::RdChannelNoisePulseCounter::Run(), RdAirplane::RdAirplaneTiming::Run(), RdPlaneFit::RdPlaneFit::Run(), RdStationInterpolator::RdStationInterpolator::Run(), RdAirplane::RdAirplaneArrivalDirectionSetter::Run(), RdTimeCalibration::RdTimeCalibration::Run(), RdMonitoring::RdMonitoring::Run(), RdStationSignalInterpolator::RdStationSignalInterpolator::Run(), RdStationInterpolatorStarShape::RdStationInterpolatorStarShape::Run(), RdLDFFitter::RdLDFFitter::Run(), RSQLManagerTest::testBeaconManager(), RDetectorTest::testRModel(), RSQLManagerTest::testStationListManager(), RDetectorTest::testStationListManager(), and RdREASSimPreparator::RdREASSimPreparator::WriteDetectorFile().
|
inline |
Get the reference coordinate system used for analysis (usually PampaAmarilla for Auger)
Definition at line 141 of file Detector.h.
References fReferenceCoordinateSystem.
Referenced by otoa::RdFiller::AddRadioDetector(), otoa::RdFiller::AddRadioDetectorGeometry(), RdZHAireSSimPreparator::RdZHAireSSimPreparator::CreateFiles(), RdEVASimPreparator::RdEVASimPreparator::EVAFileWriter(), otoa::Detector2ADST::FillDetector(), otoa::LongitudinalXmaxScanner::FillLightFactors(), RdAirplane::RdAirplaneArrivalDirectionSetter::Init(), ShowerMaker::ShowerMaker::Run(), RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), RdStationPolarizationRejector::RdStationPolarizationRejector::Run(), RdEventPreSelector::RdEventPreSelector::Run(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::Run(), RdPlaneFit::RdPlaneFit::Run(), RdTimeCalibration::RdTimeCalibration::Run(), RdScintPlaneFit::RdScintPlaneFit::Run(), RdLDFFitter::RdLDFFitter::Run(), SDenseDetectorTestBasic::testBasic1(), SDenseDetectorTestAzimuth::testBasicAzimuth(), and RDetectorTest::testStationListManager().
|
inline |
Definition at line 99 of file Detector.h.
Referenced by RdStationAssociator::RdStationAssociator::AddVirtualStations().
const sdet::SDetector & Detector::GetSDetector | ( | ) | const |
Definition at line 119 of file Detector.cc.
Referenced by MdMuonCounterAG::MdMuonCounter::ComputeSignalT50(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::CreateCoREASListContent(), RdZHAireSSimPreparator::RdZHAireSSimPreparator::CreateFiles(), SdRecPlotterOG::SdRecPlotter::DrawEvent(), otoa::Detector2ADST::FillDetector(), otoa::FD2ADST::FillFdRecStations(), otoa::FD2ADST::FillHybridStations(), StationListCreatorModuleNS::StationListCreatorModule::Finish(), fdDoubleBumpFinder::FdDoubleBumpFinder::IsPreselected(), SdSimpleSimKG::SdSimpleSim::Run(), PlotGOESNS::PlotGOES::Run(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), SDetectorTest::testBasic(), SDenseDetectorTestBasic::testBasic1(), SDenseDetectorTestAzimuth::testBasicAzimuth(), SDetectorTest::testBug594(), SDetectorTest::testCrowns(), SDetectorTest::testGroups(), SDenseDetectorTestBasic::testNoCorePosition(), SDenseDetectorTestBasic::testNoSimShower(), SDetectorTest::testOffGridStations(), SDetectorTest::testStationListManager(), SDetectorTest::testStationNotCommissioned(), and RdREASSimPreparator::RdREASSimPreparator::WriteDetectorFile().
|
inline |
Get the coordinate system for the site.
Definition at line 137 of file Detector.h.
References fSiteReferenceSystem.
Referenced by RdScintSignalReconstructor::RdScintSignalReconstructor::ComputeBaryCenter(), RdWaveFit::RdWaveFit::ComputeBaryCenter(), RdEventInitializer::RdEventInitializer::ComputeCoordinateOrigin(), DLECorrection::DLECorrection::CorrectDLE(), SdRecPlotterOG::SdRecPlotter::DrawEvent(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), atm::AnalyticalCherenkovModel::EvaluateDirectCherenkovProbability(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::FindMuonDensityBaryCenter(), MdGeometryFitterAG::MdGeometryFitter::Run(), RdPlaneFit::RdPlaneFit::Run(), RdScintPlaneFit::RdScintPlaneFit::Run(), SDetectorTest::testBasic(), MDetectorTest::testBasic(), SDenseDetectorTestBasic::testBasic1(), testAtmLowLevelAtmInterface::testGOESDB(), and testAtmLowLevelAtmInterface::testGOESDBNotFound3().
|
inline |
Definition at line 87 of file Detector.h.
Referenced by StationListCreatorModuleNS::StationListCreatorModule::Finish().
|
inline |
Get time pertaining to the detector description.
Definition at line 134 of file Detector.h.
References fTime.
Referenced by RdStationAssociator::RdStationAssociator::AddVirtualStations(), RdAirplane::Ads_bEvent::Ads_bEvent(), FdCalibratorOG::FdCalibrator::CorrectFDTime(), FdSimEventCheckerOG::FdSimEventChecker::DumpDB(), atm::LidarZone::GetCloudData(), cdet::CDetector::GetStation(), ReadMolecularLLNS::ReadMolecularLL::Run(), RdStationRejector::RdStationRejector::Run(), TelescopeSimulatorLX::TelescopeSimulator::Run(), SpotPhotonGeneratorOG::SpotPhotonGenerator::Run(), and DrumPhotonGeneratorOG::DrumPhotonGenerator::Run().
void Detector::Update | ( | const utl::TimeStamp & | time, |
const bool | invData = true , |
||
const bool | invComp = true , |
||
const bool | forceRadio = false |
||
) |
Update detector: deletes currently constructed stations and sets new time.
time | Time for update. |
invData | Force data invalidation. |
invComp | Force (sub) component invalidation. |
forceRadio | Force update of RDetector. |
This flags were added after amiga, tough they're not strictly dependant on the muon detector.
Definition at line 179 of file Detector.cc.
Referenced by RdStationAssociator::RdStationAssociator::AddVirtualStations(), RdAirplane::Ads_bEvent::Ads_bEvent(), FdCalibratorOG::FdCalibrator::CorrectFDTime(), ShowerMaker::ShowerMaker::Run(), ReadAerosolLLNS::ReadAerosolLL::Run(), ReadAtmQualityLLNS::ReadAtmQualityLL::Run(), ReadCloudHLNS::ReadCloudHL::Run(), ReadCloudLLNS::ReadCloudLL::Run(), ReadMolecularHLNS::ReadMolecularHL::Run(), ReadLidarLLNS::ReadLidarLL::Run(), ReadMolecularLLNS::ReadMolecularLL::Run(), RdStationRejector::RdStationRejector::Run(), ReadAerosolHLNS::ReadAerosolHL::Run(), RdCOREASSimulationCreator::RdCOREASSimulationCreator::Run(), RdVirtualStationNoiseImporter::RdVirtualStationNoiseImporter::Run(), RdChannelNoiseImporter_AERA::RdChannelNoiseImporter_AERA::Run(), RdZHAireSSimPreparator::RdZHAireSSimPreparator::Run(), RdStationInterpolator::RdStationInterpolator::Run(), TestTorusKG::TestTorus::Run(), PlotGOESNS::PlotGOES::Run(), RdStationInterpolatorStarShape::RdStationInterpolatorStarShape::Run(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::Run(), RdEventInitializer::RdEventInitializer::SetSignalSearchWindowFromFile(), testAtmLowLevelAtmInterface::testAerosolDB(), testAtmLowLevelAtmInterface::testAerosolDBNotFound(), RDetectorTest::testAntennaType(), testAtmLowLevelAtmInterface::testAttSlice(), SDetectorTest::testBasic(), MDetectorTest::testBasic(), RSQLManagerTest::testBeaconManager(), MDetectorTest::testBrokenChannelsAssignment(), SDetectorTest::testBug594(), testAtmLowLevelAtmInterface::testCloudDB(), MDetectorTest::testComponentAssignment(), testCorsikaShowerFile::testConstruct(), SDetectorTest::testCrowns(), testAtmLowLevelAtmInterface::testGOESDB(), testAtmLowLevelAtmInterface::testGOESDBNotFound1(), testAtmLowLevelAtmInterface::testGOESDBNotFound2(), testAtmLowLevelAtmInterface::testGOESDBNotFound3(), SDetectorTest::testGroups(), testAtmLowLevelAtmInterface::testLidarDB(), testAtmLowLevelAtmInterface::testMolecularDB(), testAtmLowLevelAtmInterface::testMolecularDBNotFound(), testAtmLowLevelAtmInterface::testMolecularLayer(), FDetectorTest::testNotCommissioned(), SDetectorTest::testOffGridStations(), testAtmLowLevelAtmInterface::testOverallQualityDB(), testAtmLowLevelAtmInterface::testOverallQualityDBNotFound(), testAtmLowLevelAtmInterface::testPFSlice(), RDetectorTest::testRModel(), RSQLManagerTest::testStationListManager(), RDetectorTest::testStationListManager(), SDetectorTest::testStationListManager(), SDetectorTest::testStationNotCommissioned(), FdAlwaysUpManagerTest::testUp(), testAtmLowLevelAtmInterface::testVAODSlice(), and RdGlobalFit::RdGlobalFit::XmaxFromRmax().
|
friend |
Definition at line 166 of file Detector.h.
|
private |
Definition at line 159 of file Detector.h.
Referenced by GetAtmosphere().
|
mutableprivate |
Definition at line 157 of file Detector.h.
|
mutableprivate |
Definition at line 155 of file Detector.h.
|
private |
Definition at line 164 of file Detector.h.
|
mutableprivate |
Definition at line 158 of file Detector.h.
|
mutableprivate |
Definition at line 156 of file Detector.h.
|
private |
Definition at line 162 of file Detector.h.
Referenced by GetReferenceCoordinateSystem().
|
mutableprivate |
Definition at line 154 of file Detector.h.
|
private |
Definition at line 161 of file Detector.h.
Referenced by GetSiteCoordinateSystem().
|
private |
Definition at line 160 of file Detector.h.
Referenced by GetTime().
|
inherited |
Definition at line 44 of file Singleton.h.