List of all members | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends
det::Detector Class Reference

Top of the hierarchy of the detector description interface. More...

#include <Detector.h>

Inheritance diagram for det::Detector:
Inheritance graph
[legend]

Public Member Functions

ManagerRegisterGetAManagerRegister () const
 
const atm::AtmosphereGetAtmosphere () const
 
const cdet::CDetectorGetCDetector () const
 
ManagerRegisterGetCManagerRegister () const
 
const fdet::FDetectorGetFDetector () const
 
ManagerRegisterGetFManagerRegister () const
 
fwk::ParametricGeoMagneticFieldGetGeoMagneticField ()
 
utl::Vector GetGeoMagneticFieldAt (const utl::Point &location)
 
const mdet::MDetectorGetMDetector () const
 
ManagerRegisterGetMManagerRegister () const
 
const rdet::RDetectorGetRDetector () const
 
utl::CoordinateSystemPtr GetReferenceCoordinateSystem () const
 Get the reference coordinate system used for analysis (usually PampaAmarilla for Auger) More...
 
ManagerRegisterGetRManagerRegister () const
 
const sdet::SDetectorGetSDetector () const
 
utl::CoordinateSystemPtr GetSiteCoordinateSystem () const
 Get the coordinate system for the site. More...
 
ManagerRegisterGetSManagerRegister () 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::CDetectorfCDetector = nullptr
 
fdet::FDetectorfFDetector = nullptr
 
fwk::ParametricGeoMagneticFieldfGeoMagneticField = nullptr
 
mdet::MDetectorfMDetector = nullptr
 
rdet::RDetectorfRDetector = nullptr
 
utl::CoordinateSystemPtr fReferenceCoordinateSystem
 
sdet::SDetectorfSDetector = nullptr
 
utl::CoordinateSystemPtr fSiteReferenceSystem
 
utl::TimeStamp fTime
 

Friends

class utl::Singleton< Detector >
 

Detailed Description

Top of the hierarchy of the detector description interface.

Author
T. Paul
Date
4 Feb 2003

Definition at line 81 of file Detector.h.

Constructor & Destructor Documentation

Detector::Detector ( )
private

Definition at line 46 of file Detector.cc.

References fwk::CoordinateSystemRegistry::Get(), and INFO.

Detector::~Detector ( )
private

Definition at line 244 of file Detector.cc.

det::Detector::Detector ( const Detector detector)
private

Member Function Documentation

ManagerRegister& det::Detector::GetAManagerRegister ( ) const
inline

Definition at line 116 of file Detector.h.

Referenced by atm::LidarZone::GetCloudData().

const atm::Atmosphere& det::Detector::GetAtmosphere ( ) const
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.

ManagerRegister& det::Detector::GetCManagerRegister ( ) const
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().

ManagerRegister& det::Detector::GetFManagerRegister ( ) const
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
ManagerRegister& det::Detector::GetMManagerRegister ( ) const
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().

utl::CoordinateSystemPtr det::Detector::GetReferenceCoordinateSystem ( ) const
inline
ManagerRegister& det::Detector::GetRManagerRegister ( ) const
inline
const sdet::SDetector & Detector::GetSDetector ( ) const
utl::CoordinateSystemPtr det::Detector::GetSiteCoordinateSystem ( ) const
inline
ManagerRegister& det::Detector::GetSManagerRegister ( ) const
inline
utl::TimeStamp det::Detector::GetTime ( ) const
inline
Detector det::Detector::operator= ( const Detector detector)
private
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.

Parameters
timeTime for update.
invDataForce data invalidation.
invCompForce (sub) component invalidation.
forceRadioForce update of RDetector.

This flags were added after amiga, tough they're not strictly dependant on the muon detector.

See Also
mdet::MDetector::Update

Definition at line 179 of file Detector.cc.

References INFO, and WARNING.

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().

Friends And Related Function Documentation

friend class utl::Singleton< Detector >
friend

Definition at line 166 of file Detector.h.

Member Data Documentation

atm::Atmosphere det::Detector::fAtmosphere
private

Definition at line 159 of file Detector.h.

Referenced by GetAtmosphere().

cdet::CDetector* det::Detector::fCDetector = nullptr
mutableprivate

Definition at line 157 of file Detector.h.

fdet::FDetector* det::Detector::fFDetector = nullptr
mutableprivate

Definition at line 155 of file Detector.h.

fwk::ParametricGeoMagneticField* det::Detector::fGeoMagneticField = nullptr
private

Definition at line 164 of file Detector.h.

mdet::MDetector* det::Detector::fMDetector = nullptr
mutableprivate

Definition at line 158 of file Detector.h.

rdet::RDetector* det::Detector::fRDetector = nullptr
mutableprivate

Definition at line 156 of file Detector.h.

utl::CoordinateSystemPtr det::Detector::fReferenceCoordinateSystem
private

Definition at line 162 of file Detector.h.

Referenced by GetReferenceCoordinateSystem().

sdet::SDetector* det::Detector::fSDetector = nullptr
mutableprivate

Definition at line 154 of file Detector.h.

utl::CoordinateSystemPtr det::Detector::fSiteReferenceSystem
private

Definition at line 161 of file Detector.h.

Referenced by GetSiteCoordinateSystem().

utl::TimeStamp det::Detector::fTime
private

Definition at line 160 of file Detector.h.

Referenced by GetTime().

template<typename T>
T& return utl::Singleton< T >::instance
inherited
Initial value:
{
static T instance

Definition at line 44 of file Singleton.h.


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

, generated on Tue Sep 26 2023.