Detector description interface for Station-related data. More...
#include <sdet/Station.h>
Classes | |
struct | InternalPartnerStationFunctor |
Public Types | |
typedef boost::transform_iterator < InternalPartnerStationFunctor, std::vector< int > ::const_iterator, const Station & > | PartnerIterator |
PartnerIterator returns a pointer to a station. More... | |
typedef boost::indirect_iterator < InternalPMTIterator, const PMT & > | PMTIterator |
PMTIterator returns a pointer to a PMT. More... | |
typedef std::vector< int > | StationIdCollection |
Public Member Functions | |
bool | ExistsAssociatedCounter () const |
if this Station has an associated muon Counter. More... | |
int | GetAssociatedCounterId () const |
the identifier of the associated muon Counter. More... | |
const std::vector< double > & | GetAxes () const |
const utl::TimeStamp & | GetCommissionTime () const |
Station commission time. More... | |
const utl::TimeRange & | GetCommissionTimeRange () const |
Station commission time range. More... | |
const StationIdCollection & | GetCrown (const int level) const |
Returns a list of station id's in the crown. If the argument is 0, it returns the station id. More... | |
const utl::TimeStamp & | GetDecommissionTime () const |
Station decommission time. More... | |
const utl::TabulatedFunction & | GetElectronicsImpulseResponse () const |
double | GetFADCBinSize () const |
unsigned int | GetFADCTraceLength () const |
int | GetGroupId () const |
returns unique identifier of a group of stations or zero (if single) More... | |
double | GetHeight () const |
Height of the tank (water only) More... | |
int | GetId () const |
Station ID. More... | |
unsigned int | GetLastPMTId () const |
Id of last PMT in station. More... | |
int | GetLatchBin () const |
const utl::TabulatedFunction & | GetLinerReflectivity () const |
Tyvek liner reflectivity as a function of photon energy. More... | |
double | GetLinerSigmaAlpha () const |
Tyvek liner sigma_alpha roughness parameter. More... | |
const utl::TabulatedFunction & | GetLinerSpecularLobe () const |
Tyvek liner specular lobe constant as a function of photon energy. More... | |
const utl::TabulatedFunction & | GetLinerSpecularSpike () const |
Tyvek liner specular spike constant as a function of photon energy. More... | |
utl::CoordinateSystemPtr | GetLocalCoordinateSystem () const |
Get the Auger reference system centered on the tank. More... | |
const std::vector< double > & | GetMuonShapeHistogramBinning (const int calibrationVersion) const |
const std::string & | GetName () const |
Station name. More... | |
unsigned int | GetNPMTs (const PMTConstants::PMTType type=PMTConstants::eAnyType) const |
Number of pmts in station. More... | |
int | GetNumberOfPartners () const |
Number of partners the station has. More... | |
const std::vector< int > & | GetPartnerIds () const |
returns vector of partner station ids More... | |
const PMT & | GetPMT (const int id) const |
Get specified PMT by id. More... | |
const PMT & | GetPMT (const sevt::PMT &pmt) const |
Get sdet::PMT from an sevt::PMT. More... | |
utl::Point | GetPosition () const |
Tank position. More... | |
double | GetRadius () const |
Radius of the tank (water only) More... | |
unsigned int | GetSaturationValue () const |
const Scintillator & | GetScintillator () const |
const PMT & | GetScintillatorPMT () const |
const PMT & | GetSmallPMT () const |
double | GetThickness () const |
Thickness of the tank walls. More... | |
double | GetTimingUncertainty () const |
const utl::TimeStamp & | GetUUBCommissionTime () const |
const utl::TabulatedFunction & | GetWaterAbsorptionLength () const |
Water absorption length as a function of photon energy. More... | |
const utl::TabulatedFunction & | GetWaterRefractionIndex () const |
Water refraction index as a function of photon energy. More... | |
bool | HasScintillator () const |
bool | HasSmallPMT () const |
if (!IsUUB()) | |
if (calibrationVersion< 262) | |
if (!IsUUB()) | |
if (calibrationVersion< 262) | |
if (baseHisto.empty()) | |
bool | IsDense () const |
Tells whether the station belongs to set of hypothetical "dense" stations. More... | |
bool | IsHit (const utl::Point &from, const utl::Vector &direction, utl::Point &where) const |
bool | IsHit (const utl::Point &from, const utl::Vector &direction) const |
bool | IsInAcquisition () const |
Station in data acquisition. More... | |
bool | IsInGrid (const SDetectorConstants::GridIndex index=SDetectorConstants::eStandard) const |
Tells whether the station is in the regular triangular grid. More... | |
bool | IsInsideStation (const utl::Point &pos) const |
bool | IsUUB () const |
PartnerIterator | PartnersBegin () const |
Beginning of the collection of Partners in multiplet. More... | |
PartnerIterator | PartnersEnd () const |
End of the collection of Partners in multiplet. More... | |
PMTIterator | PMTsBegin () const |
Beginning of the collection of pointers to PMTs. More... | |
PMTIterator | PMTsEnd () const |
End of the collection of pointers to PMTs. More... | |
switch (pmtType) | |
switch (pmtType) | |
Static Public Member Functions | |
static unsigned int | GetFirstPMTId () |
Id of first pmt in station. More... | |
Public Attributes | |
return | baseHisto |
template<typename T > | |
const std::vector< T > & | const |
return | emptyVector |
const short int | stridedBins = 50 |
Static Public Attributes | |
static std::vector< T > | emptyVector |
Protected Attributes | |
utl::Validated< utl::Point > | fPosition |
utl::CoordinateSystemPtr | fReferenceSystem |
Private Types | |
typedef std::bitset < SDetectorConstants::kGridIndexSize > | InGridType |
typedef std::map< int, StationIdCollection > | InternalCrownCollection |
typedef InternalPMTVector::const_iterator | InternalPMTIterator |
typedef std::vector< const PMT * > | InternalPMTVector |
Private Member Functions | |
template<typename T > | |
det::VManager::Status | GetStationData (T &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg, const bool throwOnFailure=true) const |
void | MakeScintillator () const |
void | MakeSmallPMT () const |
void | NotFoundAndThrow (const std::string &msg) const |
Station | operator= (const Station &) |
void | RemoveScintillator () const |
void | RemoveSmallPMT () const |
const std::vector< int > & | SetPartnerIds () const |
Station (const int id) | |
Station (const Station &) | |
void | Update () const |
void | UpdateElectronics (const bool isuub) const |
~Station () | |
Static Private Member Functions | |
template<typename T > | |
static const std::vector< T > & | InitializeIfNeeded (std::vector< T > &histox, const short int normalBins, const short int step, const short int stridedBins, const short int stride) |
static void | InitializeShape (std::vector< double > &histox, const int nBins, const double dt) |
Static Private Attributes | |
static const unsigned int | kFirstWaterCherenkovLargePMTId = 1 |
static const unsigned int | kLastWaterCherenkovLargePMTId = 3 |
static const unsigned int | kScintillatorPMTId = 5 |
static const unsigned int | kWaterCherenkovSmallPMTId = 4 |
Friends | |
class | SDetector |
class | Unlock |
Detector description interface for Station-related data.
Definition at line 52 of file SDetector/Station.h.
|
private |
Definition at line 415 of file SDetector/Station.h.
|
private |
Definition at line 329 of file SDetector/Station.h.
|
private |
Definition at line 56 of file SDetector/Station.h.
|
private |
Definition at line 55 of file SDetector/Station.h.
typedef boost::transform_iterator<InternalPartnerStationFunctor, std::vector<int>::const_iterator, const Station&> sdet::Station::PartnerIterator |
PartnerIterator returns a pointer to a station.
Definition at line 208 of file SDetector/Station.h.
typedef boost::indirect_iterator<InternalPMTIterator, const PMT&> sdet::Station::PMTIterator |
PMTIterator returns a pointer to a PMT.
Definition at line 195 of file SDetector/Station.h.
typedef std::vector<int> sdet::Station::StationIdCollection |
Definition at line 241 of file SDetector/Station.h.
|
private |
Definition at line 32 of file SDetector/Station.cc.
References sdet::PMTConstants::eWaterCherenkovLarge, fIsUUB, fPMTVector, fStationIndexMap, IsUUB(), kFirstWaterCherenkovLargePMTId, and kLastWaterCherenkovLargePMTId.
|
private |
Definition at line 50 of file SDetector/Station.cc.
References fPMTVector, and G4StationSimulatorOG::p.
bool Station::ExistsAssociatedCounter | ( | ) | const |
if this Station has an associated muon Counter.
Definition at line 58 of file SDetector/Station.cc.
References GetId().
Referenced by G4XTankSimulatorAG::G4XTankSimulator::Init().
int Station::GetAssociatedCounterId | ( | ) | const |
the identifier of the associated muon Counter.
Definition at line 66 of file SDetector/Station.cc.
References GetId().
const vector< double > & Station::GetAxes | ( | ) | const |
Definition at line 465 of file SDetector/Station.cc.
References fAxes, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
|
inline |
Station commission time.
Definition at line 229 of file SDetector/Station.h.
References GetCommissionTimeRange(), and utl::TimeRange::GetStartTime().
Station commission time range.
Definition at line 362 of file SDetector/Station.cc.
References fCommissionTimeRange, utl::Validated< T >::Get(), GetStationData(), and utl::Validated< T >::IsValid().
Referenced by GetCommissionTime(), GetDecommissionTime(), and sdet::SDetector::Update().
const Station::StationIdCollection & Station::GetCrown | ( | const int | level | ) | const |
Returns a list of station id's in the crown. If the argument is 0, it returns the station id.
Definition at line 482 of file SDetector/Station.cc.
References crown(), fCrowns, fId, fStationIndexMap, and NotFoundAndThrow().
Referenced by EventGeneratorOG::EventGenerator::GenerateArrayCentricRandomizedCoreAroundRandomStation(), RdZHAireSSimPreparator::RdZHAireSSimPreparator::GenerateCoreAroundRandomSDStation(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::GenerateCoreAroundRandomSDStation(), EventGeneratorOG::EventGenerator::GenerateCoreAroundStation(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::IsContained(), SDetectorTest::testBug594(), and SDetectorTest::testCrowns().
|
inline |
Station decommission time.
Definition at line 233 of file SDetector/Station.h.
References GetCommissionTimeRange(), and utl::TimeRange::GetStopTime().
const TabulatedFunction & Station::GetElectronicsImpulseResponse | ( | ) | const |
Definition at line 216 of file SDetector/Station.cc.
References fElectronicsImpulseResponse, and GetStationData().
double Station::GetFADCBinSize | ( | ) | const |
Definition at line 166 of file SDetector/Station.cc.
References fFADCBinSize, utl::Validated< T >::Get(), GetStationData(), and utl::Validated< T >::IsValid().
Referenced by SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundBasicSegments(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundSegments(), MdMuonCounterAG::MdMuonCounter::GetTraceOffset(), UnderGrdInjectorAG::UnderGrdInjector::GetTriggerTimeFromSD(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::GetTriggerTimeFromSD(), MdCounterSimulatorAG::MdCounterSimulator::GetTriggerTimeFromSD(), SdFootprintAnalyzerNS::SdFootprintAnalyzer::GetVEMChargeTrace(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::GetVEMChargeTrace(), SdFilterFADCSimulatorASCII::SdFilterFADCSimulator::Run(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
unsigned int Station::GetFADCTraceLength | ( | ) | const |
Definition at line 153 of file SDetector/Station.cc.
References fFADCTraceLength, fStationIndexMap, utl::Validated< T >::Get(), det::ManagerRegister::GetDataOrThrow(), utl::Validated< T >::IsValid(), utl::m, and utl::Validated< T >::SetValid().
Referenced by DLECorrection::DLECorrection::CorrectDLE(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundBasicSegments(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundSegments(), UnderGrdInjectorAG::UnderGrdInjector::GetTriggerTimeFromSD(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::GetTriggerTimeFromSD(), MdCounterSimulatorAG::MdCounterSimulator::GetTriggerTimeFromSD(), SdFootprintAnalyzerNS::SdFootprintAnalyzer::GetVEMChargeTrace(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::GetVEMChargeTrace(), SdFilterFADCSimulatorASCII::SdFilterFADCSimulator::Run(), testSEventImpl::setPMTValues(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inlinestatic |
Id of first pmt in station.
Definition at line 71 of file SDetector/Station.h.
References kFirstWaterCherenkovLargePMTId.
Referenced by TankTriggerSimulatorOG::TankTriggerSimulator::GetCalibInfo(), SdCalibPlotterOG::SdCalibPlotter::Run(), and Validatrix::Validatrix::Run().
int Station::GetGroupId | ( | ) | const |
returns unique identifier of a group of stations or zero (if single)
Definition at line 350 of file SDetector/Station.cc.
References fGroupId, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by SDetectorTest::testGroups().
double Station::GetHeight | ( | ) | const |
Height of the tank (water only)
Simulations use this to set the height of the cylinder of water used. The thickness of the tank resin is not included in this number, and should be taken from Station::GetThickness()
Definition at line 240 of file SDetector/Station.cc.
References fHeight, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by cdet::Station::GetRPCPosition(), SdAccidentalInjectorKG::SdAccidentalInjector::Init(), FastTankSimulatorOG::FastTankSimulator::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), MuonCounterViewerAG::MuonCounterViewer::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), and ParticleInjectorOG::ParticleInjector::SetPosition().
|
inline |
Station ID.
Definition at line 165 of file SDetector/Station.h.
References fId.
Referenced by G4StationSimulatorOG::G4StationConstruction::AssembleStation(), G4StationSimulatorOG::G4StationConstruction::CreatePrimitives(), ExistsAssociatedCounter(), GetAssociatedCounterId(), EventGeneratorOG::EventGenerator::GetInfillCrown(), RdREASSimPreparatorNG::GetInfillCrown(), G4StationSimulatorOG::G4StationSimulator::Current::GetStationID(), G4XTankSimulatorAG::G4XTankSimulator::Init(), sdet::SDenseStationListXMLManager::DenseStations::Init(), ParticleInjectorOG::ParticleInjector::InjectParticles(), SdAccidentalInjectorKG::SdAccidentalInjector::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), G4StationSimulatorOG::G4StationConstruction::SetMARTAParameters(), SDenseDetectorTestBasic::testBasic1(), and Sd5T5Tester::Sd5T5Tester::UpdateFirstCrown().
|
inline |
Id of last PMT in station.
Definition at line 74 of file SDetector/Station.h.
References fPMTVector.
int Station::GetLatchBin | ( | ) | const |
Definition at line 204 of file SDetector/Station.cc.
References fLatchBin, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by MdMuonCounterAG::MdMuonCounter::GetTraceOffset(), UnderGrdInjectorAG::UnderGrdInjector::GetTriggerTimeFromSD(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::GetTriggerTimeFromSD(), and MdCounterSimulatorAG::MdCounterSimulator::GetTriggerTimeFromSD().
const TabulatedFunction & Station::GetLinerReflectivity | ( | ) | const |
Tyvek liner reflectivity as a function of photon energy.
Definition at line 288 of file SDetector/Station.cc.
References fLinerReflectivity, and GetStationData().
Referenced by G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and SDetectorTest::testSModelsXMLManager().
double Station::GetLinerSigmaAlpha | ( | ) | const |
Tyvek liner sigma_alpha roughness parameter.
This parameter is the width of the distribution of the angles between microfacet normals and the average surface normal. This characterizes the average roughness of the tyvek and can be used as an input to optical models that describe the amount of specular reflection
Definition at line 324 of file SDetector/Station.cc.
References fLinerSigmaAlpha, utl::Validated< T >::Get(), GetStationData(), and utl::Validated< T >::IsValid().
Referenced by G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and SDetectorTest::testSModelsXMLManager().
const TabulatedFunction & Station::GetLinerSpecularLobe | ( | ) | const |
Tyvek liner specular lobe constant as a function of photon energy.
Definition at line 300 of file SDetector/Station.cc.
References fLinerSpecularLobe, and GetStationData().
Referenced by G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and SDetectorTest::testSModelsXMLManager().
const TabulatedFunction & Station::GetLinerSpecularSpike | ( | ) | const |
Tyvek liner specular spike constant as a function of photon energy.
Definition at line 312 of file SDetector/Station.cc.
References fLinerSpecularSpike, and GetStationData().
Referenced by G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and SDetectorTest::testSModelsXMLManager().
utl::CoordinateSystemPtr Station::GetLocalCoordinateSystem | ( | ) | const |
Get the Auger reference system centered on the tank.
Definition at line 528 of file SDetector/Station.cc.
References fwk::LocalCoordinateSystemConstructor< Policy >::Create().
Referenced by FastTankSimulatorOG::FastTankSimulator::CalculateDistanceInTank(), mdet::Scintillator::ComputeGroundPlane(), G4StationSimulatorOG::G4StationPrimaryGenerator::GeneratePrimaries(), G4StationSimulatorOG::G4StationFastCerenkov::GetDataFromConstruction(), G4StationSimulatorOG::G4TankFastCerenkov::GetDataFromConstruction(), mdet::Module::GetDepth(), mdet::Counter::GetReferenceCoordinateSystem(), cdet::Station::GetRPCPosition(), ParticleInjectorOG::ParticleInjector::InjectParticles(), G4StationSimulatorOG::G4ScintillatorAction::ProcessHits(), SdAccidentalInjectorKG::SdAccidentalInjector::Run(), GeometryExampleNS::GeometryExample::Run(), LEInjectorOG::LEInjector::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), G4XTankSimulatorAG::G4XTankSimulator::RunFast(), FastTankSimulatorOG::FastTankSimulator::SimulateComptonScattering(), TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation(), and G4StationSimulatorOG::G4StationSteppingAction::UserSteppingAction().
const vector< double > & Station::GetMuonShapeHistogramBinning | ( | const int | calibrationVersion | ) | const |
Definition at line 722 of file SDetector/Station.cc.
Referenced by SdCalibPlotterOG::MuonShapeView::Draw().
const string & Station::GetName | ( | ) | const |
Station name.
Definition at line 141 of file SDetector/Station.cc.
References fName, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by SDenseDetectorTestBasic::testBasic1(), SDetectorTest::testCrowns(), SDetectorTest::testStationListManager(), and SDetectorTest::testStationNotCommissioned().
unsigned int Station::GetNPMTs | ( | const PMTConstants::PMTType | type = PMTConstants::eAnyType | ) | const |
Number of pmts in station.
Definition at line 697 of file SDetector/Station.cc.
References sdet::PMTConstants::eAnyType, and G4StationSimulatorOG::p.
Referenced by GetScintillatorPMT(), and GetSmallPMT().
int Station::GetNumberOfPartners | ( | ) | const |
Number of partners the station has.
Definition at line 435 of file SDetector/Station.cc.
References SetPartnerIds().
Referenced by SdRecPlotterOG::SdRecPlotter::DrawEvent().
|
inline |
returns vector of partner station ids
Definition at line 222 of file SDetector/Station.h.
References SetPartnerIds().
Referenced by SDetectorTest::testGroups().
Get specified PMT by id.
Definition at line 74 of file SDetector/Station.cc.
References fPMTVector, and G4StationSimulatorOG::p.
Referenced by G4StationSimulatorOG::G4StationFastCerenkov::GetDataFromConstruction(), G4StationSimulatorOG::G4TankFastCerenkov::GetDataFromConstruction(), G4TankSimulatorASCII::G4TankFastCerenkov::GetDataFromConstruction(), G4XTankSimulatorAG::G4XTankFastCerenkov::GetDataFromConstruction(), G4TankSimulatorOG::G4TankFastCerenkov::GetDataFromConstruction(), GetPMT(), G4StationSimulatorOG::G4TankPMTAction::ProcessHits(), SdSimulationCalibratorOG::SdSimulationCalibrator::ProcessStation(), SdBaselineSimulatorASCII::SdBaselineSimulator::Run(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), G4TankSimulatorOG::G4TankStackingAction::SetStation(), G4TankSimulatorASCII::G4TankStackingAction::SetStation(), G4XTankSimulatorAG::G4XTankStackingAction::SetStation(), and SDetectorTest::testSModelsXMLManager().
Get sdet::PMT from an sevt::PMT.
Definition at line 87 of file SDetector/Station.cc.
References sevt::PMT::GetId(), and GetPMT().
Point Station::GetPosition | ( | ) | const |
Tank position.
Definition at line 391 of file SDetector/Station.cc.
References fEllipsoid, fPosition, utl::Validated< T >::Get(), utl::UTMPoint::GetPoint(), GetStationData(), and utl::Validated< T >::IsValid().
Referenced by SdHorizontalReconstructionNS::SdHorizontalReconstruction::CleanEvent(), SdFootprintAnalyzerNS::SdFootprintAnalyzer::ComputeBarycenter(), MdMuonCounterAG::MdMuonCounter::ComputeSignalT50(), LDFFinderOG::LDFFinder::CurvatureFitFnc(), Distance(), SdEventSelectorOG::Distance(), SdRecPlotterOG::SdRecPlotter::DrawEvent(), TopDownSelectorNS::TopDownSelector::EstimateCore(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::EstimateCore(), LDFFinderOG::LDFFinder::EstimateCurvature(), LDFFinderOG::LDFFinder::EstimateNStationsInFit(), LDFFinderOG::LDFFinder::EstimateS1000(), otoa::Detector2ADST::FillDetector(), otoa::FD2ADST::FillFdRecStations(), otoa::FD2ADST::FillHybridStations(), LDFFinderOG::LDFFinder::FixBeta(), LDFFinderOG::LDFFinder::FixGamma(), EventGeneratorOG::EventGenerator::GenerateArrayCentricRandomizedCoreAroundRandomStation(), RdZHAireSSimPreparator::RdZHAireSSimPreparator::GenerateCoreAroundRandomSDStation(), RdREASSimPreparatorNG::RdREASSimPreparatorNG::GenerateCoreAroundRandomSDStation(), EventGeneratorOG::EventGenerator::GenerateCoreAroundStation(), G4TankSimulatorASCII::G4TankPrimaryGenerator::GeneratePrimaries(), G4TankSimulatorOG::G4TankPrimaryGenerator::GeneratePrimaries(), G4XTankSimulatorAG::G4XTankPrimaryGenerator::GeneratePrimaries(), Sd5T5Tester::Sd5T5Tester::GetCrown(), mdet::Module::GetDepth(), SdFootprintAnalyzerNS::SdFootprintAnalyzer::GetFootprintStations(), EventGeneratorOG::EventGenerator::GetInfillCrown(), RdREASSimPreparatorNG::GetInfillCrown(), EventGeneratorOG::EventGenerator::Init(), sdet::SDenseStationListXMLManager::DenseStations::Init(), fdDoubleBumpFinder::FdDoubleBumpFinder::IsPreselected(), LDFFinderOG::LDFFinder::LDFFitChi2Fnc(), LDFFinderOG::LDFFinder::LDFFitMaxLikeFnc(), ScintillatorLDFFinderKG::ScintillatorLDFFinder::MakeStationFitData(), HdAxisFinderUU::HdAxisFinder::MinuitFitFunc(), HybridGeometryFinderWG::HybridGeometryFinder::MinuitFitFuncAxis(), HybridGeometryFinderOG::HybridGeometryFinder::MinuitFitFuncHybrid(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereoHybrid(), SdFootprintAnalyzerNS::ByIncreasingDistanceToAxis::operator()(), LDFFinderOG::LDFFinder::OutputStations(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::PrepareStationData(), HybridGeometryFinderWG::HybridGeometryFinder::RecalculateChiSquare(), TopDownSelectorNS::TopDownSelector::Recover3Stations(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::Recover3Stations(), TopDownSelectorNS::TopDownSelector::RemoveIsolatedStations(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::RemoveIsolatedStations(), SdAccidentalInjectorKG::SdAccidentalInjector::Run(), GeometryExampleNS::GeometryExample::Run(), ShowerInventorAnalyzerNS::ShowerInventorAnalyzer::Run(), EventGeneratorOG::EventGenerator::Run(), HdAxisFinderUU::HdAxisFinder::Run(), ScintillatorLDFFinderKG::ScintillatorLDFFinder::Run(), MuonCounterViewerAG::MuonCounterViewer::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), UniversalityFitter::UniversalityFitter::Run(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), ScintillatorLDFFinderKG::ScintillatorLDFFinder::SetRecData(), LDFFinderOG::LDFFinder::SetRecData(), SDetectorTest::testBasic(), SDenseDetectorTestBasic::testBasic1(), SDenseDetectorTestAzimuth::testBasicAzimuth(), SDenseDetectorTestBasic::testNoCorePosition(), SDenseDetectorTestBasic::testNoSimShower(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::UpdateBarycenter(), and Sd5T5Tester::Sd5T5Tester::UpdateFirstCrown().
double Station::GetRadius | ( | ) | const |
Radius of the tank (water only)
Simulations use this to set the radius of the cylinder of water used. The thickness of the tank resin is not included in this number, and should be taken from Station::GetThickness()
Definition at line 228 of file SDetector/Station.cc.
References fRadius, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by SdAccidentalInjectorKG::SdAccidentalInjector::Init(), FastTankSimulatorOG::FastTankSimulator::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), MuonCounterViewerAG::MuonCounterViewer::Run(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), ParticleInjectorOG::ParticleInjector::SetPosition(), and SDetectorTest::testSModelsXMLManager().
unsigned int Station::GetSaturationValue | ( | ) | const |
Definition at line 191 of file SDetector/Station.cc.
References fSaturationValue, utl::Validated< T >::Get(), GetStationData(), and utl::Validated< T >::IsValid().
Referenced by evt::ConvertEventToEc(), DLECorrectionWG::DLECorrection::CorrectAverageDLE(), and SdBaselineSimulatorASCII::SdBaselineSimulator::Run().
|
inline |
Definition at line 260 of file SDetector/Station.h.
References fScintillator.
Referenced by G4StationSimulatorOG::G4ScintillatorAction::ProcessHits(), and CachedDirectInjectorOG::CachedDirectInjector::Run().
Definition at line 118 of file SDetector/Station.cc.
References ERROR, sdet::PMTConstants::eScintillator, fPMTVector, GetNPMTs(), and G4StationSimulatorOG::p.
Definition at line 95 of file SDetector/Station.cc.
References ERROR, sdet::PMTConstants::eWaterCherenkovSmall, fPMTVector, GetNPMTs(), and G4StationSimulatorOG::p.
|
inlineprivate |
Helper method to do the redundant work of preparing requests for station data, sending it to the manager and reporting any errors. The errorMsg argument is used to construct some hopefully meaningful error message if the requested component is not found. It should have a description in some human language of what was not located.
Definition at line 358 of file SDetector/Station.h.
References det::VManager::eNotFound, fStationIndexMap, and NotFoundAndThrow().
Referenced by GetAxes(), GetCommissionTimeRange(), GetElectronicsImpulseResponse(), GetFADCBinSize(), GetGroupId(), GetHeight(), GetLatchBin(), GetLinerReflectivity(), GetLinerSigmaAlpha(), GetLinerSpecularLobe(), GetLinerSpecularSpike(), GetName(), GetPosition(), GetRadius(), GetSaturationValue(), GetThickness(), GetTimingUncertainty(), GetUUBCommissionTime(), GetWaterAbsorptionLength(), GetWaterRefractionIndex(), IsInAcquisition(), IsInGrid(), and SetPartnerIds().
double Station::GetThickness | ( | ) | const |
Thickness of the tank walls.
Definition at line 252 of file SDetector/Station.cc.
References fThickness, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by cdet::Station::GetRPCPosition(), SdAccidentalInjectorKG::SdAccidentalInjector::Init(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters().
double Station::GetTimingUncertainty | ( | ) | const |
Definition at line 179 of file SDetector/Station.cc.
References fTimingUncertainty, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Definition at line 378 of file SDetector/Station.cc.
References fUUBCommissionTime, utl::Validated< T >::Get(), GetStationData(), and utl::Validated< T >::IsValid().
const TabulatedFunction & Station::GetWaterAbsorptionLength | ( | ) | const |
Water absorption length as a function of photon energy.
Definition at line 264 of file SDetector/Station.cc.
References fWaterAbsLength, and GetStationData().
Referenced by G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and SDetectorTest::testSModelsXMLManager().
const TabulatedFunction & Station::GetWaterRefractionIndex | ( | ) | const |
Water refraction index as a function of photon energy.
Definition at line 276 of file SDetector/Station.cc.
References fWaterRefractionIndex, and GetStationData().
Referenced by G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and SDetectorTest::testSModelsXMLManager().
|
inline |
Definition at line 180 of file SDetector/Station.h.
References fScintillator.
Referenced by G4StationSimulatorOG::G4ScintillatorAction::ProcessHits(), SelectEvents::SelectEvents::Run(), and CachedDirectInjectorOG::CachedDirectInjector::Run().
bool Station::HasSmallPMT | ( | ) | const |
Definition at line 751 of file SDetector/Station.cc.
References sdet::PMTConstants::eWaterCherenkovSmall, and G4StationSimulatorOG::p.
Referenced by G4StationSimulatorOG::G4StationFastCerenkov::GetDataFromConstruction().
|
inline |
Definition at line 87 of file SDetector/Station.h.
References InitializeIfNeeded().
|
inline |
Definition at line 92 of file SDetector/Station.h.
References InitializeIfNeeded().
|
inline |
Definition at line 120 of file SDetector/Station.h.
References InitializeIfNeeded().
|
inline |
Definition at line 125 of file SDetector/Station.h.
References InitializeIfNeeded().
|
inline |
Definition at line 151 of file SDetector/Station.h.
|
inlinestaticprivate |
Definition at line 376 of file SDetector/Station.h.
References stridedBins.
|
staticprivate |
Definition at line 712 of file SDetector/Station.cc.
|
inline |
Tells whether the station belongs to set of hypothetical "dense" stations.
So-called "dense" stations can be placed in different locations for each event in order to, for example, sample the shower at 1000 m from the core in the shower coordinate system
Definition at line 298 of file SDetector/Station.h.
References fDense.
Referenced by otoa::Detector2ADST::FillDetector(), sdet::SDetector::GetStation(), HybridGeometryFinderOG::HybridGeometryFinder::MinuitFitFuncHybrid(), SdMonteCarloEventSelectorOG::SdMonteCarloEventSelector::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), UniversalityFitter::UniversalityFitter::Run(), and SDenseDetectorTestBasic::testBasic1().
bool Station::IsHit | ( | const utl::Point & | from, |
const utl::Vector & | direction, | ||
utl::Point & | where | ||
) | const |
Definition at line 773 of file SDetector/Station.cc.
References RdGeoCeLDFFitter::a, RdGeoCeLDFFitter::b, RdGeoCeLDFFitter::c, Distance(), utl::Plane::GetAnchor(), utl::BasicVector< HepVector >::GetX(), utl::BasicVector< HepVector >::GetY(), utl::Intersection(), utl::kilometer, utl::Line::Propagate(), utl::s, utl::Sqr(), and sqrt().
Referenced by IsHit(), and CachedDirectInjectorOG::CachedDirectInjector::Run().
|
inline |
Definition at line 304 of file SDetector/Station.h.
References IsHit(), and G4StationSimulatorOG::p.
bool Station::IsInAcquisition | ( | ) | const |
Station in data acquisition.
Definition at line 337 of file SDetector/Station.cc.
References fIsInAcquisition, utl::Validated< T >::Get(), GetStationData(), is(), and utl::Validated< T >::IsValid().
bool Station::IsInGrid | ( | const SDetectorConstants::GridIndex | index = SDetectorConstants::eStandard | ) | const |
Tells whether the station is in the regular triangular grid.
Definition at line 443 of file SDetector/Station.cc.
References data, sdet::SDetectorConstants::eAny, fInGrid, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by SdFootprintAnalyzerNS::SdFootprintAnalyzer::ComputeBarycenter(), CentralTriggerSimulatorXb::IsSpecialStation(), TopDownSelectorNS::TopDownSelector::RemoveDoublets(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::RemoveDoublets(), SDenseDetectorTestBasic::testBasic1(), and SDetectorTest::testOffGridStations().
bool Station::IsInsideStation | ( | const utl::Point & | pos | ) | const |
Definition at line 762 of file SDetector/Station.cc.
References utl::BasicVector< HepVector >::GetRho(), and utl::BasicVector< HepVector >::GetZ().
Referenced by CachedDirectInjectorOG::CachedDirectInjector::Run().
|
inline |
Definition at line 176 of file SDetector/Station.h.
References fIsUUB.
Referenced by SelectEvents::SelectEvents::Run(), and Station().
|
private |
Definition at line 630 of file SDetector/Station.cc.
References sdet::PMTConstants::eScintillator.
|
private |
Definition at line 665 of file SDetector/Station.cc.
References sdet::PMTConstants::eWaterCherenkovSmall.
|
private |
Definition at line 517 of file SDetector/Station.cc.
Referenced by GetCrown(), and GetStationData().
|
inline |
Beginning of the collection of Partners in multiplet.
Definition at line 211 of file SDetector/Station.h.
References SetPartnerIds().
|
inline |
End of the collection of Partners in multiplet.
Definition at line 214 of file SDetector/Station.h.
References SetPartnerIds().
|
inline |
Beginning of the collection of pointers to PMTs.
Definition at line 198 of file SDetector/Station.h.
References fPMTVector.
|
inline |
End of the collection of pointers to PMTs.
Definition at line 201 of file SDetector/Station.h.
References fPMTVector.
|
private |
Definition at line 644 of file SDetector/Station.cc.
References sdet::PMTConstants::eScintillator.
|
private |
Definition at line 677 of file SDetector/Station.cc.
References sdet::PMTConstants::eScintillator.
|
private |
Definition at line 422 of file SDetector/Station.cc.
References fPartnerIds, utl::Validated< T >::Get(), GetStationData(), utl::Validated< T >::IsValid(), and utl::Validated< T >::SetValid().
Referenced by GetNumberOfPartners(), GetPartnerIds(), PartnersBegin(), and PartnersEnd().
|
inline |
Definition at line 97 of file SDetector/Station.h.
References sdet::PMTConstants::eScintillator, sdet::PMTConstants::eWaterCherenkovLarge, and InitializeIfNeeded().
|
inline |
Definition at line 130 of file SDetector/Station.h.
References sdet::PMTConstants::eScintillator, sdet::PMTConstants::eWaterCherenkovLarge, and InitializeIfNeeded().
|
private |
Definition at line 539 of file SDetector/Station.cc.
References G4StationSimulatorOG::p.
Referenced by sdet::SDetector::Update().
|
private |
Definition at line 568 of file SDetector/Station.cc.
References sdet::PMTConstants::eWaterCherenkovLarge, and G4StationSimulatorOG::p.
|
friend |
Definition at line 451 of file SDetector/Station.h.
|
friend |
Definition at line 452 of file SDetector/Station.h.
return sdet::Station::baseHisto |
Definition at line 155 of file SDetector/Station.h.
const std::vector< T > & Station::const |
Definition at line 83 of file SDetector/Station.h.
|
static |
Definition at line 108 of file SDetector/Station.h.
return sdet::Station::emptyVector |
Definition at line 109 of file SDetector/Station.h.
|
mutableprivate |
Definition at line 411 of file SDetector/Station.h.
Referenced by GetAxes().
|
mutableprivate |
Definition at line 441 of file SDetector/Station.h.
Referenced by GetCommissionTimeRange().
|
mutableprivate |
Definition at line 423 of file SDetector/Station.h.
Referenced by GetCrown().
|
private |
Definition at line 445 of file SDetector/Station.h.
Referenced by IsDense().
|
mutableprivate |
Definition at line 405 of file SDetector/Station.h.
Referenced by GetElectronicsImpulseResponse().
|
mutableprivate |
Definition at line 427 of file SDetector/Station.h.
Referenced by GetPosition().
|
mutableprivate |
Definition at line 401 of file SDetector/Station.h.
Referenced by GetFADCBinSize().
|
mutableprivate |
Definition at line 400 of file SDetector/Station.h.
Referenced by GetFADCTraceLength().
|
mutableprivate |
Definition at line 439 of file SDetector/Station.h.
Referenced by GetGroupId().
|
mutableprivate |
Definition at line 418 of file SDetector/Station.h.
Referenced by GetHeight().
|
private |
Definition at line 394 of file SDetector/Station.h.
Referenced by GetCrown(), and GetId().
|
mutableprivate |
Definition at line 416 of file SDetector/Station.h.
Referenced by IsInGrid().
|
mutableprivate |
Definition at line 437 of file SDetector/Station.h.
Referenced by IsInAcquisition().
|
mutableprivate |
Definition at line 395 of file SDetector/Station.h.
|
mutableprivate |
Definition at line 403 of file SDetector/Station.h.
Referenced by GetLatchBin().
|
mutableprivate |
Definition at line 432 of file SDetector/Station.h.
Referenced by GetLinerReflectivity().
|
mutableprivate |
Definition at line 433 of file SDetector/Station.h.
Referenced by GetLinerSigmaAlpha().
|
mutableprivate |
Definition at line 434 of file SDetector/Station.h.
Referenced by GetLinerSpecularLobe().
|
mutableprivate |
Definition at line 435 of file SDetector/Station.h.
Referenced by GetLinerSpecularSpike().
|
mutableprivate |
Definition at line 414 of file SDetector/Station.h.
Referenced by GetName().
|
mutableprivate |
Definition at line 409 of file SDetector/Station.h.
Referenced by SetPartnerIds().
|
mutableprivate |
Definition at line 407 of file SDetector/Station.h.
Referenced by GetLastPMTId(), GetPMT(), GetScintillatorPMT(), GetSmallPMT(), PMTsBegin(), PMTsEnd(), Station(), and ~Station().
|
mutableprotected |
Definition at line 449 of file SDetector/Station.h.
Referenced by GetPosition().
|
mutableprivate |
Definition at line 417 of file SDetector/Station.h.
Referenced by GetRadius().
|
mutableprotected |
Definition at line 448 of file SDetector/Station.h.
|
mutableprivate |
Definition at line 404 of file SDetector/Station.h.
Referenced by GetSaturationValue().
|
mutableprivate |
Definition at line 421 of file SDetector/Station.h.
Referenced by GetScintillator(), and HasScintillator().
|
mutableprivate |
Definition at line 399 of file SDetector/Station.h.
Referenced by GetCrown(), GetFADCTraceLength(), GetStationData(), and Station().
|
mutableprivate |
Definition at line 419 of file SDetector/Station.h.
Referenced by GetThickness().
|
mutableprivate |
Definition at line 402 of file SDetector/Station.h.
Referenced by GetTimingUncertainty().
|
mutableprivate |
Definition at line 443 of file SDetector/Station.h.
Referenced by GetUUBCommissionTime().
|
mutableprivate |
Definition at line 429 of file SDetector/Station.h.
Referenced by GetWaterAbsorptionLength().
|
mutableprivate |
Definition at line 430 of file SDetector/Station.h.
Referenced by GetWaterRefractionIndex().
|
staticprivate |
Definition at line 64 of file SDetector/Station.h.
Referenced by GetFirstPMTId(), and Station().
|
staticprivate |
Definition at line 65 of file SDetector/Station.h.
Referenced by Station().
|
staticprivate |
Definition at line 67 of file SDetector/Station.h.
|
staticprivate |
Definition at line 66 of file SDetector/Station.h.
const short int Station::stridedBins = 50 |
Definition at line 85 of file SDetector/Station.h.
Referenced by InitializeIfNeeded().