Definition at line 24 of file ElectronicsResponse_tool.cc.
icarus_tool::ElectronicsResponse::ElectronicsResponse |
( |
const fhicl::ParameterSet & |
pset | ) |
|
|
explicit |
icarus_tool::ElectronicsResponse::~ElectronicsResponse |
( |
| ) |
|
|
inline |
void icarus_tool::ElectronicsResponse::configure |
( |
const fhicl::ParameterSet & |
pset | ) |
|
|
overridevirtual |
double icarus_tool::ElectronicsResponse::getASICShapingTime |
( |
| ) |
const |
|
inlineoverridevirtual |
double icarus_tool::ElectronicsResponse::getFCperADCMicroS |
( |
| ) |
const |
|
inlineoverridevirtual |
size_t icarus_tool::ElectronicsResponse::getPlane |
( |
| ) |
const |
|
inlineoverridevirtual |
void icarus_tool::ElectronicsResponse::outputHistograms |
( |
art::TFileDirectory & |
histDir | ) |
const |
|
overridevirtual |
Implements icarus_tool::IElectronicsResponse.
Definition at line 142 of file ElectronicsResponse_tool.cc.
149 art::TFileDirectory
dir = histDir.mkdir(dirName.c_str());
155 TProfile* hist = dir.make<TProfile>(histName.c_str(),
"Response;Time(us)",
fElectronicsResponseVec.size(), 0., hiEdge);
166 double freqWidth = maxFreq / powerVec.size();
168 histName =
"FFT_" + histName;
170 TProfile* fftHist = dir.make<TProfile>(histName.c_str(),
"Electronics FFT; Frequency(MHz)", powerVec.size(), 0., maxFreq);
172 for(
size_t idx = 0; idx < powerVec.size(); idx++)
174 float bin = (idx + 0.5) * freqWidth;
176 fftHist->Fill(bin, powerVec.at(idx), 1.);
constexpr details::BinObj< T > bin(T value)
Returns a wrapper to print the specified data in binary format.
std::vector< SigProcPrecision > TimeVec
std::string to_string(WindowPattern const &pattern)
void icarus_tool::ElectronicsResponse::setResponse |
( |
size_t |
numBins, |
|
|
double |
binWidth |
|
) |
| |
|
overridevirtual |
double icarus_tool::ElectronicsResponse::fADCPerPCAtLowestASICGain |
|
private |
double icarus_tool::ElectronicsResponse::fASICShapingTime |
|
private |
double icarus_tool::ElectronicsResponse::fBinWidth |
|
private |
double icarus_tool::ElectronicsResponse::fFCperADCMicroS |
|
private |
std::unique_ptr<icarus_signal_processing::ICARUSFFT<double> > icarus_tool::ElectronicsResponse::fFFT |
|
private |
size_t icarus_tool::ElectronicsResponse::fPlane |
|
private |
The documentation for this class was generated from the following file: