class to hold data at Station level More...
#include "sevt/Station.h"
Public Types | |
typedef utl::MultiTraceD::ConstIterator | ConstVEMTraceIterator |
typedef utl::MultiTraceD::Iterator | VEMTraceIterator |
an iterator over VEM traces of different components More... | |
Public Member Functions | |
void | AddParticle (const utl::Particle &particle) |
int | GetId () const |
Get the station Id. More... | |
Scintillator & | GetScintillator () |
const Scintillator & | GetScintillator () const |
SignalSegmentCollection & | GetSignals () |
const SignalSegmentCollection & | GetSignals () const |
SmallPMTData & | GetSmallPMTData () |
const SmallPMTData & | GetSmallPMTData () const |
bool | HasScintillator () const |
bool | HasSmallPMTData () const |
bool | IsCyclone () const |
bool | IsUUB () const |
Station & | operator= (const Station &station) |
void | SetIsCyclone (const bool cy=true) |
Station (const Station &station) | |
Methods for handling traces | |
utl::TimeStamp | GetTraceStartTime () const |
Get absolute start time of the VEM trace. More... | |
void | SetTraceStartTime (const utl::TimeStamp &Time) |
Set absolute start time of the VEM trace. More... | |
utl::TraceD & | GetVEMTrace (const StationConstants::SignalComponent source=StationConstants::eTotal) |
signal trace calibrated in [VEM charge] More... | |
const utl::TraceD & | GetVEMTrace (const StationConstants::SignalComponent source=StationConstants::eTotal) const |
void | MakeVEMTrace (const StationConstants::SignalComponent source=StationConstants::eTotal) |
Make a VEM trace object. More... | |
bool | HasVEMTrace (const StationConstants::SignalComponent source=StationConstants::eTotal) const |
Check whether VEM trace exists. More... | |
VEMTraceIterator | VEMTracesBegin () |
First VEM trace. More... | |
ConstVEMTraceIterator | VEMTracesBegin () const |
VEMTraceIterator | VEMTracesEnd () |
Last VEM trace. More... | |
ConstVEMTraceIterator | VEMTracesEnd () const |
Has/Make/Get methods | |
sevt::StationSimData & | GetSimData () |
Get simulated data at station level. More... | |
const sevt::StationSimData & | GetSimData () const |
void | MakeSimData () |
Make station simulated data object. More... | |
bool | HasSimData () const |
Check whether station simulated data exists. More... | |
sevt::StationRecData & | GetRecData () |
Get station level reconstructed data. More... | |
const sevt::StationRecData & | GetRecData () const |
void | MakeRecData () |
Make station reconstructed data object. More... | |
bool | HasRecData () const |
Check whether station reconstructed data exists. More... | |
sevt::StationTriggerData & | GetTriggerData () |
Get Trigger data for the station. More... | |
const sevt::StationTriggerData & | GetTriggerData () const |
void | MakeTriggerData () |
Make trigger data object. More... | |
bool | HasTriggerData () const |
Check whether trigger data object exists. More... | |
sevt::StationCalibData & | GetCalibData () |
Get calibration data for the station. More... | |
const sevt::StationCalibData & | GetCalibData () const |
void | MakeCalibData () |
Make calibration data object. More... | |
bool | HasCalibData () const |
Check whether calibration data object exists. More... | |
sevt::StationGPSData & | GetGPSData () |
Get GPS data for the station. More... | |
const sevt::StationGPSData & | GetGPSData () const |
void | MakeGPSData () |
Make GPS data object. More... | |
bool | HasGPSData () const |
Check whether GPS data object edists. More... | |
Methods for setting/getting flags | |
bool | IsCandidate () const |
Check if the station is a candidate. More... | |
bool | IsRejected () const |
Check if the station is rejected. More... | |
bool | IsSilent () const |
Check if the station is silent. More... | |
void | SetCandidate () |
Set candidate station flag. More... | |
void | SetRejected (const int reason) |
Set rejected station flag. More... | |
void | SetSilent () |
Set silent station flag. More... | |
int | GetRejectionStatus () const |
int | GetT2Life () const |
void | SetT2Life (const int t) |
0 = dead, 1 = 1sec alive, 2 = 120sec alive More... | |
bool | IsT2Life () const |
bool | IsT2Life120 () const |
double | GetBottomUpResidual () const |
void | SetBottomUpResidual (const double d) |
bool | IsLowGainSaturation () const |
Check which gains are saturated. More... | |
bool | IsHighGainSaturation () const |
bool | IsSmallPMTSaturation () const |
void | SetLowGainSaturation (const bool sat=true) |
void | SetHighGainSaturation (const bool sat=true) |
void | SetSmallPMTSaturation (const bool sat=true) |
Private Types | |
typedef boost::indirect_iterator < InternalConstPMTPtrIterator, const PMT & > | InternalConstPMTIterator |
Iterator over station for read. More... | |
typedef std::vector< PMT * > ::const_iterator | InternalConstPMTPtrIterator |
typedef boost::indirect_iterator < InternalPMTPtrIterator, PMT & > | InternalPMTIterator |
Iterator over station for read/write. More... | |
typedef std::vector< PMT * > ::iterator | InternalPMTPtrIterator |
Private Member Functions | |
Station (const int stationId) | |
~Station () | |
Private Attributes | |
double | fBottomUpResidual = 0 |
utl::ShadowPtr< StationCalibData > | fCalibData |
utl::ShadowPtr< StationGPSData > | fGPSData |
int | fId = 0 |
bool | fIsCyclone = false |
bool | fIsUUB = false |
std::vector< PMT * > | fPMTs |
utl::ShadowPtr< StationRecData > | fRecData |
StationConstants::ReconstructionStatus | fReconstructionStatus = StationConstants::eCandidate |
int | fRejectionStatus = StationConstants::eNoRejection |
bool | fSaturation [sdet::PMTConstants::eNumberOfGains] = { false } |
utl::ShadowPtr< Scintillator > | fScintillator |
SignalSegmentCollection | fSignals |
utl::ShadowPtr< StationSimData > | fSimData |
utl::ShadowPtr< SmallPMTData > | fSmallPMTData |
bool | fSmallPMTSaturation = false |
int | fT2Life = 2 |
utl::MultiTraceD | fTrace |
utl::TimeStamp | fTraceStartTime |
utl::ShadowPtr < StationTriggerData > | fTriggerData |
Friends | |
class | sevt::SEvent |
class to hold data at Station level
Definition at line 41 of file SEvent/Station.h.
typedef boost::filter_iterator<PMTFilter, InternalConstPMTIterator> sevt::Station::ConstPMTIterator |
Iterator over station for read.
Definition at line 90 of file SEvent/Station.h.
Definition at line 60 of file SEvent/Station.h.
|
private |
Iterator over station for read.
Definition at line 51 of file SEvent/Station.h.
|
private |
Definition at line 45 of file SEvent/Station.h.
|
private |
Iterator over station for read/write.
Definition at line 48 of file SEvent/Station.h.
|
private |
Definition at line 44 of file SEvent/Station.h.
typedef boost::filter_iterator<PMTFilter, InternalPMTIterator> sevt::Station::PMTIterator |
Iterator over station for read/write.
Definition at line 87 of file SEvent/Station.h.
an iterator over VEM traces of different components
Returns a LabeledTrace when dereferenced
Definition at line 59 of file SEvent/Station.h.
|
inline |
Definition at line 54 of file SEvent/Station.h.
|
private |
Definition at line 32 of file SEvent/Station.cc.
References fId, fPMTs, fScintillator, and fSmallPMTData.
|
private |
Definition at line 50 of file SEvent/Station.cc.
References fPMTs, and G4StationSimulatorOG::p.
void Station::AddParticle | ( | const utl::Particle & | particle | ) |
Definition at line 293 of file SEvent/Station.cc.
References fId, fScintillator, fSimData, utl::Particle::GetDirection(), utl::Particle::GetPosition(), HasSimData(), and MakeSimData().
Referenced by ParticleInjectorNEU::ParticleInjector::InjectParticles(), ParticleInjectorOG::ParticleInjector::InjectParticles(), SdAccidentalInjectorKG::SdAccidentalInjector::Run(), LEInjectorOG::LEInjector::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), and CachedDirectInjectorOG::CachedDirectInjector::Run().
|
inline |
Definition at line 211 of file SEvent/Station.h.
References fBottomUpResidual.
|
inline |
Get calibration data for the station.
Definition at line 167 of file SEvent/Station.h.
References fCalibData.
Referenced by SdCalibPlotterOG::AddHeader(), SdHistogramFitterKG::SdHistogramFitter::CalculatePeakAndCharge(), SdHistogramFitterOG::SdHistogramFitter::CalculatePeakAndCharge(), SdCalibratorOG::SdCalibrator::CalculatePeakAndCharge(), SdCalibPlotterOG::MuonPeakView::Draw(), SdCalibPlotterOG::MuonChargeView::Draw(), SdEACalibrationFillerKG::SdEACalibrationFiller::FillCalibrationInfo(), and io::Station_ROOT::operator>>().
|
inline |
Definition at line 168 of file SEvent/Station.h.
References fCalibData.
|
inline |
Get GPS data for the station.
Definition at line 175 of file SEvent/Station.h.
References fGPSData.
Referenced by SdStationCheckerOG::SdStationChecker::ApplyTimeCorrection(), SdCalibratorOG::SdCalibrator::ApplyTimeCorrection(), CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundBasicSegments(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundSegments(), io::Station_ROOT::operator>>(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), SdCalibratorOG::SdCalibrator::SelectSignal(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inline |
Definition at line 176 of file SEvent/Station.h.
References fGPSData.
|
inline |
Get the station Id.
Definition at line 63 of file SEvent/Station.h.
References fId.
Referenced by SdCalibPlotterOG::AddHeader(), CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), SdEventSelectorOG::SdEventSelector::CalculateT5Trigger(), FdAxisFinderOG::FdAxisFinder::CheckForLasers(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), SdHistogramFitterKG::SdHistogramFitter::CopySmallPMTCalibData(), SdHistogramFitterOG::SdHistogramFitter::CopySmallPMTCalibData(), SdCalibratorOG::SdCalibrator::CopySmallPMTCalibData(), SdCalibPlotterOG::StationVEMTraceView::Draw(), sdet::SDetector::GetStation(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::GetTriggerTimeFromSD(), sevt::IsLightning(), HybridGeometryFinderOG::HybridGeometryFinder::MinuitFitFuncHybrid(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereoHybrid(), sevt::ByIncreasingId::operator()(), io::Station_ROOT::operator>>(), SdSimpleSimKG::SdSimpleSim::Run(), SdCompParam::SdCompositionParameters::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), SdCalibratorOG::SdCalibrator::SelectSignal(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateSegmentValues().
unsigned int Station::GetNPMTs | ( | const sdet::PMTConstants::PMTType | type = sdet::PMTConstants::eAnyType | ) | const |
Number of pmts.
Definition at line 175 of file SEvent/Station.cc.
References sdet::PMTConstants::eAnyType, fPMTs, and G4StationSimulatorOG::p.
Referenced by GetScintillatorPMT(), and GetSmallPMT().
|
inline |
Retrive a PMT by Id.
Definition at line 74 of file SEvent/Station.h.
References GetPMT(), and OFFLINE_CAST_CONST_METHOD.
Referenced by DLECorrectionWG::DLECorrection::CorrectIndividualDLE(), GetPMT(), DLECorrection::DLECorrection::Individual_Direct_Light_Corr(), io::Station_ROOT::operator>>(), SdPMTSignalShapeQualityChecker::SdPMTSignalShapeQualityChecker::PMTTraceChecks(), G4XTankSimulatorAG::G4XTankPMTAction::ProcessHits(), G4TankSimulatorASCII::G4TankPMTAction::ProcessHits(), G4TankSimulatorASCII::G4ASCIIAction::ProcessHits(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
const PMT & Station::GetPMT | ( | const unsigned int | pmtId | ) | const |
Definition at line 115 of file SEvent/Station.cc.
References ERROR, fPMTs, and G4StationSimulatorOG::p.
|
inline |
Get station level reconstructed data.
Definition at line 151 of file SEvent/Station.h.
References fRecData.
Referenced by SdHorizontalReconstructionNS::SdHorizontalReconstruction::CleanEvent(), SdEventSelectorOG::SdEventSelector::CTimeDifferenceMargin(), SdCalibPlotterOG::StationVEMTraceView::Draw(), TopDownSelectorNS::TopDownSelector::EstimateCore(), otoa::FD2ADST::FillFdCoreAxis(), SdSimpleSimKG::SdSimpleSim::GenerateNoiseStation(), Sd5T5Tester::Sd5T5Tester::GetHottestStation(), HdAxisFinderUU::HdAxisFinder::MinuitFitFunc(), HybridGeometryFinderOG::HybridGeometryFinder::MinuitFitFuncHybrid(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereoHybrid(), sevt::ByIncreasingSignal::operator()(), sevt::ByDecreasingSignal::operator()(), sevt::ByIncreasingTime::operator()(), io::Station_ROOT::operator>>(), Risetime1000::Risetime1000LLL::RecalculateRiseTime(), SdCompParam::SdCompositionParameters::RecalculateRiseTime(), MdEventSelectorAG::MdEventSelector::RejectTimeOutliers(), MdMuonCounterAG::MdMuonCounter::Run(), SdSimpleSimKG::SdSimpleSim::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), SdCompParam::SdCompositionParameters::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), SdCalibratorOG::SdCalibrator::SelectSignal(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inline |
Definition at line 152 of file SEvent/Station.h.
References fRecData.
|
inline |
Definition at line 199 of file SEvent/Station.h.
References fRejectionStatus.
Referenced by SdCalibPlotterOG::AddHeader(), IsActive(), and sevt::RejectedStationFilter::operator()().
|
inline |
Definition at line 232 of file SEvent/Station.h.
References fScintillator.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), io::Station_ROOT::operator>>(), CachedDirectInjectorOG::CachedDirectInjector::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Definition at line 233 of file SEvent/Station.h.
References fScintillator.
|
inline |
Definition at line 77 of file SEvent/Station.h.
References GetScintillatorPMT(), and OFFLINE_CAST_CONST_METHOD.
Referenced by GetScintillatorPMT().
const PMT & Station::GetScintillatorPMT | ( | ) | const |
Definition at line 129 of file SEvent/Station.cc.
References ERROR, sdet::PMTConstants::eScintillator, fPMTs, GetNPMTs(), and G4StationSimulatorOG::p.
|
inline |
Definition at line 224 of file SEvent/Station.h.
References fSignals.
Referenced by SdCalibPlotterOG::StationVEMTraceView::Draw(), SdTraceCalibratorOG::SdTraceCalibrator::MergeSignals(), SdCalibratorOG::SdCalibrator::MergeSignals(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Definition at line 225 of file SEvent/Station.h.
References fSignals.
|
inline |
Get simulated data at station level.
Definition at line 143 of file SEvent/Station.h.
Referenced by sdet::Trigger::Buffer(), CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), G4StationSimulatorOG::G4StationStackingAction::ClassifyNewTrack(), G4TankSimulatorASCII::G4TankSimulator::ConstructTraces(), G4TankSimulatorOG::G4TankSimulator::ConstructTraces(), G4XTankSimulatorAG::G4XTankSimulator::ConstructTraces(), G4StationSimulatorOG::G4StationSimulator::ConstructTraces(), EventGeneratorOG::EventGenerator::FlagHoleStations(), UnderGrdInjectorAG::UnderGrdInjector::GetTriggerTimeFromSD(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::GetTriggerTimeFromSD(), MdCounterSimulatorAG::MdCounterSimulator::GetTriggerTimeFromSD(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::InitNewShower(), SdSimpleSimKG::SdSimpleSim::Noise(), io::Station_ROOT::operator>>(), SdSimulationCalibratorOG::SdSimulationCalibrator::ProcessStation(), RdTimeJitterAdder::RdTimeJitterAdder::Run(), MdShowerRegeneratorAG::MdShowerRegenerator::Run(), LEInjectorOG::LEInjector::Run(), SdSimpleSimKG::SdSimpleSim::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
|
inline |
Definition at line 144 of file SEvent/Station.h.
References fSimData.
|
inline |
Definition at line 80 of file SEvent/Station.h.
References GetSmallPMT(), and OFFLINE_CAST_CONST_METHOD.
Referenced by SdHistogramFitterKG::SdHistogramFitter::CopySmallPMTCalibData(), SdHistogramFitterOG::SdHistogramFitter::CopySmallPMTCalibData(), SdCalibratorOG::SdCalibrator::CopySmallPMTCalibData(), SdEACalibrationFillerKG::SdEACalibrationFiller::FillCalibrationInfoSmallPMT(), and GetSmallPMT().
const PMT & Station::GetSmallPMT | ( | ) | const |
Definition at line 152 of file SEvent/Station.cc.
References ERROR, sdet::PMTConstants::eWaterCherenkovSmall, fPMTs, GetNPMTs(), and G4StationSimulatorOG::p.
|
inline |
Definition at line 236 of file SEvent/Station.h.
References fSmallPMTData.
Referenced by SdHistogramFitterKG::SdHistogramFitter::CopySmallPMTCalibData(), SdHistogramFitterOG::SdHistogramFitter::CopySmallPMTCalibData(), SdCalibratorOG::SdCalibrator::CopySmallPMTCalibData(), io::Station_ROOT::operator>>(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Definition at line 237 of file SEvent/Station.h.
References fSmallPMTData.
|
inline |
Definition at line 203 of file SEvent/Station.h.
References fT2Life.
|
inline |
Get absolute start time of the VEM trace.
Definition at line 115 of file SEvent/Station.h.
References fTraceStartTime.
Referenced by MdMuonCounterAG::MdMuonCounter::GetSdTraceStartTime().
|
inline |
Get Trigger data for the station.
Definition at line 159 of file SEvent/Station.h.
References fTriggerData.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), evt::ConvertIoMdToEvent(), SdSimpleSimKG::SdSimpleSim::Noise(), io::Station_ROOT::operator>>(), RdStationSimulationRejector::RdStationSimulationRejector::Run(), RdStationAssociator::RdStationAssociator::Run(), SdSimpleSimKG::SdSimpleSim::Run(), RdStationSignalInterpolator::RdStationSignalInterpolator::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Definition at line 160 of file SEvent/Station.h.
References fTriggerData.
|
inline |
signal trace calibrated in [VEM charge]
Definition at line 122 of file SEvent/Station.h.
References fTrace, and utl::MultiTrace< T >::GetTrace().
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdCalibPlotterOG::StationVEMTraceView::Draw(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundBasicSegments(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundSegments(), SdTraceCalibratorOG::SdTraceCalibrator::MergeSignals(), SdCalibratorOG::SdCalibrator::MergeSignals(), io::Station_ROOT::operator>>(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), SdCalibratorOG::SdCalibrator::SelectSignal(), SdTraceCalibratorOG::SdTraceCalibrator::SumPMTComponents(), SdCalibratorOG::SdCalibrator::SumPMTComponents(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateSegmentValues(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inline |
Definition at line 124 of file SEvent/Station.h.
References fTrace, and utl::MultiTrace< T >::GetTrace().
|
inline |
Check whether calibration data object exists.
Definition at line 172 of file SEvent/Station.h.
References fCalibData.
Referenced by sevt::IsLightning().
|
inline |
Check whether GPS data object edists.
Definition at line 180 of file SEvent/Station.h.
References fGPSData.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), and MdMuonCounterAG::MdMuonCounter::GetSdTraceStartTime().
bool Station::HasPMT | ( | const unsigned int | pmtId | ) | const |
Check if a particular PMT object exists.
Definition at line 91 of file SEvent/Station.cc.
References fPMTs, and G4StationSimulatorOG::p.
Referenced by MakePMT(), G4TankSimulatorASCII::G4ASCIIAction::ProcessHits(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
|
inline |
Check whether station reconstructed data exists.
Definition at line 156 of file SEvent/Station.h.
References fRecData.
Referenced by SdCalibPlotterOG::StationVEMTraceView::Draw(), otoa::FD2ADST::FillFdCoreAxis(), SdSimpleSimKG::SdSimpleSim::Noise(), sevt::ByIncreasingSignal::operator()(), sevt::ByDecreasingSignal::operator()(), SdFootprintAnalyzerNS::ByIncreasingDistanceToAxis::operator()(), sevt::ByIncreasingTime::operator()(), MdEventSelectorAG::MdEventSelector::RejectTimeOutliers(), MdMuonCounterAG::MdMuonCounter::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), SdCompParam::SdCompositionParameters::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Definition at line 234 of file SEvent/Station.h.
References fScintillator.
Referenced by CachedDirectInjectorOG::CachedDirectInjector::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Check whether station simulated data exists.
Definition at line 148 of file SEvent/Station.h.
References fSimData.
Referenced by AddParticle(), CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), EventGeneratorOG::EventGenerator::FlagHoleStations(), UnderGrdInjectorAG::UnderGrdInjector::GetTriggerTimeFromSD(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::GetTriggerTimeFromSD(), MdCounterSimulatorAG::MdCounterSimulator::GetTriggerTimeFromSD(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::InitNewShower(), ParticleInjectorNEU::ParticleInjector::InjectParticles(), ParticleInjectorOG::ParticleInjector::InjectParticles(), SdSimpleSimKG::SdSimpleSim::Noise(), RdSimulationRadioTrigger::RdSimulationRadioTrigger::Run(), RdTimeJitterAdder::RdTimeJitterAdder::Run(), SdAccidentalInjectorKG::SdAccidentalInjector::Run(), MdShowerRegeneratorAG::MdShowerRegenerator::Run(), LEInjectorOG::LEInjector::Run(), SdSimpleSimKG::SdSimpleSim::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
|
inline |
Definition at line 238 of file SEvent/Station.h.
References fSmallPMTData.
Referenced by SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Check whether trigger data object exists.
Definition at line 164 of file SEvent/Station.h.
References fTriggerData.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), SdSimpleSimKG::SdSimpleSim::Noise(), RdStationSimulationRejector::RdStationSimulationRejector::Run(), RdStationAssociator::RdStationAssociator::Run(), SdSimpleSimKG::SdSimpleSim::Run(), and RdStationSignalInterpolator::RdStationSignalInterpolator::Run().
|
inline |
Check whether VEM trace exists.
Definition at line 129 of file SEvent/Station.h.
References fTrace, and utl::MultiObject< T, LabeledObjectType >::HasLabel().
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdCalibPlotterOG::StationVEMTraceView::Draw(), io::Station_ROOT::operator>>(), SdTraceCalibratorOG::SdTraceCalibrator::SumPMTComponents(), and SdCalibratorOG::SdCalibrator::SumPMTComponents().
|
inline |
Check if the station is a candidate.
Definition at line 186 of file SEvent/Station.h.
Referenced by FdAxisFinderOG::FdAxisFinder::CheckForLasers(), DLECorrection::DLECorrection::CorrectDLE(), IsActive(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::IsContained(), HybridGeometryFinderOG::HybridGeometryFinder::MinuitFitFuncHybrid(), sevt::CandidateStationFilter::operator()(), SdCompParam::SdCompositionParameters::Run(), SdCompParam::SdCompositionParameters::SaturationFlag(), and MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist().
|
inline |
Definition at line 229 of file SEvent/Station.h.
References fIsCyclone.
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), and SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline().
|
inline |
Definition at line 216 of file SEvent/Station.h.
References sdet::PMTConstants::eHighGain, and fSaturation.
Referenced by DLECorrectionWG::DLECorrection::CorrectAverageDLE(), DLECorrectionWG::DLECorrection::CorrectIndividualDLE(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundBasicSegments(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::FoundSegments(), SdCompParam::SdCompositionParameters::SaturationFlag(), io::Station_ROOT::Station_ROOT(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateSegmentValues().
|
inline |
Check which gains are saturated.
Definition at line 215 of file SEvent/Station.h.
References sdet::PMTConstants::eLowGain, and fSaturation.
Referenced by DLECorrectionWG::DLECorrection::CorrectAverageDLE(), DLECorrection::DLECorrection::CorrectDLE(), DLECorrectionWG::DLECorrection::CorrectIndividualDLE(), SdCompParam::SdCompositionParameters::Run(), SdCompParam::SdCompositionParameters::SaturationFlag(), MuonProductionDepthFinderGL::MuonProductionDepthFinder::SetMuonProductionDepthHist(), and io::Station_ROOT::Station_ROOT().
|
inline |
Check if the station is rejected.
Definition at line 188 of file SEvent/Station.h.
References sevt::StationConstants::eRejected, and fReconstructionStatus.
|
inline |
Check if the station is silent.
Definition at line 190 of file SEvent/Station.h.
References sevt::StationConstants::eSilent, and fReconstructionStatus.
Referenced by IsActive(), HybridGeometryFinderOG::HybridGeometryFinder::MinuitFitFuncHybrid(), and sevt::SilentStationFilter::operator()().
|
inline |
Definition at line 217 of file SEvent/Station.h.
References fSmallPMTSaturation.
|
inline |
Definition at line 207 of file SEvent/Station.h.
References fT2Life.
|
inline |
Definition at line 208 of file SEvent/Station.h.
References fT2Life.
bool Station::IsUUB | ( | ) | const |
Definition at line 285 of file SEvent/Station.cc.
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), and TankTriggerSimulatorOG::TankTriggerSimulator::GetCalibInfo().
void Station::MakeCalibData | ( | ) |
Make calibration data object.
Definition at line 220 of file SEvent/Station.cc.
References ERROR, and fCalibData.
Referenced by io::Station_ROOT::operator>>().
void Station::MakeGPSData | ( | ) |
Make GPS data object.
Definition at line 230 of file SEvent/Station.cc.
References ERROR, and fGPSData.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), and io::Station_ROOT::operator>>().
void Station::MakePMT | ( | const unsigned int | pmtId, |
const int | stationId, | ||
const sdet::PMTConstants::PMTType | type = sdet::PMTConstants::eWaterCherenkovLarge |
||
) |
Definition at line 102 of file SEvent/Station.cc.
void Station::MakeRecData | ( | ) |
Make station reconstructed data object.
Definition at line 200 of file SEvent/Station.cc.
References ERROR, and fRecData.
Referenced by FdAxisFinderOG::FdAxisFinder::CheckForLasers(), SdSimpleSimKG::SdSimpleSim::Noise(), io::Station_ROOT::operator>>(), SdSimpleSimKG::SdSimpleSim::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
void Station::MakeSimData | ( | ) |
Make station simulated data object.
Definition at line 190 of file SEvent/Station.cc.
References ERROR, and fSimData.
Referenced by AddParticle(), EventGeneratorOG::EventGenerator::FlagHoleStations(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::InitNewShower(), ParticleInjectorNEU::ParticleInjector::InjectParticles(), ParticleInjectorOG::ParticleInjector::InjectParticles(), SdSimpleSimKG::SdSimpleSim::Noise(), io::Station_ROOT::operator>>(), RdSimulationRadioTrigger::RdSimulationRadioTrigger::Run(), SdAccidentalInjectorKG::SdAccidentalInjector::Run(), RdStationAssociator::RdStationAssociator::Run(), LEInjectorOG::LEInjector::Run(), SdSimpleSimKG::SdSimpleSim::Run(), and CachedDirectInjectorOG::CachedDirectInjector::Run().
void Station::MakeTriggerData | ( | ) |
Make trigger data object.
Definition at line 210 of file SEvent/Station.cc.
References ERROR, and fTriggerData.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), SdSimpleSimKG::SdSimpleSim::Noise(), io::Station_ROOT::operator>>(), and SdSimpleSimKG::SdSimpleSim::Run().
void Station::MakeVEMTrace | ( | const StationConstants::SignalComponent | source = StationConstants::eTotal | ) |
Make a VEM trace object.
Definition at line 277 of file SEvent/Station.cc.
References utl::MultiTrace< T >::AddTrace(), and fTrace.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), io::Station_ROOT::operator>>(), SdTraceCalibratorOG::SdTraceCalibrator::SumPMTComponents(), and SdCalibratorOG::SdCalibrator::SumPMTComponents().
Definition at line 58 of file SEvent/Station.cc.
References fCalibData, fGPSData, fId, fPMTs, fRecData, fReconstructionStatus, fRejectionStatus, fSaturation, fScintillator, fSignals, fSimData, fSmallPMTData, fT2Life, fTrace, fTraceStartTime, fTriggerData, and G4StationSimulatorOG::p.
|
inline |
begin PMT iterator for read/write
Definition at line 93 of file SEvent/Station.h.
References fPMTs.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), FastTankSimulatorOG::FastTankSimulator::CalculatePhotoElectrons(), G4TankSimulatorASCII::G4TankSimulator::ConstructTraces(), G4TankSimulatorOG::G4TankSimulator::ConstructTraces(), G4XTankSimulatorAG::G4XTankSimulator::ConstructTraces(), SdFootprintAnalyzerNS::SdFootprintAnalyzer::GetVEMChargeTrace(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::GetVEMChargeTrace(), DLECorrection::DLECorrection::Individual_Direct_Light_Corr(), SdCompParam::SdCompositionParameters::RecalculateRiseTime(), SdCompParam::SdCompositionParameters::Run(), TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inline |
|
inline |
end PMT iterator for read/write
Definition at line 97 of file SEvent/Station.h.
References fPMTs.
Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), FastTankSimulatorOG::FastTankSimulator::CalculatePhotoElectrons(), G4TankSimulatorASCII::G4TankSimulator::ConstructTraces(), G4TankSimulatorOG::G4TankSimulator::ConstructTraces(), G4XTankSimulatorAG::G4XTankSimulator::ConstructTraces(), SdFootprintAnalyzerNS::SdFootprintAnalyzer::GetVEMChargeTrace(), SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::GetVEMChargeTrace(), DLECorrection::DLECorrection::Individual_Direct_Light_Corr(), SdCompParam::SdCompositionParameters::RecalculateRiseTime(), SdCompParam::SdCompositionParameters::Run(), TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inline |
|
inline |
Definition at line 212 of file SEvent/Station.h.
References fBottomUpResidual.
void Station::SetCandidate | ( | ) |
Set candidate station flag.
Definition at line 240 of file SEvent/Station.cc.
References sevt::StationConstants::eCandidate, and fReconstructionStatus.
Referenced by SdSimpleSimKG::SdSimpleSim::GenerateNoiseStation(), io::Station_ROOT::operator>>(), and SdSimpleSimKG::SdSimpleSim::Run().
|
inline |
Definition at line 220 of file SEvent/Station.h.
References sdet::PMTConstants::eHighGain, and fSaturation.
Referenced by SdSimpleSimKG::SdSimpleSim::GenerateNoiseStation(), io::Station_ROOT::operator>>(), SdSimpleSimKG::SdSimpleSim::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
Definition at line 230 of file SEvent/Station.h.
References fIsCyclone.
|
inline |
Definition at line 219 of file SEvent/Station.h.
References sdet::PMTConstants::eLowGain, and fSaturation.
Referenced by SdSimpleSimKG::SdSimpleSim::GenerateNoiseStation(), io::Station_ROOT::operator>>(), SdSimpleSimKG::SdSimpleSim::Run(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
void Station::SetRejected | ( | const int | reason | ) |
Set rejected station flag.
Definition at line 248 of file SEvent/Station.cc.
References sevt::StationConstants::eNoRejection, sevt::StationConstants::eRejected, fReconstructionStatus, and fRejectionStatus.
Referenced by io::Station_ROOT::operator>>(), RdSimulationRadioTrigger::RdSimulationRadioTrigger::Run(), and Sd5T5Tester::Sd5T5Tester::Run().
void Station::SetSilent | ( | ) |
Set silent station flag.
Definition at line 268 of file SEvent/Station.cc.
References sevt::StationConstants::eRejected, sevt::StationConstants::eSilent, and fReconstructionStatus.
Referenced by io::Station_ROOT::operator>>().
|
inline |
Definition at line 221 of file SEvent/Station.h.
References fSmallPMTSaturation.
Referenced by io::Station_ROOT::operator>>(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), and SdCalibratorOG::SdCalibrator::SelectSignal().
|
inline |
0 = dead, 1 = 1sec alive, 2 = 120sec alive
Definition at line 205 of file SEvent/Station.h.
References fT2Life.
Referenced by io::Station_ROOT::operator>>().
|
inline |
Set absolute start time of the VEM trace.
For MC this should be set by the local trigger simulation
Definition at line 119 of file SEvent/Station.h.
References fTraceStartTime.
Referenced by io::Station_ROOT::operator>>(), SdTraceCalibratorOG::SdTraceCalibrator::SelectSignal(), SdCalibratorOG::SdCalibrator::SelectSignal(), and SdTopDownSignalSelectorUGR::SdTopDownSignalSelectorUGR::UpdateStationValues().
|
inline |
First VEM trace.
Definition at line 133 of file SEvent/Station.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), and fTrace.
|
inline |
Definition at line 134 of file SEvent/Station.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), and fTrace.
|
inline |
Last VEM trace.
Definition at line 136 of file SEvent/Station.h.
References utl::MultiObject< T, LabeledObjectType >::End(), and fTrace.
|
inline |
Definition at line 137 of file SEvent/Station.h.
References utl::MultiObject< T, LabeledObjectType >::End(), and fTrace.
|
friend |
Definition at line 281 of file SEvent/Station.h.
|
private |
Definition at line 271 of file SEvent/Station.h.
Referenced by GetBottomUpResidual(), and SetBottomUpResidual().
|
private |
Definition at line 255 of file SEvent/Station.h.
Referenced by GetCalibData(), HasCalibData(), MakeCalibData(), and operator=().
|
private |
Definition at line 257 of file SEvent/Station.h.
Referenced by GetGPSData(), HasGPSData(), MakeGPSData(), and operator=().
|
private |
Definition at line 251 of file SEvent/Station.h.
Referenced by AddParticle(), GetId(), operator=(), and Station().
|
private |
Definition at line 279 of file SEvent/Station.h.
Referenced by IsCyclone(), and SetIsCyclone().
|
private |
Definition at line 278 of file SEvent/Station.h.
|
private |
Definition at line 252 of file SEvent/Station.h.
Referenced by GetNPMTs(), GetPMT(), GetScintillatorPMT(), GetSmallPMT(), HasPMT(), MakePMT(), operator=(), PMTsBegin(), PMTsEnd(), Station(), and ~Station().
|
private |
Definition at line 254 of file SEvent/Station.h.
Referenced by GetRecData(), HasRecData(), MakeRecData(), and operator=().
|
private |
Definition at line 260 of file SEvent/Station.h.
Referenced by IsRejected(), IsSilent(), operator=(), SetCandidate(), SetRejected(), and SetSilent().
|
private |
Definition at line 263 of file SEvent/Station.h.
Referenced by GetRejectionStatus(), operator=(), and SetRejected().
|
private |
Definition at line 261 of file SEvent/Station.h.
Referenced by IsHighGainSaturation(), IsLowGainSaturation(), operator=(), SetHighGainSaturation(), and SetLowGainSaturation().
|
private |
Definition at line 275 of file SEvent/Station.h.
Referenced by AddParticle(), GetScintillator(), HasScintillator(), operator=(), and Station().
|
private |
Definition at line 273 of file SEvent/Station.h.
Referenced by GetSignals(), and operator=().
|
private |
Definition at line 253 of file SEvent/Station.h.
Referenced by AddParticle(), GetSimData(), HasSimData(), MakeSimData(), and operator=().
|
private |
Definition at line 276 of file SEvent/Station.h.
Referenced by GetSmallPMTData(), HasSmallPMTData(), operator=(), and Station().
|
private |
Definition at line 262 of file SEvent/Station.h.
Referenced by IsSmallPMTSaturation(), and SetSmallPMTSaturation().
|
private |
Definition at line 269 of file SEvent/Station.h.
Referenced by GetT2Life(), IsT2Life(), IsT2Life120(), operator=(), and SetT2Life().
|
private |
Definition at line 259 of file SEvent/Station.h.
Referenced by GetVEMTrace(), HasVEMTrace(), MakeVEMTrace(), operator=(), VEMTracesBegin(), and VEMTracesEnd().
|
private |
Definition at line 258 of file SEvent/Station.h.
Referenced by GetTraceStartTime(), operator=(), and SetTraceStartTime().
|
private |
Definition at line 256 of file SEvent/Station.h.
Referenced by GetTriggerData(), HasTriggerData(), MakeTriggerData(), and operator=().