List of all members | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
fevt::FEvent Class Reference

Top of Fluorescence Detector event hierarchy. More...

#include <FEvent.h>

Public Types

typedef boost::filter_iterator
< ComponentSelector,
ConstAllEyeIterator
ConstEyeIterator
 
typedef boost::filter_iterator
< ComponentSelector,
AllEyeIterator
EyeIterator
 selective Eye iterators More...
 

Public Member Functions

EyeIterator EyesBegin (const ComponentSelector::Status status)
 
EyeIterator EyesBegin ()
 iterator pointing to first available eye with status eHasData (DEPRECATED!) More...
 
ConstEyeIterator EyesBegin (const ComponentSelector::Status status) const
 < first available eye of given status More...
 
ConstEyeIterator EyesBegin () const
 first available eye of status eHasData (DEPRECATED!) More...
 
EyeIterator EyesEnd (const ComponentSelector::Status status)
 
EyeIterator EyesEnd ()
 iterator pointing to end of available eyes with status eHasData (DEPRECATED!) More...
 
ConstEyeIterator EyesEnd (const ComponentSelector::Status status) const
 < end of available eyes of given status More...
 
ConstEyeIterator EyesEnd () const
 iterator pointing to end of available eyes with status eHasData (DEPRECATED!) More...
 
 FEvent (const FEvent &fEvent)
 
EyeGetEye (const unsigned int eyeId, const ComponentSelector::Status status=ComponentSelector::eHasData)
 return Eye by id More...
 
const EyeGetEye (const unsigned int eyeId, const ComponentSelector::Status status=ComponentSelector::eHasData) const
 
EyeGetEye (const std::string &eyeName, const ComponentSelector::Status status=ComponentSelector::eHasData)
 
const EyeGetEye (const std::string &eyeName, const ComponentSelector::Status status=ComponentSelector::eHasData) const
 
HeaderGetHeader ()
 
const HeaderGetHeader () const
 
unsigned int GetNEyes () const
 
bool HasEye (const unsigned int eyeId, const ComponentSelector::Status status=ComponentSelector::eHasData) const
 
bool HasEye (const std::string &eyeName, const ComponentSelector::Status status=ComponentSelector::eHasData) const
 
void MakeEye (const unsigned int eyeId, const ComponentSelector::Status status=ComponentSelector::eHasData)
 
void MakeEye (const std::string &eyeName, const ComponentSelector::Status status=ComponentSelector::eHasData)
 
FEventoperator= (const FEvent &fEvent)
 
void SetHeader (const Header &header)
 

Private Types

typedef
boost::indirect_iterator
< InternalEyeIterator, Eye & > 
AllEyeIterator
 An iterator over all eyes for read and write. More...
 
typedef
boost::indirect_iterator
< InternalConstEyeIterator,
const Eye & > 
ConstAllEyeIterator
 An iterator over eyes for read only. More...
 
typedef
InternalEyeContainer::const_iterator 
InternalConstEyeIterator
 
typedef std::list< Eye * > InternalEyeContainer
 
typedef
InternalEyeContainer::iterator 
InternalEyeIterator
 

Private Member Functions

AllEyeIterator AllEyesBegin ()
 
ConstAllEyeIterator AllEyesBegin () const
 
AllEyeIterator AllEyesEnd ()
 
ConstAllEyeIterator AllEyesEnd () const
 
 FEvent ()
 
unsigned int GetIdFromName (const std::string &eyeName) const
 
 ~FEvent ()
 

Private Attributes

InternalEyeContainer fEyes
 
fevt::Header fHeader
 

Friends

class evt::Event
 
class utl::LameShadowPtr< FEvent >
 

Detailed Description

Top of Fluorescence Detector event hierarchy.

Author
Stefano Argiro'
Date
Jan 29, 2003

Definition at line 33 of file FEvent.h.

Member Typedef Documentation

typedef boost::indirect_iterator<InternalEyeIterator, Eye&> fevt::FEvent::AllEyeIterator
private

An iterator over all eyes for read and write.

Definition at line 41 of file FEvent.h.

typedef boost::indirect_iterator<InternalConstEyeIterator, const Eye&> fevt::FEvent::ConstAllEyeIterator
private

An iterator over eyes for read only.

Definition at line 43 of file FEvent.h.

Definition at line 56 of file FEvent.h.

selective Eye iterators

Definition at line 55 of file FEvent.h.

typedef InternalEyeContainer::const_iterator fevt::FEvent::InternalConstEyeIterator
private

Definition at line 38 of file FEvent.h.

typedef std::list<Eye*> fevt::FEvent::InternalEyeContainer
private

Definition at line 36 of file FEvent.h.

typedef InternalEyeContainer::iterator fevt::FEvent::InternalEyeIterator
private

Definition at line 37 of file FEvent.h.

Constructor & Destructor Documentation

FEvent::FEvent ( const FEvent fEvent)

Definition at line 21 of file FEvent.cc.

fevt::FEvent::FEvent ( )
inlineprivate

Definition at line 97 of file FEvent.h.

FEvent::~FEvent ( )
private

Definition at line 27 of file FEvent.cc.

Member Function Documentation

AllEyeIterator fevt::FEvent::AllEyesBegin ( )
inlineprivate

Definition at line 45 of file FEvent.h.

References fEyes.

Referenced by EyesBegin().

ConstAllEyeIterator fevt::FEvent::AllEyesBegin ( ) const
inlineprivate

Definition at line 47 of file FEvent.h.

References fEyes.

AllEyeIterator fevt::FEvent::AllEyesEnd ( )
inlineprivate

Definition at line 46 of file FEvent.h.

References fEyes.

Referenced by EyesBegin(), and EyesEnd().

ConstAllEyeIterator fevt::FEvent::AllEyesEnd ( ) const
inlineprivate

Definition at line 48 of file FEvent.h.

References fEyes.

EyeIterator fevt::FEvent::EyesBegin ( const ComponentSelector::Status  status)
inline
Parameters
statusiterator pointing to first eye of given status

Definition at line 58 of file FEvent.h.

References AllEyesBegin(), and AllEyesEnd().

Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateAdditionalIterationsToMeetTarget(), DrumPhotonGeneratorOG::DrumPhotonGenerator::CalculateCalibrationConstants(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateTargetRelUncertainty(), testFEventImpl::checkChannelSimDataValues(), testFEventImpl::checkEyeRecDataValues(), testFEventImpl::checkPixelRecDataValues(), testFEventImpl::checkPixelSimDataValues(), otoa::FD2ADST::Convert(), DrumPhotonGeneratorOG::DrumPhotonGenerator::DoDrum(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::DoInitialReconstruction(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), FIOValidationObj::Fill(), otoa::Detector2ADST::FillCloudCameraData(), otoa::Detector2ADST::FillDetector(), StereoGeometryFinderOG::StereoGeometryFinder::FindAxisStereo(), StereoGeometryFinderOG::StereoGeometryFinder::FindAxisStereoHybrid(), LDFFinderOG::LDFFinder::FixCore(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::GetDirection(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::GetExternalGeometry(), evt::ShowerRRecData::GetReferenceAxis(), evt::ShowerRRecData::GetReferenceCoreError(), evt::ShowerRRecData::GetReferenceCoreErrorCorrelationXY(), evt::ShowerRRecData::GetReferenceCorePosition(), evt::ShowerRRecData::HasReferenceAxis(), evt::ShowerRRecData::HasReferenceCorePosition(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereo(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereoHybrid(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::ProcessEvent(), RdEventPostSelector::RdEventPostSelector::Run(), HdRecValidationNS::HdRecValidation::Run(), ValidationNS::Validation::Run(), HybridSimValidationNS::HybridSimValidation::Run(), ThresholdCalculatorKG::ThresholdCalculator::Run(), FdNoiseAdderKG::FdNoiseAdder::Run(), FdPulseFinderOG::FdPulseFinder::Run(), RdEventPreSelector::RdEventPreSelector::Run(), RdEventInitializer::RdEventInitializer::Run(), fdDoubleBumpFinder::FdDoubleBumpFinder::Run(), FdEnergyFinderOG::FdEnergyFinder::Run(), FdCherenkovFinderOG::FdCherenkovFinder::Run(), FdCherenkovSubtracterOG::FdCherenkovSubtracter::Run(), StereoGeometryFinderOG::StereoGeometryFinder::Run(), FdSDPFinderOG::FdSDPFinder::Run(), FdEventSelectorKG::FdEventSelector::Run(), FdAxisFinderOG::FdAxisFinder::Run(), FdBackgroundSimulatorOG::FdBackgroundSimulator::Run(), FdProfileFinderOG::FdProfileFinder::Run(), HdAxisFinderUU::HdAxisFinder::Run(), VirtualChannelCalibratorKG::VirtualChannelCalibrator::Run(), HybridGeometryFinderOG::HybridGeometryFinder::Run(), HybridGeometryFinderWG::HybridGeometryFinder::Run(), FdApertureLightFinderOG::FdApertureLightFinder::Run(), FdProfileConstrainedGeometryFit::FdProfileConstrainedGeometryFit::Run(), FdProfileConstrainedGeometryFitPG::FdProfileConstrainedGeometryFit::Run(), FdEventLoggerGS::FdEventLogger::Run(), FdLaserEnergyReconstructorKG::FdLaserEnergyReconstructor::Run(), FdElectronicsSimulatorOG::FdElectronicsSimulator::Run(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), FdProfileReconstructorKG::FdProfileReconstructor::Run(), FdTriggerSimulatorOG::FdTriggerSimulator::Run(), FdProfileConstrainedGeometryFitPG::ApertureLight::Run(), FdProfileConstrainedGeometryFit::ApertureLight::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), FdApertureLightFinderKG::FdApertureLightFinder::Run(), UniversalityFitter::UniversalityFitter::Run(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::RunPhotonGenerationRayTracingLoop(), testFEventImpl::setChannelSimDataValues(), testFEventImpl::setEyeRecDataValues(), testFEventImpl::setPixelRecDataValues(), testFEventImpl::setPixelSimDataValues(), UseMcGeometryOG::UseMcGeometry::SetSDP(), RdEventInitializer::RdEventInitializer::SetSignalSearchWindowFromFD(), UseMcGeometryOG::UseMcGeometry::SetTimeFit(), un2::SimpleReco(), and io::IoAugerEventFile::Write().

FEvent::EyeIterator FEvent::EyesBegin ( )

iterator pointing to first available eye with status eHasData (DEPRECATED!)

Definition at line 253 of file FEvent.cc.

ConstEyeIterator fevt::FEvent::EyesBegin ( const ComponentSelector::Status  status) const
inline

< first available eye of given status

Definition at line 62 of file FEvent.h.

References AllEyesBegin(), and AllEyesEnd().

FEvent::ConstEyeIterator FEvent::EyesBegin ( ) const

first available eye of status eHasData (DEPRECATED!)

Definition at line 264 of file FEvent.cc.

EyeIterator fevt::FEvent::EyesEnd ( const ComponentSelector::Status  status)
inline
Parameters
statusiterator pointing to end of available eyes of given status

Definition at line 66 of file FEvent.h.

References AllEyesEnd().

Referenced by CentralTriggerEventBuilderNS::CentralTriggerEventBuilder::BuildEvent(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateAdditionalIterationsToMeetTarget(), DrumPhotonGeneratorOG::DrumPhotonGenerator::CalculateCalibrationConstants(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateTargetRelUncertainty(), DrumPhotonGeneratorOG::DrumPhotonGenerator::DoDrum(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), FIOValidationObj::Fill(), otoa::Detector2ADST::FillCloudCameraData(), otoa::Detector2ADST::FillDetector(), StereoGeometryFinderOG::StereoGeometryFinder::FindAxisStereo(), StereoGeometryFinderOG::StereoGeometryFinder::FindAxisStereoHybrid(), LDFFinderOG::LDFFinder::FixCore(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::GetDirection(), evt::ShowerRRecData::GetReferenceAxis(), evt::ShowerRRecData::GetReferenceCoreError(), evt::ShowerRRecData::GetReferenceCoreErrorCorrelationXY(), evt::ShowerRRecData::GetReferenceCorePosition(), evt::ShowerRRecData::HasReferenceAxis(), evt::ShowerRRecData::HasReferenceCorePosition(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereo(), StereoGeometryFinderOG::StereoGeometryFinder::MinuitFitFuncStereoHybrid(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::ProcessEvent(), RdEventPostSelector::RdEventPostSelector::Run(), HdRecValidationNS::HdRecValidation::Run(), ValidationNS::Validation::Run(), HybridSimValidationNS::HybridSimValidation::Run(), FdNoiseAdderKG::FdNoiseAdder::Run(), ThresholdCalculatorKG::ThresholdCalculator::Run(), FdPulseFinderOG::FdPulseFinder::Run(), RdEventPreSelector::RdEventPreSelector::Run(), RdEventInitializer::RdEventInitializer::Run(), fdDoubleBumpFinder::FdDoubleBumpFinder::Run(), StereoGeometryFinderOG::StereoGeometryFinder::Run(), FdBackgroundSimulatorOG::FdBackgroundSimulator::Run(), FdSDPFinderOG::FdSDPFinder::Run(), FdEventSelectorKG::FdEventSelector::Run(), FdAxisFinderOG::FdAxisFinder::Run(), HdAxisFinderUU::HdAxisFinder::Run(), VirtualChannelCalibratorKG::VirtualChannelCalibrator::Run(), HybridGeometryFinderOG::HybridGeometryFinder::Run(), FdProfileConstrainedGeometryFit::FdProfileConstrainedGeometryFit::Run(), FdApertureLightFinderOG::FdApertureLightFinder::Run(), FdProfileConstrainedGeometryFitPG::FdProfileConstrainedGeometryFit::Run(), FdEventLoggerGS::FdEventLogger::Run(), FdElectronicsSimulatorOG::FdElectronicsSimulator::Run(), TelescopeSimulatorLX::TelescopeSimulator::Run(), TelescopeSimulatorKG::TelescopeSimulator::Run(), TelescopeSimulatorKG2::TelescopeSimulator::Run(), FdProfileReconstructorKG::FdProfileReconstructor::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), FdTriggerSimulatorOG::FdTriggerSimulator::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), UniversalityFitter::UniversalityFitter::Run(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::RunPhotonGenerationRayTracingLoop(), UseMcGeometryOG::UseMcGeometry::SetSDP(), RdEventInitializer::RdEventInitializer::SetSignalSearchWindowFromFD(), UseMcGeometryOG::UseMcGeometry::SetTimeFit(), and io::IoAugerEventFile::Write().

FEvent::EyeIterator FEvent::EyesEnd ( )

iterator pointing to end of available eyes with status eHasData (DEPRECATED!)

Definition at line 276 of file FEvent.cc.

ConstEyeIterator fevt::FEvent::EyesEnd ( const ComponentSelector::Status  status) const
inline

< end of available eyes of given status

Definition at line 70 of file FEvent.h.

References AllEyesEnd().

FEvent::ConstEyeIterator FEvent::EyesEnd ( ) const

iterator pointing to end of available eyes with status eHasData (DEPRECATED!)

Definition at line 287 of file FEvent.cc.

Eye & FEvent::GetEye ( const unsigned int  eyeId,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
)

return Eye by id

Definition at line 70 of file FEvent.cc.

References ERROR, and fevt::Eye::GetStatus().

Referenced by UserModule::AnalyzeCamera(), UserModule::AnalyzeLightAtDiaphragm(), FdCalibratorOG::FdCalibrator::ApplyTimeCorrections(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateAdditionalIterationsToMeetTarget(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateEfficiency(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::CalculateTargetRelUncertainty(), FdProfileConstrainedGeometryFit::PCGFitter::CopyEye(), FdProfileConstrainedGeometryFitPG::PCGFitter::CopyEye(), SpotPhotonGeneratorOG::SpotPhotonGenerator::DoSpot(), FdCalibratorOG::FdCalibrator::FillCalibratedPixels(), FdCalibratorOG::FdCalibrator::FillChannelRecData(), FdCalibratorOG::FdCalibrator::FillDAQInformation(), otoa::FOVCalculator::FillFOVVariables(), FdCalibratorOG::FdCalibrator::FillTriggerData(), FdProfileConstrainedGeometryFitPG::FdProfileConstrainedGeometryFit::GetDataFromPreviousFit(), HybridGeometryFinderWG::HybridGeometryFinder::GetDataFromPreviousFit(), fdet::EventPointingManager::GetPointing(), FdEyeMergerKG::FdEyeMerger::MergeEyes(), io::operator<<(), io::FEvent_ROOT::operator>>(), FdLightCollectionEfficiencyKG::SimMockEvent::PrepareEvent(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::ProcessEvent(), MeanNpeFillerKG::MeanNpeFiller::Run(), FieldOfViewCalculatorKG::FieldOfViewCalculator::Run(), FdEnergyDepositFinderKG::FdEnergyDepositFinder::Run(), SpotPhotonGeneratorOG::SpotPhotonGenerator::Run(), DrumPhotonGeneratorOG::DrumPhotonGenerator::Run(), FdLightCollectionEfficiencyKG::FdLightCollectionEfficiency::RunPhotonGenerationRayTracingLoop(), and testFEventImpl::setUp().

const Eye & FEvent::GetEye ( const unsigned int  eyeId,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
) const

Definition at line 92 of file FEvent.cc.

References ERROR, and fevt::Eye::GetStatus().

Eye & FEvent::GetEye ( const std::string &  eyeName,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
)

These are convenience methods to look up eyes by name rather than id. The association between name and numerical Id is defined in an external file or database handled by the Detector Description.

Definition at line 175 of file FEvent.cc.

References ERROR.

const Eye & FEvent::GetEye ( const std::string &  eyeName,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
) const

Definition at line 202 of file FEvent.cc.

References ERROR.

Header& fevt::FEvent::GetHeader ( )
inline
const Header& fevt::FEvent::GetHeader ( ) const
inline

Definition at line 93 of file FEvent.h.

References fHeader.

unsigned int FEvent::GetIdFromName ( const std::string &  eyeName) const
private

Definition at line 231 of file FEvent.cc.

References ERROR.

unsigned int fevt::FEvent::GetNEyes ( ) const
inline

Definition at line 74 of file FEvent.h.

References fEyes.

Referenced by testFEventImpl::checkAll(), and FdProfileReconstructorKG::FdProfileReconstructor::Run().

bool FEvent::HasEye ( const unsigned int  eyeId,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
) const
bool FEvent::HasEye ( const std::string &  eyeName,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
) const

Definition at line 129 of file FEvent.cc.

References ERROR.

void FEvent::MakeEye ( const unsigned int  eyeId,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
)
void FEvent::MakeEye ( const std::string &  eyeName,
const ComponentSelector::Status  status = ComponentSelector::eHasData 
)

Definition at line 148 of file FEvent.cc.

References ERROR.

FEvent & FEvent::operator= ( const FEvent fEvent)

Definition at line 36 of file FEvent.cc.

References fEyes, and fHeader.

void fevt::FEvent::SetHeader ( const Header header)
inline

Definition at line 94 of file FEvent.h.

References fHeader.

Friends And Related Function Documentation

friend class evt::Event
friend

Definition at line 106 of file FEvent.h.

friend class utl::LameShadowPtr< FEvent >
friend

Definition at line 107 of file FEvent.h.

Member Data Documentation

InternalEyeContainer fevt::FEvent::fEyes
private

Definition at line 103 of file FEvent.h.

Referenced by AllEyesBegin(), AllEyesEnd(), GetNEyes(), and operator=().

fevt::Header fevt::FEvent::fHeader
private

Definition at line 104 of file FEvent.h.

Referenced by GetHeader(), operator=(), and SetHeader().


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

, generated on Tue Sep 26 2023.