1 #ifndef _RdChannelResponseIncorporator_RdChannelResponseIncorporator_h_
2 #define _RdChannelResponseIncorporator_RdChannelResponseIncorporator_h_
4 #include <fwk/VModule.h>
5 #include <boost/tuple/tuple.hpp>
14 class TabulatedFunctionComplexLgAmpPhase;
39 typedef boost::tuple<utl::ResponseMap, utl::TabulatedFunctionComplexLgAmpPhase, long>
CacheRecord;
62 bool inverse,
double lowerfreq,
double upperfreq)
const;
double fRelativeGaussianUcertainty
double fForwardLowerFrequency
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
bool fInverseBandLimitsOverride
bool fForwardBandLimitsOverride
const utl::TabulatedFunctionComplexLgAmpPhase & GetCachedOverallResponse(const utl::ResponseMap &responsemap) const
This module accumulates and applies the total detector response for each Channel of the Event...
Class to hold collection (x,y) points and provide interpolation between them, where y are complex num...
Wraps the random number engine used to generate distributions.
utl::TabulatedFunctionComplexLgAmpPhase CalculateOverallResponse(const utl::ResponseMap &responsemap) const
void ApplyResponse(revt::Channel &channel, const utl::TabulatedFunctionComplexLgAmpPhase &response, bool inverse, double lowerfreq, double upperfreq) const
A helper class which manages a list of system response identifiers (std::strings) and their correspon...
std::vector< CacheRecord > fCacheRegistry
unsigned int fNumResponsesToCache
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
utl::RandomEngine * fRandomEngine
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
boost::tuple< utl::ResponseMap, utl::TabulatedFunctionComplexLgAmpPhase, long > CacheRecord
bool fSmearChannelTraceToMimicInaccurateHardwareDescription
Class that holds the data associated to an individual radio channel.
double fForwardUpperFrequency
bool fForwardResponseOnFirstCall
double fInverseLowerFrequency
REGISTER_MODULE("RdChannelResponseIncorporator", RdChannelResponseIncorporator)
double fInverseUpperFrequency