1 #ifndef _rdet_Channel_h_
2 #define _rdet_Channel_h_
4 #include <rdet/AntennaType.h>
5 #include <utl/TabulatedFunctionComplexLgAmpPhase.h>
7 #include <utl/AugerException.h>
8 #include <utl/ResponseMap.h>
9 #include <utl/Validated.h>
10 #include <rdet/RDetector.h>
11 #include <det/VManager.h>
105 std::pair<std::complex<double>, std::complex<double> >
118 Channel(
const int stationId,
const int ChannelId);
172 const std::string& property,
173 const std::string& component,
174 const std::string& errorMsg)
177 if (!requestedData.
IsValid()) {
183 ::det::Detector::GetInstance().GetRManagerRegister();
185 manager.
GetData(requestedData.
Get(), property, component, indexMap);
192 return requestedData.
Get();
202 #endif //_rdet_Channel_h_
int GetBitDepth() const
Get number of bits of ADC.
utl::Validated< double > fOrientationAzimuth
utl::Validated< double > fIntegratedHorizontalGain
utl::Validated< double > fSamplingFrequency
double GetOrientationZeta() const
Get zeta-tilt of Antenna for this Channel.
Detector description interface for Station-related data.
double GetDesignUpperFreq() const
Get design value of the freq-band.
const T & GetChannelData(utl::Validated< T > &requestedData, const std::string &property, const std::string &component, const std::string &errorMsg) const
int GetId() const
return ID of the Channel
Class to hold collection (x,y) points and provide interpolation between them.
double GetDesignLowerFreq() const
Get design value of the freq-band.
double GetIntegratedHorizontalGain() const
Get IntegratedHorizontalGain of Antenna-Type.
const utl::Point & GetPosition() const
Get Position of this Antenna-Channel.
utl::Validated< double > fOrientationZenith
utl::Validated< int > fBitDepth
double GetMaxVoltage() const
Get voltage corresponding to max number of counts.
double GetDesignImpedance() const
Get DesignImpediance of Antenna-Type.
utl::Validated< double > fMaxVoltage
Detector description interface for Channel-related data.
double GetOrientationZenith() const
Get zenith-direction of Antenna for this Channel.
Interface for detector managers.
const utl::TabulatedFunction & GetCalibrationFunction() const
Get a TabulatedFunction with calibration factors for the frequency bins of the Channel, not yet implemented.
Interface to access antenna characteristics.
Channel(const int stationId, const int ChannelId)
utl::Validated< std::string > fChannelType
utl::Validated< double > fDesignLowerFreq
virtual Status GetData(double &returnData, const std::string &componentProperty, const std::string &componentName, const IndexMap &componentIndex) const =0
const std::string & GetChannelType() const
Get description of Channel Type.
double GetMinVoltage() const
Get voltage corresponding to 0 counts.
utl::Validated< std::string > fAntennaTypeName
utl::Validated< utl::ResponseMap > fResponseMap
const utl::ResponseMap & GetResponseMap() const
Get the ResponseMap of the Channel.
utl::Validated< double > fDesignImpedance
A helper class which manages a list of system response identifiers (std::strings) and their correspon...
void NotFoundAndExit(const std::string &msg) const
double GetIntegratedVerticalGain() const
Get IntegratedVerticalGain of Antenna-Type.
int GetOkFlag() const
Channel Ok flag (1 if the currently cached data are up to date, 0 if currently cached data are obsole...
utl::Validated< utl::Point > fPosition
std::string fStationIdString
utl::Validated< std::string > fADCType
utl::Validated< double > fDesignUpperFreq
utl::Validated< int > fChannelOk
utl::Validated< double > fOrientationZeta
std::map< std::string, std::string > IndexMap
const std::string & GetAntennaTypeName() const
Get description of Antenna-Type.
const std::string & GetADCType() const
Get description of ADC-Type.
void SetValid(const bool valid=true)
Channel & operator=(const Channel &)
double GetSamplingFrequency() const
Get sampling Frequency of ADC (unit?)
utl::Validated< double > fIntegratedVerticalGain
std::pair< std::complex< double >, std::complex< double > > GetElectricFieldResponse(const double theta, const double phi, const double freq, std::string interpolationMode) const
double GetIntegratedEffectiveAntennaHeight(const double freq) const
std::string fChannelIdString
utl::Validated< double > fMinVoltage
double GetOrientationAzimuth() const
Get azimuth-direction of Antenna for this Channel.
Status
Specifies success or (eventually) various possible failure modes.