#include <RdStationSignalReconstructor.h>
Public Types | |
enum | ResultFlag { eSuccess, eFailure, eBreakLoop, eContinueLoop } |
Flag returned by module methods to the RunController. More... | |
enum | VersionInfoType { eFilename = 1, eRevisionNumber = 2, eDate = 3, eTime = 4, eLastEditor = 5 } |
Different types of version info that can be retrieved from GetVersionInfo. More... | |
Public Member Functions | |
fwk::VModule::ResultFlag | Finish () override |
Finish: invoked at end of the run (NOT end of the event) More... | |
fwk::VModule::ResultFlag | Finish () |
Finish: invoked at end of the run (NOT end of the event) More... | |
utl::Stopwatch & | GetStopwatch () |
const utl::Stopwatch & | GetStopwatch () const |
std::string | GetVersionInfo (const VersionInfoType v) const |
Retrieve different sorts of module version info. More... | |
fwk::VModule::ResultFlag | Init () override |
Initialize: invoked at beginning of run (NOT beginning of event) More... | |
fwk::VModule::ResultFlag | Init () |
Initialize: invoked at beginning of run (NOT beginning of event) More... | |
void | InitTiming () |
RdStationSignalReconstructor () | |
fwk::VModule::ResultFlag | Run (evt::Event &event) override |
Run: invoked once per event. More... | |
fwk::VModule::ResultFlag | Run (evt::Event &event) |
Run: invoked once per event. More... | |
ResultFlag | RunWithTiming (evt::Event &event) |
Static Public Member Functions | |
static std::string | GetResultFlagByName (const ResultFlag flag) |
Protected Types | |
enum | InfoLevel { eInfoNone = 0, eInfoFinal = 1, eInfoIntermediate = 2, eInfoDebug = 3 } |
Private Member Functions | |
ROOT::Minuit2::MnUserParameterState | FitAnalyticSignal (utl::Trace< double > &trace, const double noiseRMS, revt::Station &, const int, const bool fixPhaseSlope, const double phaseSlope) |
double | GetAdjustedSignalAmplitude (const double signalAmpitude, const double SNR) const |
the formula is documented in GAP 2013-059 More... | |
double | GetAdjustedSignalAmplitude (const double signalAmpitude, const double SNR) const |
the formula is documented in GAP 2013-059 More... | |
double | GetAntennaToAntennaUncertainty (const revt::Station &station) const |
Returns the configured uncertainty for a specific antenna type. More... | |
double | GetSignalTimeUncertainty (const double SNR) const |
double | GetSignalTimeUncertainty (const double SNR) const |
double | GetSignalUncertainty (const double signalAmplitude, const double SNR) const |
double | GetSignalUncertainty (const double signalAmplitude, const double SNR) const |
void | Noisefinder (const revt::ChannelTimeSeries &channeltrace, double &RMSNoise, double &MeanNoise, double NoiseWindowStart, double NoiseWindowStop) const |
void | Pulsefinder (const revt::ChannelTimeSeries &channeltrace, double &PeakAmplitude, double &PeakTime, double &PeakTimeError, double SignalSearchWindowStart, double SignalSearchWindowStop, unsigned int &sample) const |
void | PulseFixedWindowIntegrator (const revt::ChannelTimeSeries &channeltrace, unsigned int sample, double IntegrationTime, double &IntegratedSignal, double &SignalWindowStart, double &SignalWindowStop, const bool usePower) const |
void | PulseFWHMIntegrator (const revt::ChannelTimeSeries &channeltrace, unsigned int sample, const double PeakAmplitude, double &SignalFWHM, double &IntegratedSignal, double &SignalWindowStart, double &SignalWindowStop) const |
void | PulseSlidingWindowIntegrator (const revt::ChannelTimeSeries &channeltrace, double IntegrationTime, double &IntegratedSignal, double &SignalWindowStart, double &SignalWindowStop, double SignalSearchWindowStart, double SignalSearchWindowStop) const |
REGISTER_MODULE ("RdStationSignalReconstructor", RdStationSignalReconstructor) | |
REGISTER_MODULE ("RdStationSignalReconstructor", RdStationSignalReconstructor) | |
Definition at line 41 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
protectedinherited |
|
inherited |
Flag returned by module methods to the RunController.
Enumerator | |
---|---|
eSuccess |
Report success to RunController. |
eFailure |
Report failure to RunController, causing RunController to terminate execution. |
eBreakLoop |
Break current loop. It works for nested loops too! |
eContinueLoop |
Skip remaining modules in the current loop and continue with next iteration of the loop. |
|
inherited |
|
inline |
Definition at line 44 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
overridevirtual |
Finish: invoked at end of the run (NOT end of the event)
This method is for things that should be done at the end of the run (for example, closing files or writing out histograms) {You must override this method in your concrete module}
Implements fwk::VModule.
|
virtual |
Finish: invoked at end of the run (NOT end of the event)
This method is for things that should be done at the end of the run (for example, closing files or writing out histograms) {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 849 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References io::eSuccess, and INFO.
|
private |
Definition at line 1038 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::abs(), fftwpp::fftw::fft(), FFTWComplex, FFTWdelete, FFTWdouble, utl::g, utl::Trace< T >::GetBinning(), utl::Trace< T >::GetSize(), INFOIntermediate, utl::MHz, and utl::Trace< T >::PopBack().
|
private |
the formula is documented in GAP 2013-059
|
private |
the formula is documented in GAP 2013-059
Definition at line 912 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References OUT, std::pow(), and sqrt().
|
private |
Returns the configured uncertainty for a specific antenna type.
Definition at line 546 of file RdStationSignalReconstructor/RdStationSignalReconstructor.cc.
|
staticinherited |
Definition at line 8 of file VModule.cc.
References fwk::VModule::eBreakLoop, fwk::VModule::eContinueLoop, fwk::VModule::eFailure, and fwk::VModule::eSuccess.
Referenced by fwk::RunController::DoNextInSequence(), fwk::RunController::FinishBranch(), and fwk::RunController::InitBranch().
|
private |
|
private |
Definition at line 930 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::ns, and std::pow().
|
private |
|
private |
Definition at line 922 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References std::pow(), and sqrt().
|
inlineinherited |
Definition at line 106 of file VModule.h.
References fwk::VModule::fStopwatch.
|
inlineinherited |
Definition at line 107 of file VModule.h.
References fwk::VModule::fStopwatch.
|
inherited |
Retrieve different sorts of module version info.
Definition at line 26 of file VModule.cc.
Referenced by fwk::CentralConfig::GetConfig(), ThresholdCalculatorKG::ThresholdCalculator::Init(), fdDoubleBumpFinder::FdDoubleBumpFinder::Init(), LaserGeneratorNA::LaserGenerator::Init(), LaserLightSimulatorNA::LaserLightSimulator::Init(), FdElectronicsSimulatorOG::FdElectronicsSimulator::Init(), TelescopeSimulatorKG::TelescopeSimulator::Init(), TelescopeSimulatorKG2::TelescopeSimulator::Init(), SdSimpleSimKG::SdSimpleSim::Init(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Init(), and testRunController::testModuleVersionInfo().
|
overridevirtual |
Initialize: invoked at beginning of run (NOT beginning of event)
This method is for things that should be done once at the beginning of a run (for example, booking histograms, performing calculations that need to be done only once, initializing parameters) {You must override this method in your concrete module}
Implements fwk::VModule.
|
virtual |
Initialize: invoked at beginning of run (NOT beginning of event)
This method is for things that should be done once at the beginning of a run (for example, booking histograms, performing calculations that need to be done only once, initializing parameters) {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 72 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References io::eSuccess, utl::Branch::GetChild(), utl::Branch::GetData(), utl::Branch::GetTopBranch(), INFO, and INFODebug.
|
inlineinherited |
Definition at line 95 of file VModule.h.
References fwk::VModule::fStopwatch, and utl::Stopwatch::Reset().
|
private |
Definition at line 873 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::Trace< T >::GetBinning(), and un2::Mean().
|
private |
Definition at line 886 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::Trace< T >::GetBinning(), OUT, and sqrt().
|
private |
Definition at line 967 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::Trace< T >::GetBinning(), utl::Trace< T >::GetSize(), max, and utl::Sqr().
|
private |
Definition at line 938 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::Trace< T >::GetBinning(), and utl::Trace< T >::GetSize().
|
private |
Definition at line 990 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References utl::Trace< T >::GetBinning(), INFOIntermediate, galactic::meter, utl::micro, ns, utl::Sqr(), and galactic::volt.
|
private |
|
private |
|
overridevirtual |
Run: invoked once per event.
This method is for things that should be done once per event {You must override this method in your concrete module}
Implements fwk::VModule.
|
virtual |
Run: invoked once per event.
This method is for things that should be done once per event {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 117 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.cc.
References revt::REvent::CandidateStationsBegin(), revt::REvent::CandidateStationsEnd(), revt::Station::ChannelsBegin(), revt::Station::ChannelsEnd(), fwk::LocalCoordinateSystemConstructor< Policy >::Create(), ERROR, revt::StationTriggerData::eSelf, io::eSuccess, utl::Trace< T >::GetBinning(), revt::Station::GetFFTDataContainer(), revt::Channel::GetId(), revt::Station::GetId(), evt::ShowerRRecData::GetMagneticFieldVector(), revt::StationRecData::GetParameter(), revt::StationRecData::GetParameterError(), revt::Station::GetRecData(), evt::ShowerRRecData::GetReferenceAxis(), evt::ShowerRRecData::GetReferenceCorePosition(), evt::ShowerRecData::GetRRecShower(), utl::Trace< T >::GetSize(), utl::FFTDataContainer< C, T, F >::GetTimeSeries(), utl::RadioGeometryUtilities::GetTraceInShowerPlaneVxB(), revt::Station::GetTriggerData(), revt::StationTriggerData::GetTriggerSource(), revt::StationRecData::HasParameter(), revt::Station::HasRecData(), evt::Event::HasRecShower(), evt::ShowerRRecData::HasReferenceAxis(), evt::ShowerRRecData::HasReferenceCorePosition(), evt::Event::HasREvent(), evt::ShowerRecData::HasRRecShower(), INFO, INFODebug, INFOFinal, INFOIntermediate, utl::kConversionRadioSignalToEnergyFluence, evt::Event::MakeRecShower(), evt::ShowerRecData::MakeRRecShower(), max, SdAreaSelectorWG::next(), OUT, std::pow(), utl::Trace< T >::PushBack(), utl::Trace< T >::SetBinning(), revt::Station::SetNoSignal(), revt::StationRecData::SetParameter(), evt::ShowerRRecData::SetParameter(), revt::StationRecData::SetParameterError(), revt::StationRecData::SetPulseFound(), revt::Station::SetSignal(), utl::Sqr(), sqrt(), and WARNING.
|
inlineinherited |
Definition at line 98 of file VModule.h.
References fwk::VModule::fStopwatch, fwk::VModule::Run(), utl::Stopwatch::Start(), and utl::Stopwatch::Stop().
Referenced by fwk::RunController::DoNextInSequence().
|
private |
Definition at line 61 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 71 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 44 of file RdStationSignalReconstructor/RdStationSignalReconstructor.h.
|
private |
Definition at line 68 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 67 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 66 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 82 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 81 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 52 of file RdStationSignalReconstructor/RdStationSignalReconstructor.h.
|
private |
Definition at line 63 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 64 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 57 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 55 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 74 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 75 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 76 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 77 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 79 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 78 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 54 of file RdStationSignalReconstructor/RdStationSignalReconstructor.h.
|
private |
Definition at line 59 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 65 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 48 of file RdStationSignalReconstructor/RdStationSignalReconstructor.h.
|
private |
Definition at line 70 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 56 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 53 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 58 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 73 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 52 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.
|
private |
Definition at line 51 of file Deprecated/RdStationSignalReconstructorLegacy/RdStationSignalReconstructor.h.