1 #ifndef _fdet_FDetector_h_
2 #define _fdet_FDetector_h_
4 #include <boost/iterator/indirect_iterator.hpp>
5 #include <boost/iterator/filter_iterator.hpp>
10 #include <fdet/FDetComponentSelector.h>
11 #include <det/ValidityStamp.h>
53 typedef boost::indirect_iterator<InternalEyeIterator, const Eye&>
AllEyeIterator;
69 typedef boost::filter_iterator<FDetComponentSelector, AllEyeIterator>
EyeIterator;
80 const Eye&
GetEye(
const unsigned int eyeId)
const;
83 const Eye&
GetEye(
const std::string& eyeName)
const;
117 const std::string& property,
118 const std::string& component,
119 const std::string& errorMsg)
const;
121 const std::string& property,
122 const std::string& component,
123 const std::string& errorMsg)
const;
163 #endif // _fdet_FDetector_h_
InternalEyeIdCollection * fFullEyeList
Description of the electronic channel for the 480 channels of the crate.
AllEyeIterator AllEyesBegin() const
Predicate specifying whether telescope is selected or not.
Type
Possible component status.
Fluorescence Detector Eye Event.
bool IsCDASInAquisition() const
const Pixel & GetPixel(const fevt::Pixel &eventPixel) const
Get fdet::Pixel from fevt::Channel.
double GetModelMinWavelength() const
unsigned int GetLastEyeId() const
Get Id of last eye.
const Eye & GetEye(const unsigned int eyeId) const
Find eye by numerical Id.
EyeIterator EyesBegin(const FDetComponentSelector::Type type=FDetComponentSelector::ePhysical) const
iterator pointing to first eye of given type (ePhysical, eVirtual, eAll)
Detector description interface for Eye-related data.
const T & GetFDetectorData(T *&requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
void UpdateFdUpTime() const
Detector description interface for FDetector-related data.
std::list< Eye * > InternalEyeCollection
InternalEyeCollection fCommissionedEyeList
boost::filter_iterator< FDetComponentSelector, AllEyeIterator > EyeIterator
Fluorescence Detector Pixel event.
double GetModelMaxWavelength() const
FDetector & operator=(const FDetector &)
double GetCDASUpTimeFraction() const
Top of the hierarchy of the detector description interface.
const Channel & GetChannel(const fevt::Channel &eventChannel) const
Get fdet::Channel from fevt::Channel.
std::list< int > InternalEyeIdCollection
Fluorescence Detector Channel Event.
const InternalEyeIdCollection & GetFullEyeList() const
double GetReferenceLambda() const
unsigned int GetFirstEyeId() const
Get Id of first eye.
Detector description interface for Telescope-related data.
const Telescope & GetTelescope(const fevt::Telescope &eventTel) const
Get fdet::Telescope from fevt::Telescope.
InternalEyeCollection::const_iterator InternalEyeIterator
Fluorescence Detector Telescope Event.
Object to keep track of whether data are valid, or have expired.
det::ValidityStamp fUpTimeValidityStamp
AllEyeIterator AllEyesEnd() const
int GetCDASDAQStatus() const
boost::indirect_iterator< InternalEyeIterator, const Eye & > AllEyeIterator
An iterator over eyes for read only.
double * fReferenceLambda
EyeIterator EyesEnd(const FDetComponentSelector::Type type=FDetComponentSelector::ePhysical) const
iterator pointing to end of available eyes of given type (ePhysical, eVirtual, eAll) ...