Class that holds the data associated to an individual radio channel. More...
#include <revt/Channel.h>
Public Member Functions | |
ChannelADCTimeSeries & | GetChannelADCTimeSeries () |
Get Channel ADC trace (write access, only use this if you intend to change the data) More... | |
const ChannelADCTimeSeries & | GetChannelADCTimeSeries () const |
Get const Channel ADC trace (read only) More... | |
ChannelFrequencySpectrum & | GetChannelFrequencySpectrum () |
retrieve Channel Frequency Spectrum (write access, only use this if you intend to change the data) More... | |
const ChannelFrequencySpectrum & | GetChannelFrequencySpectrum () const |
retrieve Channel Frequency Spectrum (read access) More... | |
ChannelTimeSeries & | GetChannelTimeSeries () |
retrieve Channel Time Series (write access, only use this if you intend to change the data) More... | |
const ChannelTimeSeries & | GetChannelTimeSeries () const |
retrieve Channel Time Series (read access) More... | |
ChannelFFTDataContainer & | GetFFTDataContainer () |
retrieve Channel FFTDataContainer (write access) More... | |
const ChannelFFTDataContainer & | GetFFTDataContainer () const |
retrieve Channel FFTDataContainer (read access) More... | |
double | GetFrequencyOfBin (const ChannelFrequencySpectrum::SizeType bin) const |
Get the frequency corresponding to a bin of the frequency spectrum. More... | |
int | GetId () const |
Return Id of the Channel. More... | |
double | GetMaximumFrequency () const |
Get the maximum frequency of the spectrum frequency spectrum. More... | |
double | GetMinimumFrequency () const |
Get the mimimum frequency of the spectrum frequency spectrum. More... | |
unsigned int | GetNoiseThreshold () const |
From DAQ. More... | |
unsigned int | GetNyquistZone () const |
Get the Nyquist zone. More... | |
unsigned int | GetParity () const |
Get parity of the Channel. More... | |
ChannelRecData & | GetRecData () |
Get channel level reconstructed data. More... | |
const ChannelRecData & | GetRecData () const |
double | GetScintHighVoltage () const |
unsigned int | GetSignalThreshold () const |
From DAQ. More... | |
int | GetStationId () const |
Return Id of the station to which this Channel belongs. More... | |
bool | HasRecData () const |
Check whether channel reconstructed data exists. More... | |
bool | IsActive () const |
bool | IsSaturated () const |
void | MakeRecData () |
Make channel reconstructed data object. More... | |
void | SetActive () |
Active means that it is used in reconstruction. By default this is true after read-in, but can be deactivated later. More... | |
void | SetNoiseThreshold (const unsigned int thresh) |
From DAQ. More... | |
void | SetNotActive () |
void | SetNotSaturated () |
void | SetNyquistZone (const unsigned int zone) |
Set the Nyquist zone. More... | |
void | SetParity (const unsigned int parity) |
Set parity of the Channel. More... | |
void | SetSaturated () |
void | SetScintHighVoltage (const double scinthv) |
From DAQ. More... | |
void | SetSignalThreshold (const unsigned int thresh) |
Private Member Functions | |
Channel (const int stationId, const int id) | |
Private Attributes | |
ChannelADCTimeSeries | fChannelADCTrace |
ChannelFFTDataContainer | fFFTDataContainer |
int | fId = 0 |
bool | fIsActive = true |
bool | fIsSaturated = false |
unsigned int | fNoiseThreshold = 0 |
unsigned int | fParity = 0 |
utl::ShadowPtr< ChannelRecData > | fRecData |
double | fScintHighVoltage = 0 |
unsigned int | fSignalThreshold = 0 |
int | fStationId = 0 |
Friends | |
class | revt::Station |
Class that holds the data associated to an individual radio channel.
Definition at line 27 of file REvent/Channel.h.
|
inlineprivate |
Definition at line 104 of file REvent/Channel.h.
|
inline |
Get Channel ADC trace (write access, only use this if you intend to change the data)
Definition at line 68 of file REvent/Channel.h.
References GetChannelADCTimeSeries(), and OFFLINE_CAST_CONST_METHOD.
Referenced by GetChannelADCTimeSeries(), RdSimulationRadioTrigger::RdSimulationRadioTrigger::GetTraceWithoutDCOffset(), io::revtChannel_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), io::RadioFileAERAroot::Read(), and RdVirtualStationNoiseImporter::RdVirtualStationNoiseImporter::Run().
|
inline |
Get const Channel ADC trace (read only)
Definition at line 70 of file REvent/Channel.h.
References fChannelADCTrace.
|
inline |
retrieve Channel Frequency Spectrum (write access, only use this if you intend to change the data)
Definition at line 58 of file REvent/Channel.h.
References fFFTDataContainer, and utl::FFTDataContainer< C, T, F >::GetFrequencySpectrum().
Referenced by RdChannelAmplitudeCalibrator::RdChannelAmplitudeCalibrator::ApplyResponse(), RdChannelResponseIncorporator::RdChannelResponseIncorporator::ApplyResponse(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::Run(), RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), RdChannelBeaconSuppressor::RdChannelBeaconSuppressor::Run(), RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run(), RdChannelSpectrumAverager::RdChannelSpectrumAverager::Run(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::Run(), CalcBeaconRefPhase::CalcBeaconRefPhase::Run(), RdGalacticDatasetMaker::RdGalacticDatasetMaker::Run(), RdChannelBeaconSignalExtractor::RdChannelBeaconSignalExtractor::Run(), and RdChannelNoiseGenerator::RdChannelNoiseGenerator::Run().
|
inline |
retrieve Channel Frequency Spectrum (read access)
Definition at line 60 of file REvent/Channel.h.
References fFFTDataContainer.
|
inline |
retrieve Channel Time Series (write access, only use this if you intend to change the data)
Definition at line 53 of file REvent/Channel.h.
References fFFTDataContainer, and utl::FFTDataContainer< C, T, F >::GetTimeSeries().
Referenced by RdPreWaveFitter::RdPreWaveFitter::ComputeRMS(), RdPreWaveFitter::RdPreWaveFitter::ComputeSignalPosition(), RdChannelNoisePulseCounter::RdChannelNoisePulseCounter::FindPulse(), RdADCTraceFixer::RdADCTraceFixer::Run(), RdScintSignalReconstructor::RdScintSignalReconstructor::Run(), RdChannelRiseTimeCalculator::RdChannelRiseTimeCalculator::Run(), RdDummyStationToChannelConverter::RdDummyStationToChannelConverter::Run(), RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run(), RdChannelNoiseASCIIImporter::RdChannelNoiseASCIIImporter::Run(), RdChannelNoiseGenerator::RdChannelNoiseGenerator::Run(), and RdTimeCalibration::RdTimeCalibration::Run().
|
inline |
retrieve Channel Time Series (read access)
Definition at line 55 of file REvent/Channel.h.
References fFFTDataContainer.
|
inline |
retrieve Channel FFTDataContainer (write access)
Definition at line 63 of file REvent/Channel.h.
References GetFFTDataContainer(), and OFFLINE_CAST_CONST_METHOD.
Referenced by RdPreWaveFitter::RdPreWaveFitter::ComputeSignalPosition(), RdChannelBandstopFilter::RdChannelBandstopFilter::CutNoiseFrequencies(), GetFFTDataContainer(), RdChannelBeaconSignalExtractor::RdChannelBeaconSignalExtractor::matchStationTimeStamps(), RdTimeCalibration::RdTimeCalibration::MatchStationTimeStamps(), CalcBeaconRefPhase::CalcBeaconRefPhase::matchStationTimeStamps(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::matchStationTimeStamps(), io::revtChannel_ROOT::operator>>(), RdADCTraceFixer::RdADCTraceFixer::Run(), RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), and RdChannelNoiseGenerator::RdChannelNoiseGenerator::Run().
|
inline |
retrieve Channel FFTDataContainer (read access)
Definition at line 65 of file REvent/Channel.h.
References fFFTDataContainer.
|
inline |
Get the frequency corresponding to a bin of the frequency spectrum.
Definition at line 42 of file REvent/Channel.h.
References fFFTDataContainer.
Referenced by RdChannelAmplitudeCalibrator::RdChannelAmplitudeCalibrator::ApplyResponse(), RdChannelResponseIncorporator::RdChannelResponseIncorporator::ApplyResponse(), RdStationNoiseAnalyser::ConvertChannelToStation(), GetMaximumFrequency(), GetMinimumFrequency(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::Run(), RdChannelBeaconSuppressor::RdChannelBeaconSuppressor::Run(), RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::Run(), CalcBeaconRefPhase::CalcBeaconRefPhase::Run(), RdGalacticDatasetMaker::RdGalacticDatasetMaker::Run(), RdChannelBeaconSignalExtractor::RdChannelBeaconSignalExtractor::Run(), and RdChannelNoiseGenerator::RdChannelNoiseGenerator::Run().
|
inline |
Return Id of the Channel.
Definition at line 31 of file REvent/Channel.h.
References fId.
Referenced by RdStationNoiseAnalyser::ConvertChannelToStation(), RdChannelBandstopFilter::RdChannelBandstopFilter::CutNoiseFrequencies(), rdet::Station::GetChannel(), io::revtChannel_ROOT::operator>>(), io::RadioFileAERAroot::Read(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::Run(), RdScintSignalReconstructor::RdScintSignalReconstructor::Run(), RdChannelBeaconSuppressor::RdChannelBeaconSuppressor::Run(), RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), RdDummyStationToChannelConverter::RdDummyStationToChannelConverter::Run(), RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run(), RdChannelSpectrumAverager::RdChannelSpectrumAverager::Run(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::Run(), RdChannelNoiseASCIIExporter::RdChannelNoiseASCIIExporter::Run(), RdChannelNoiseASCIIImporter::RdChannelNoiseASCIIImporter::Run(), RdChannelAmplitudeCalibrator::RdChannelAmplitudeCalibrator::Run(), CalcBeaconRefPhase::CalcBeaconRefPhase::Run(), RdVirtualStationNoiseImporter::RdVirtualStationNoiseImporter::Run(), RdChannelNoiseImporter_AERA::RdChannelNoiseImporter_AERA::Run(), RdGalacticDatasetMaker::RdGalacticDatasetMaker::Run(), RdStationSignalReconstructor::RdStationSignalReconstructor::Run(), RdChannelBeaconSignalExtractor::RdChannelBeaconSignalExtractor::Run(), RdChannelNoiseGenerator::RdChannelNoiseGenerator::Run(), RdStationSignalReconstructorWithBgSubtraction::RdStationSignalReconstructorWithBgSubtraction::Run(), and RdTimeCalibration::RdTimeCalibration::Run().
|
inline |
Get the maximum frequency of the spectrum frequency spectrum.
Definition at line 49 of file REvent/Channel.h.
References fFFTDataContainer, GetFrequencyOfBin(), and max.
|
inline |
Get the mimimum frequency of the spectrum frequency spectrum.
Definition at line 45 of file REvent/Channel.h.
References fFFTDataContainer, and GetFrequencyOfBin().
|
inline |
|
inline |
Get the Nyquist zone.
Definition at line 37 of file REvent/Channel.h.
References fFFTDataContainer, and utl::FFTDataContainer< C, T, F >::GetNyquistZone().
Referenced by RdStationNoiseAnalyser::ConvertChannelToStation(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::Run(), and RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run().
|
inline |
|
inline |
Get channel level reconstructed data.
Definition at line 90 of file REvent/Channel.h.
References fRecData.
Referenced by io::revtChannel_ROOT::operator>>(), RdScintSignalReconstructor::RdScintSignalReconstructor::Run(), and RdChannelRiseTimeCalculator::RdChannelRiseTimeCalculator::Run().
|
inline |
Definition at line 91 of file REvent/Channel.h.
References fRecData.
|
inline |
Definition at line 87 of file REvent/Channel.h.
References fScintHighVoltage.
|
inline |
|
inline |
Return Id of the station to which this Channel belongs.
Definition at line 34 of file REvent/Channel.h.
References fStationId.
Referenced by RdStationNoiseAnalyser::ConvertChannelToStation(), io::revtChannel_ROOT::operator>>(), RdAntennaChannelToStationConverter::RdAntennaChannelToStationConverter::Run(), RdChannelBeaconSuppressor::RdChannelBeaconSuppressor::Run(), RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run(), RdChannelSpectrumAverager::RdChannelSpectrumAverager::Run(), RdChannelBeaconTimingCalibrator::RdChannelBeaconTimingCalibrator::Run(), CalcBeaconRefPhase::CalcBeaconRefPhase::Run(), and RdChannelBeaconSignalExtractor::RdChannelBeaconSignalExtractor::Run().
|
inline |
Check whether channel reconstructed data exists.
Definition at line 96 of file REvent/Channel.h.
References fRecData.
Referenced by RdScintSignalReconstructor::RdScintSignalReconstructor::Run(), and RdChannelRiseTimeCalculator::RdChannelRiseTimeCalculator::Run().
|
inline |
Definition at line 79 of file REvent/Channel.h.
References fIsActive.
Referenced by RdChannelBeaconSimulator::RdChannelBeaconSimulator::Run(), RdChannelBeaconSuppressor::RdChannelBeaconSuppressor::Run(), RdChannelRiseTimeCalculator::RdChannelRiseTimeCalculator::Run(), RdDummyChannelToStationConverter::RdDummyChannelToStationConverter::Run(), RdChannelAmplitudeCalibrator::RdChannelAmplitudeCalibrator::Run(), RdVirtualStationNoiseImporter::RdVirtualStationNoiseImporter::Run(), RdChannelNoiseImporter_AERA::RdChannelNoiseImporter_AERA::Run(), and RdGalacticDatasetMaker::RdGalacticDatasetMaker::Run().
|
inline |
Definition at line 74 of file REvent/Channel.h.
References fIsSaturated.
void Channel::MakeRecData | ( | ) |
Make channel reconstructed data object.
Definition at line 10 of file REvent/Channel.cc.
References ERROR, and fRecData.
Referenced by io::revtChannel_ROOT::operator>>(), RdScintSignalReconstructor::RdScintSignalReconstructor::Run(), and RdChannelRiseTimeCalculator::RdChannelRiseTimeCalculator::Run().
|
inline |
Active means that it is used in reconstruction. By default this is true after read-in, but can be deactivated later.
Definition at line 77 of file REvent/Channel.h.
References fIsActive.
Referenced by io::revtChannel_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), and io::RadioFileAERAroot::Read().
|
inline |
From DAQ.
Definition at line 82 of file REvent/Channel.h.
References fNoiseThreshold.
Referenced by io::revtChannel_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), and io::RadioFileAERAroot::Read().
|
inline |
Definition at line 78 of file REvent/Channel.h.
References fIsActive.
Referenced by io::revtChannel_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), io::RadioFileAERAroot::Read(), and RdChannelNoiseASCIIImporter::RdChannelNoiseASCIIImporter::Run().
|
inline |
Definition at line 73 of file REvent/Channel.h.
References fIsSaturated.
Referenced by io::revtChannel_ROOT::operator>>().
|
inline |
Set the Nyquist zone.
Definition at line 39 of file REvent/Channel.h.
References fFFTDataContainer, and utl::FFTDataContainer< C, T, F >::SetNyquistZone().
Referenced by io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), io::RadioFileAERAroot::Read(), and RdDummyStationToChannelConverter::RdDummyStationToChannelConverter::Run().
|
inline |
Definition at line 101 of file REvent/Channel.h.
References fParity.
Referenced by io::revtChannel_ROOT::operator>>().
|
inline |
Definition at line 72 of file REvent/Channel.h.
References fIsSaturated.
Referenced by io::revtChannel_ROOT::operator>>().
|
inline |
From DAQ.
Definition at line 86 of file REvent/Channel.h.
References fScintHighVoltage.
Referenced by io::revtChannel_ROOT::operator>>(), and io::RadioFileAERAroot::Read().
|
inline |
Definition at line 81 of file REvent/Channel.h.
References fSignalThreshold.
Referenced by io::revtChannel_ROOT::operator>>(), io::RadioFileAERA::Read(), io::IoAugerEventFile::Read(), and io::RadioFileAERAroot::Read().
|
friend |
Definition at line 118 of file REvent/Channel.h.
|
private |
Definition at line 113 of file REvent/Channel.h.
Referenced by GetChannelADCTimeSeries().
|
private |
Definition at line 116 of file REvent/Channel.h.
Referenced by GetChannelFrequencySpectrum(), GetChannelTimeSeries(), GetFFTDataContainer(), GetFrequencyOfBin(), GetMaximumFrequency(), GetMinimumFrequency(), GetNyquistZone(), and SetNyquistZone().
|
private |
Definition at line 107 of file REvent/Channel.h.
Referenced by GetId().
|
private |
Definition at line 109 of file REvent/Channel.h.
Referenced by IsActive(), SetActive(), and SetNotActive().
|
private |
Definition at line 108 of file REvent/Channel.h.
Referenced by IsSaturated(), SetNotSaturated(), and SetSaturated().
|
private |
Definition at line 111 of file REvent/Channel.h.
Referenced by GetNoiseThreshold(), and SetNoiseThreshold().
|
private |
Definition at line 114 of file REvent/Channel.h.
Referenced by GetParity(), and SetParity().
|
private |
Definition at line 115 of file REvent/Channel.h.
Referenced by GetRecData(), HasRecData(), and MakeRecData().
|
private |
Definition at line 112 of file REvent/Channel.h.
Referenced by GetScintHighVoltage(), and SetScintHighVoltage().
|
private |
Definition at line 110 of file REvent/Channel.h.
Referenced by GetSignalThreshold(), and SetSignalThreshold().
|
private |
Definition at line 106 of file REvent/Channel.h.
Referenced by GetStationId().