1 #ifndef _revt_Channel_h_
2 #define _revt_Channel_h_
4 #include <revt/ChannelRecData.h>
6 #include <utl/ShadowPtr.h>
7 #include <utl/FFTDataContainer.h>
8 #include <utl/ClassHelpers.h>
Class to access channel level reconstructed data.
ChannelFFTDataContainer & GetFFTDataContainer()
retrieve Channel FFTDataContainer (write access)
utl::Trace< std::complex< double > > ChannelFrequencySpectrum
void MakeRecData()
Make channel reconstructed data object.
double GetMaximumFrequency() const
Get the maximum frequency of the spectrum frequency spectrum.
pointer with built-in initialization, deletion, deep copying
const ChannelADCTimeSeries & GetChannelADCTimeSeries() const
Get const Channel ADC trace (read only)
double GetScintHighVoltage() const
unsigned int GetSignalThreshold() const
From DAQ.
int GetId() const
Return Id of the Channel.
const ChannelFFTDataContainer & GetFFTDataContainer() const
retrieve Channel FFTDataContainer (read access)
unsigned int GetNyquistZone() const
get the Nyquist zone
ChannelRecData & GetRecData()
Get channel level reconstructed data.
unsigned int GetParity() const
Get parity of the Channel.
utl::FFTDataContainer< utl::Trace, double, std::complex< double > > ChannelFFTDataContainer
bool HasRecData() const
Check whether channel reconstructed data exists.
int GetStationId() const
Return Id of the station to which this Channel belongs.
ChannelFFTDataContainer fFFTDataContainer
unsigned int GetNyquistZone() const
Get the Nyquist zone.
ChannelTimeSeries & GetChannelTimeSeries()
retrieve Channel Time Series (write access, only use this if you intend to change the data) ...
void SetNoiseThreshold(const unsigned int thresh)
From DAQ.
double GetMinimumFrequency() const
Get the mimimum frequency of the spectrum frequency spectrum.
unsigned int fSignalThreshold
class to hold data at the radio Station level.
C< F > & GetFrequencySpectrum()
read out the frequency spectrum (write access)
const ChannelRecData & GetRecData() const
std::vector< std::complex< double > >::size_type SizeType
#define OFFLINE_CAST_CONST_METHOD(_Method_)
C< T > & GetTimeSeries()
read out the time series (write access)
const ChannelTimeSeries & GetChannelTimeSeries() const
retrieve Channel Time Series (read access)
utl::Trace< int > ChannelADCTimeSeries
utl::ShadowPtr< ChannelRecData > fRecData
Template class for a data container that offers and takes both time series and corresponding frequenc...
void SetSignalThreshold(const unsigned int thresh)
void SetScintHighVoltage(const double scinthv)
From DAQ.
ChannelFrequencySpectrum & GetChannelFrequencySpectrum()
retrieve Channel Frequency Spectrum (write access, only use this if you intend to change the data) ...
double GetFrequencyOfBin(const ChannelFrequencySpectrum::SizeType bin) const
Get the frequency corresponding to a bin of the frequency spectrum.
ChannelADCTimeSeries & GetChannelADCTimeSeries()
Get Channel ADC trace (write access, only use this if you intend to change the data) ...
const ChannelFrequencySpectrum & GetChannelFrequencySpectrum() const
retrieve Channel Frequency Spectrum (read access)
Class that holds the data associated to an individual radio channel.
unsigned int fNoiseThreshold
void SetNyquistZone(const unsigned int zone)
set the Nyquist zone
void SetParity(const unsigned int parity)
Set parity of the Channel.
void SetNyquistZone(const unsigned int zone)
Set the Nyquist zone.
Channel(const int stationId, const int id)
utl::Trace< double > ChannelTimeSeries
void SetActive()
Active means that it is used in reconstruction. By default this is true after read-in, but can be deactivated later.
ChannelADCTimeSeries fChannelADCTrace
unsigned int GetNoiseThreshold() const
From DAQ.