#include <SignalShapingServiceDUNE34kt.h>
Public Member Functions | |
SignalShapingServiceDUNE34kt (const fhicl::ParameterSet &pset, art::ActivityRegistry ®) | |
~SignalShapingServiceDUNE34kt () | |
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 48 of file SignalShapingServiceDUNE34kt.h.
util::SignalShapingServiceDUNE34kt::SignalShapingServiceDUNE34kt | ( | const fhicl::ParameterSet & | pset, |
art::ActivityRegistry & | reg | ||
) |
Definition at line 21 of file SignalShapingServiceDUNE34kt_service.cc.
util::SignalShapingServiceDUNE34kt::~SignalShapingServiceDUNE34kt | ( | ) |
Definition at line 31 of file SignalShapingServiceDUNE34kt_service.cc.
|
inline |
Definition at line 178 of file SignalShapingServiceDUNE34kt.h.
|
inline |
Definition at line 201 of file SignalShapingServiceDUNE34kt.h.
int util::SignalShapingServiceDUNE34kt::FieldResponseTOffset | ( | detinfo::DetectorClocksData const & | clockData, |
unsigned int const | channel | ||
) | const |
Definition at line 750 of file SignalShapingServiceDUNE34kt_service.cc.
double util::SignalShapingServiceDUNE34kt::GetASICGain | ( | unsigned int const | channel | ) | const |
Definition at line 210 of file SignalShapingServiceDUNE34kt_service.cc.
double util::SignalShapingServiceDUNE34kt::GetDeconNoise | ( | unsigned int const | channel | ) | const |
Definition at line 295 of file SignalShapingServiceDUNE34kt_service.cc.
|
inline |
Definition at line 85 of file SignalShapingServiceDUNE34kt.h.
|
inline |
Definition at line 61 of file SignalShapingServiceDUNE34kt.h.
double util::SignalShapingServiceDUNE34kt::GetRawNoise | ( | unsigned int const | channel | ) | const |
Definition at line 255 of file SignalShapingServiceDUNE34kt_service.cc.
double util::SignalShapingServiceDUNE34kt::GetShapingTime | ( | unsigned int const | channel | ) | const |
Definition at line 233 of file SignalShapingServiceDUNE34kt_service.cc.
|
inlineprivate |
Definition at line 93 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 336 of file SignalShapingServiceDUNE34kt_service.cc.
void util::SignalShapingServiceDUNE34kt::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 37 of file SignalShapingServiceDUNE34kt_service.cc.
|
private |
Definition at line 522 of file SignalShapingServiceDUNE34kt_service.cc.
|
private |
in cm
number of bins //KP
Definition at line 401 of file SignalShapingServiceDUNE34kt_service.cc.
|
private |
Definition at line 595 of file SignalShapingServiceDUNE34kt_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 664 of file SignalShapingServiceDUNE34kt_service.cc.
const util::SignalShaping & util::SignalShapingServiceDUNE34kt::SignalShaping | ( | unsigned int | channel | ) | const |
Definition at line 181 of file SignalShapingServiceDUNE34kt_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 132 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 135 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 128 of file SignalShapingServiceDUNE34kt.h.
|
private |
correction factor to account for 3D path of electrons thru wires
Definition at line 119 of file SignalShapingServiceDUNE34kt.h.
|
private |
Parameterized collection field shape function.
Definition at line 146 of file SignalShapingServiceDUNE34kt.h.
|
private |
amplitude of response to field
Definition at line 123 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 161 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 171 of file SignalShapingServiceDUNE34kt.h.
|
private |
Parameterized collection filter function.
Definition at line 138 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 155 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 131 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 167 of file SignalShapingServiceDUNE34kt.h.
|
private |
Histogram used to hold the field response, hardcoded for the time being.
Definition at line 150 of file SignalShapingServiceDUNE34kt.h.
|
private |
Time offset for field response in ns.
Definition at line 127 of file SignalShapingServiceDUNE34kt.h.
|
private |
Histogram used to hold the collection filter, hardcoded for the time being.
Definition at line 151 of file SignalShapingServiceDUNE34kt.h.
|
private |
Flag that allows to use a filter function from a histogram instead of the functional dependency.
Definition at line 145 of file SignalShapingServiceDUNE34kt.h.
|
private |
correction factor to account for 3D path of electrons thru wires
Definition at line 121 of file SignalShapingServiceDUNE34kt.h.
|
private |
Parameterized induction field shape function.
Definition at line 147 of file SignalShapingServiceDUNE34kt.h.
|
private |
amplitude of response to field
Definition at line 124 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 162 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 172 of file SignalShapingServiceDUNE34kt.h.
|
private |
Parameterized induction filter function.
Definition at line 139 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 156 of file SignalShapingServiceDUNE34kt.h.
|
private |
Parameterized induction field shape function.
Definition at line 148 of file SignalShapingServiceDUNE34kt.h.
|
private |
amplitude of response to field
Definition at line 125 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 163 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 173 of file SignalShapingServiceDUNE34kt.h.
|
private |
Parameterized induction filter function.
Definition at line 140 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 157 of file SignalShapingServiceDUNE34kt.h.
|
private |
Initialization flag.
Definition at line 109 of file SignalShapingServiceDUNE34kt.h.
|
private |
Sampling period in the input field response.
Definition at line 129 of file SignalShapingServiceDUNE34kt.h.
|
private |
number of bins for field response
Definition at line 118 of file SignalShapingServiceDUNE34kt.h.
|
private |
Definition at line 133 of file SignalShapingServiceDUNE34kt.h.
|
private |
time constants for exponential shaping
Definition at line 137 of file SignalShapingServiceDUNE34kt.h.
|
private |
Flag that allows to use a parameterized field response instead of the hardcoded version.
Definition at line 143 of file SignalShapingServiceDUNE34kt.h.
|
private |
Flag that turns on field response shapes from histograms.
Definition at line 144 of file SignalShapingServiceDUNE34kt.h.