#include <SignalShapingServiceDUNE10kt.h>
Public Member Functions | |
SignalShapingServiceDUNE10kt (const fhicl::ParameterSet &pset, art::ActivityRegistry ®) | |
~SignalShapingServiceDUNE10kt () | |
void | reconfigure (const fhicl::ParameterSet &pset) |
std::vector< DoubleVec > | GetNoiseFactVec () |
double | GetASICGain (unsigned int const channel) const |
double | GetShapingTime (unsigned int const channel) const |
double | GetRawNoise (unsigned int const channel) const |
double | GetDeconNoise (unsigned int const channel) const |
int | FieldResponseTOffset (detinfo::DetectorClocksData const &clockData, unsigned int const channel) const |
const util::SignalShaping & | SignalShaping (unsigned int channel) const |
template<class T > | |
void | Convolute (detinfo::DetectorClocksData const &clockData, unsigned int channel, std::vector< T > &func) const |
template<class T > | |
void | Deconvolute (detinfo::DetectorClocksData const &clockData, unsigned int channel, std::vector< T > &func) const |
double | GetDeconNorm () |
Private Member Functions | |
void | init () const |
void | init () |
void | SetFieldResponse (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp) |
void | SetElectResponse (double shapingtime, double gain) |
void | SetFilters (detinfo::DetectorClocksData const &clockData) |
void | SetResponseSampling (detinfo::DetectorClocksData const &clockData) |
Private Attributes | |
bool | fInit |
Initialization flag. More... | |
int | fNFieldBins |
number of bins for field response More... | |
double | fCol3DCorrection |
double | fInd3DCorrection |
double | fColFieldRespAmp |
amplitude of response to field More... | |
double | fIndUFieldRespAmp |
amplitude of response to field More... | |
double | fIndVFieldRespAmp |
amplitude of response to field More... | |
std::vector< double > | fFieldResponseTOffset |
Time offset for field response in ns. More... | |
std::vector< double > | fCalibResponseTOffset |
double | fInputFieldRespSamplingPeriod |
Sampling period in the input field response. More... | |
double | fDeconNorm |
double | fADCPerPCAtLowestASICGain |
Pulse amplitude gain for a 1 pc charge impulse after convoluting it the with field and electronics response with the lowest ASIC gain setting of 4.7 mV/fC. More... | |
std::vector< DoubleVec > | fNoiseFactVec |
std::vector< double > | fASICGainInMVPerFC |
std::vector< double > | fShapeTimeConst |
time constants for exponential shaping More... | |
TF1 * | fColFilterFunc |
Parameterized collection filter function. More... | |
TF1 * | fIndUFilterFunc |
Parameterized induction filter function. More... | |
TF1 * | fIndVFilterFunc |
Parameterized induction filter function. More... | |
bool | fUseFunctionFieldShape |
Flag that allows to use a parameterized field response instead of the hardcoded version. More... | |
bool | fUseHistogramFieldShape |
Flag that turns on field response shapes from histograms. More... | |
bool | fGetFilterFromHisto |
Flag that allows to use a filter function from a histogram instead of the functional dependency. More... | |
TF1 * | fColFieldFunc |
Parameterized collection field shape function. More... | |
TF1 * | fIndUFieldFunc |
Parameterized induction field shape function. More... | |
TF1 * | fIndVFieldFunc |
Parameterized induction field shape function. More... | |
TH1F * | fFieldResponseHist [3] |
Histogram used to hold the field response, hardcoded for the time being. More... | |
TH1D * | fFilterHist [3] |
Histogram used to hold the collection filter, hardcoded for the time being. More... | |
util::SignalShaping | fColSignalShaping |
util::SignalShaping | fIndUSignalShaping |
util::SignalShaping | fIndVSignalShaping |
std::vector< double > | fColFieldResponse |
std::vector< double > | fIndUFieldResponse |
std::vector< double > | fIndVFieldResponse |
std::vector< double > | fElectResponse |
std::vector< TComplex > | fColFilter |
std::vector< TComplex > | fIndUFilter |
std::vector< TComplex > | fIndVFilter |
Definition at line 47 of file SignalShapingServiceDUNE10kt.h.
util::SignalShapingServiceDUNE10kt::SignalShapingServiceDUNE10kt | ( | const fhicl::ParameterSet & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 21 of file SignalShapingServiceDUNE10kt_service.cc.
util::SignalShapingServiceDUNE10kt::~SignalShapingServiceDUNE10kt | ( | ) |
Definition at line 33 of file SignalShapingServiceDUNE10kt_service.cc.
|
inline |
Definition at line 175 of file SignalShapingServiceDUNE10kt.h.
|
inline |
Definition at line 198 of file SignalShapingServiceDUNE10kt.h.
int util::SignalShapingServiceDUNE10kt::FieldResponseTOffset | ( | detinfo::DetectorClocksData const & | clockData, |
unsigned int const | channel | ||
) | const |
Definition at line 754 of file SignalShapingServiceDUNE10kt_service.cc.
double util::SignalShapingServiceDUNE10kt::GetASICGain | ( | unsigned int const | channel | ) | const |
Definition at line 213 of file SignalShapingServiceDUNE10kt_service.cc.
double util::SignalShapingServiceDUNE10kt::GetDeconNoise | ( | unsigned int const | channel | ) | const |
Definition at line 298 of file SignalShapingServiceDUNE10kt_service.cc.
|
inline |
Definition at line 83 of file SignalShapingServiceDUNE10kt.h.
|
inline |
Definition at line 61 of file SignalShapingServiceDUNE10kt.h.
double util::SignalShapingServiceDUNE10kt::GetRawNoise | ( | unsigned int const | channel | ) | const |
Definition at line 258 of file SignalShapingServiceDUNE10kt_service.cc.
double util::SignalShapingServiceDUNE10kt::GetShapingTime | ( | unsigned int const | channel | ) | const |
Definition at line 236 of file SignalShapingServiceDUNE10kt_service.cc.
|
inlineprivate |
Definition at line 91 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 340 of file SignalShapingServiceDUNE10kt_service.cc.
void util::SignalShapingServiceDUNE10kt::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 39 of file SignalShapingServiceDUNE10kt_service.cc.
|
private |
Definition at line 526 of file SignalShapingServiceDUNE10kt_service.cc.
|
private |
in cm
number of bins //KP
Definition at line 407 of file SignalShapingServiceDUNE10kt_service.cc.
|
private |
Definition at line 601 of file SignalShapingServiceDUNE10kt_service.cc.
|
private |
VELOCITY-OUT ... comment out kDVel usage here
VELOCITY-OUT ... comment out kDVel usage here
VELOCITY-OUT ... comment out kDVel usage here
Definition at line 668 of file SignalShapingServiceDUNE10kt_service.cc.
const util::SignalShaping & util::SignalShapingServiceDUNE10kt::SignalShaping | ( | unsigned int | channel | ) | const |
Definition at line 184 of file SignalShapingServiceDUNE10kt_service.cc.
|
private |
Pulse amplitude gain for a 1 pc charge impulse after convoluting it the with field and electronics response with the lowest ASIC gain setting of 4.7 mV/fC.
Definition at line 130 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 133 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 126 of file SignalShapingServiceDUNE10kt.h.
|
private |
correction factor to account for 3D path of electrons thru wires
Definition at line 117 of file SignalShapingServiceDUNE10kt.h.
|
private |
Parameterized collection field shape function.
Definition at line 143 of file SignalShapingServiceDUNE10kt.h.
|
private |
amplitude of response to field
Definition at line 121 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 158 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 168 of file SignalShapingServiceDUNE10kt.h.
|
private |
Parameterized collection filter function.
Definition at line 136 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 152 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 129 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 164 of file SignalShapingServiceDUNE10kt.h.
|
private |
Histogram used to hold the field response, hardcoded for the time being.
Definition at line 147 of file SignalShapingServiceDUNE10kt.h.
|
private |
Time offset for field response in ns.
Definition at line 125 of file SignalShapingServiceDUNE10kt.h.
|
private |
Histogram used to hold the collection filter, hardcoded for the time being.
Definition at line 148 of file SignalShapingServiceDUNE10kt.h.
|
private |
Flag that allows to use a filter function from a histogram instead of the functional dependency.
Definition at line 142 of file SignalShapingServiceDUNE10kt.h.
|
private |
correction factor to account for 3D path of electrons thru wires
Definition at line 119 of file SignalShapingServiceDUNE10kt.h.
|
private |
Parameterized induction field shape function.
Definition at line 144 of file SignalShapingServiceDUNE10kt.h.
|
private |
amplitude of response to field
Definition at line 122 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 159 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 169 of file SignalShapingServiceDUNE10kt.h.
|
private |
Parameterized induction filter function.
Definition at line 137 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 153 of file SignalShapingServiceDUNE10kt.h.
|
private |
Parameterized induction field shape function.
Definition at line 145 of file SignalShapingServiceDUNE10kt.h.
|
private |
amplitude of response to field
Definition at line 123 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 160 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 170 of file SignalShapingServiceDUNE10kt.h.
|
private |
Parameterized induction filter function.
Definition at line 138 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 154 of file SignalShapingServiceDUNE10kt.h.
|
private |
Initialization flag.
Definition at line 107 of file SignalShapingServiceDUNE10kt.h.
|
private |
Sampling period in the input field response.
Definition at line 127 of file SignalShapingServiceDUNE10kt.h.
|
private |
number of bins for field response
Definition at line 116 of file SignalShapingServiceDUNE10kt.h.
|
private |
Definition at line 131 of file SignalShapingServiceDUNE10kt.h.
|
private |
time constants for exponential shaping
Definition at line 135 of file SignalShapingServiceDUNE10kt.h.
|
private |
Flag that allows to use a parameterized field response instead of the hardcoded version.
Definition at line 140 of file SignalShapingServiceDUNE10kt.h.
|
private |
Flag that turns on field response shapes from histograms.
Definition at line 141 of file SignalShapingServiceDUNE10kt.h.