1 #ifndef _revt_Station_h_
2 #define _revt_Station_h_
4 #include <utl/ShadowPtr.h>
5 #include <utl/AugerException.h>
6 #include <utl/FFTDataContainer.h>
7 #include <utl/TimeStamp.h>
9 #include <utl/ClassHelpers.h>
11 #include <revt/StationConstants.h>
14 #include <boost/iterator/indirect_iterator.hpp>
23 class StationTriggerData;
50 typedef boost::indirect_iterator<InternalChannelIterator, Channel&>
ChannelIterator;
138 "fRawTraceStartTime has already been locked in RdEventInitializer! Change is no longer allowed.";
pointer with built-in initialization, deletion, deep copying
ConstChannelIterator ChannelsBegin() const
begin Channel iterator for read
Class to access station level reconstructed data.
StationSimData & GetSimData()
Get simulated data at station level.
Station Level Simulated Data
Station & operator=(const Station &station)
StationFrequencySpectrum & GetStationFrequencySpectrum()
retrieve Station Frequency Spectrum (write access, only use this if you intend to change the data) ...
#define OFFLINE_MAKE_BOTH_ITERATOR_RANGES(_Iterator_, _ConstIterator_, _NamePrefix_)
StationTriggerData & GetTriggerData()
Get Trigger data for the station.
boost::indirect_iterator< InternalChannelIterator, Channel & > ChannelIterator
Iterator over station for read/write.
utl::TraceV3D StationTimeSeries
bool HasTriggerData() const
Check whether trigger data object exists.
double GetFrequencyOfBin(const StationFrequencySpectrum::SizeType bin) const
Get the frequency corresponding to a bin of the frequency spectrum.
StationRecData & GetRecData()
Get station level reconstructed data.
ReconstructionStatus GetReconstructionStatus() const
boost::indirect_iterator< InternalConstChannelIterator, const Channel & > ConstChannelIterator
Iterator over station for read.
Interface class to access to the Radio part of an event.
std::vector< Channel * >::const_iterator InternalConstChannelIterator
void MakeSimData()
Make station simulated data object.
Station Trigger Data description
unsigned int ChannelsSize() const
Retrieve number of Channels in this Station.
void SetSaturated()
Saturation status.
bool HasRejectedReason(const unsigned long long int reason) const
Station(const Station &station)
bool fRawTraceStartTimeLocked
ChannelIterator ChannelsBegin()
begin Channel iterator for read/write
unsigned int GetNyquistZone() const
Get the Nyquist zone.
StationTimeSeries & GetStationTimeSeries()
retrieve Station Time Series (write access, only use this if you intend to change the data) ...
void SetHWTemperatureExt(const double temp)
utl::FFTDataContainer< utl::Trace, utl::Vector3D, utl::Vector3C > StationFFTDataContainer
ChannelIterator ChannelsEnd()
end Channel iterator for read/write
A TimeStamp holds GPS second and nanosecond for some event.
utl::ShadowPtr< StationGPSData > fGPSData
void MakeGPSData()
Make GPS data object.
void MakeTriggerData()
Make trigger data object.
StationFFTDataContainer & GetFFTDataContainer()
retrieve Station FFTDataContainer (write access)
bool HasChannel(const int pmtId) const
Check if a particular Channel object exists.
Exception to use if sequence of initialisations violated.
double GetHWTemperatureInt() const
double GetHWTemperatureExt() const
bool HasStationHeader() const
Check whether StationHeader exists.
bool operator()(const Station &station) const
class to hold data at the radio Station level.
void SetRawTraceStartTime(const utl::TimeStamp &time)
Set absolute start time of the station-level trace as originally provided in raw data, for reconstructions use eTraceStartTime in StationRecData!
std::vector< T >::size_type SizeType
ExcludedReason fExcludedReason
utl::InitializedShadowPtr< StationFFTDataContainer > fFFTDataContainer
container for the radio time and frequency data
void MakeStationHeader()
Make Station Header object.
utl::ShadowPtr< StationHeader > fStationHeader
#define OFFLINE_CAST_CONST_METHOD(_Method_)
bool operator()(const Station &station) const
std::vector< Channel * >::iterator InternalChannelIterator
void SetRawTraceStartTimeLocked(const bool lock=true)
std::vector< Channel * > fChannels
void SetNyquistZone(const unsigned int zone)
Set the Nyquist zone.
bool HasSimData() const
Check whether station simulated data exists.
ReconstructionStatus fReconstructionStatus
StationGPSData & GetGPSData()
Get GPS data for the station.
utl::TimeStamp GetRawTraceStartTime() const
Get absolute start time of the station-level trace as originally provided in raw data, for reconstructions use eTraceStartTime in StationRecData!
void SetRejectedReason(const unsigned long long int reason)
int GetId() const
Get the station Id.
utl::ShadowPtr< StationRecData > fRecData
ConstChannelIterator ChannelsEnd() const
end Channel iterator for read
Channel & GetChannel(const int pmtId)
Retrieve a Channel by Id.
Template class for a data container that offers and takes both time series and corresponding frequenc...
bool operator()(const Station &station) const
void MakeRecData()
Make station reconstructed data object.
const StationFFTDataContainer & GetFFTDataContainer() const
retrieve Station FFTDataContainer (read access)
Template class for a FADC data or calibrated data container. Use the typedefs (TraceD, TraceI, etc.) defined in Trace-fwd.h.
bool operator()(const Station &station) const
unsigned long long int fRejectedReason
utl::TraceV3C StationFrequencySpectrum
ExcludedReason GetExcludedReason() const
const StationFrequencySpectrum & GetStationFrequencySpectrum() const
retrieve Station Frequency Spectrum (read access)
Class that holds the data associated to an individual radio channel.
void SetExcludedReason(const ExcludedReason reason)
unsigned long long int GetRejectedReason() const
double GetMinimumFrequency() const
Get the mimimum frequency of the spectrum frequency spectrum.
StationHeader & GetStationHeader()
Get the Station Header.
bool HasRecData() const
Check whether station reconstructed data exists.
void ClearRejectedReason()
void SetReconstructionStatus(const ReconstructionStatus s)
double GetMaximumFrequency() const
Get the maximum frequency of the spectrum frequency spectrum.
#define ERROR(message)
Macro for logging error messages.
bool HasGPSData() const
Check whether GPS data object exists.
utl::TimeStamp fRawTraceStartTime
void SetHWTemperatureInt(const double temp)
RejectedStationFilter(const int statusMask)
utl::ShadowPtr< StationTriggerData > fTriggerData
void SetHWTemperature(const double temp)
const StationTimeSeries & GetStationTimeSeries() const
retrieve Station Time Series (read access)
bool GetRawTraceStartTimeLocked() const
double GetHWTemperature() const
utl::ShadowPtr< StationSimData > fSimData
bool operator()(const Station &station) const