78 #ifndef SignalShapingICARUSService_H
79 #define SignalShapingICARUSService_H
83 #include "fhiclcpp/ParameterSet.h"
84 #include "art/Framework/Services/Registry/ActivityRegistry.h"
85 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
86 #include "art/Framework/Services/Registry/ServiceHandle.h"
94 namespace icarusutil {
102 art::ActivityRegistry& reg);
110 double GetASICGain(
unsigned int const channel)
const;
113 double GetRawNoise(
unsigned int const channel)
const;
120 void SetDecon(
double samplingRate,
size_t fftsize,
size_t channel);
std::vector< double > DoubleVec
double GetASICGain(unsigned int const channel) const
double GetRawNoise(unsigned int const channel) const
SignalShapingICARUSService(const fhicl::ParameterSet &pset, art::ActivityRegistry ®)
double GetShapingTime(unsigned int const planeIdx) const
This is the interface class for a tool to handle the field response It is assumed that the field resp...
DoubleVec2 fNoiseFactVec
RMS noise in ADCs for lowest gain setting.
size_t fPlaneForNormalization
Normalize responses to this plane.
std::vector< DoubleVec > DoubleVec2
size_t fInitialFFTSize
Size we initially initalize the responses.
std::map< size_t, ResponseVec > PlaneToResponseMap
DoubleVec2 GetNoiseFactVec()
double GetDeconNoise(unsigned int const channel) const
void reconfigure(const fhicl::ParameterSet &pset)
bool fInit
Initialization flag.
std::vector< IResponsePtr > ResponseVec
PlaneToResponseMap fPlaneToResponseMap
double fDeconNorm
Final normalization to apply.
const icarus_tool::IResponse & GetResponse(size_t channel) const
int ResponseTOffset(unsigned int const channel) const
void SetDecon(double samplingRate, size_t fftsize, size_t channel)
std::unique_ptr< icarus_tool::IResponse > IResponsePtr