1 #ifndef _rdet_Station_h_
2 #define _rdet_Station_h_
10 #include <boost/lexical_cast.hpp>
11 #include <boost/iterator/indirect_iterator.hpp>
13 #include <det/VManager.h>
14 #include <det/Detector.h>
16 #include <utl/AugerException.h>
17 #include <utl/CoordinateSystemPtr.h>
18 #include <utl/ReferenceEllipsoid.h>
19 #include <utl/Validated.h>
20 #include <utl/Point.h>
21 #include <utl/TimeStamp.h>
22 #include <utl/TimeRange.h>
23 #include <utl/TabulatedFunction.h>
24 #include <utl/ShadowPtr.h>
78 typedef boost::indirect_iterator<InternalChannelIterator, const Channel&>
ChannelIterator;
110 bool IsInGrid(
const int level = 0)
const;
148 template <
typename T>
150 GetDefaultData(T& returnData,
const std::string& componentProperty)
const;
152 template <
typename T>
155 const std::string& property,
156 const std::string& component,
157 const std::string& errorMsg,
158 const bool throwOnFailure =
true)
const;
utl::CoordinateSystemPtr GetLocalCoordinateSystem() const
Get the Auger reference system centered on the station.
bool IsInAcquisition() const
Station in data acquisition.
Detector description interface for Station-related data.
ChannelIterator ChannelsEnd() const
End of the collection of pointers to Channels.
Time interval defined by two TimeStamps.
void NotFoundAndThrow(const std::string &msg) const
Station operator=(const Station &)
const TimeStamp & GetStopTime() const
det::VManager::Status GetStationData(T &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg, const bool throwOnFailure=true) const
int GetInternalChannelId(const int channelId) const
Detector description interface for Channel-related data.
InternalChannelVector fChannelVector
utl::Validated< int > fFirstChannelId
det::VManager::Status GetDefaultData(T &returnData, const std::string &componentProperty) const
std::vector< int > fListOfChannelIds
A TimeStamp holds GPS second and nanosecond for some event.
std::string fStationIdString
Detector description interface for RDetector-related data.
utl::CoordinateSystemPtr fReferenceSystem
utl::Validated< utl::Point > fPosition
boost::shared_ptr< const CoordinateTransformer > CoordinateSystemPtr
Shared pointer for coordinate systems.
InternalChannelVector::const_iterator InternalChannelIterator
const utl::TimeStamp & GetCommissionTime() const
Station commission time.
int GetNChannels() const
Number of channels in station.
utl::Validated< std::string > fName
const TimeStamp & GetStartTime() const
#define OFFLINE_MAKE_CONST_ITERATOR_RANGE(_ConstIterator_, _NamePrefix_)
int GetId() const
Station ID.
utl::Validated< int > fLastChannelId
bool HasChannel(const int channelId) const
std::vector< const Channel * > InternalChannelVector
utl::Validated< int > fIsInAcquisition
std::vector< int > GetListOfChannelIds() const
returns a list with the commissioned channels ids of the station
boost::indirect_iterator< InternalChannelIterator, const Channel & > ChannelIterator
ChannelIterator returns a pointer to a Channel.
const Channel & GetChannel(const int id) const
Get specified Channel by id.
bool IsInEngineeringArray() const
utl::Validated< utl::TimeRange > fCommissionTimeRange
void SetListOfChannelIds()
set list of channel ids of the station
Class that holds the data associated to an individual radio channel.
std::map< int, int > fChannelIdToInternalChannelId
const utl::TimeStamp & GetDecommissionTime() const
Station decommission time.
EllipsoidID
ID's of known reference ellipsoid's.
utl::Validated< int > fInGrid
utl::ReferenceEllipsoid::EllipsoidID fEllipsoid
utl::Point GetPosition() const
Tank position in Site Cartesian Coordinates.
ChannelIterator ChannelsBegin() const
Beginning of the collection of pointers to Channels.
bool IsInGrid(const int level=0) const
Tells whether the station is in the regular triangular grid.
Status
Specifies success or (eventually) various possible failure modes.
utl::Validated< int > fNChannels
const utl::TimeRange & GetCommissionTimeRange() const
Station commission time range.
std::string GetName() const
Station name.