Public Member Functions | |
SBNDataNoiseBoard (const fhicl::ParameterSet &pset) | |
~SBNDataNoiseBoard () | |
void | configure (const fhicl::ParameterSet &pset) override |
void | nextEvent () override |
void | generateNoise (CLHEP::HepRandomEngine &, CLHEP::HepRandomEngine &, icarusutil::TimeVec &, detinfo::DetectorPropertiesData const &, double, const geo::PlaneID &, unsigned int) override |
Private Types | |
using | WaveformTools = icarus_signal_processing::WaveformTools< icarusutil::SigProcPrecision > |
using | BoardToNoiseVecMap = std::unordered_map< unsigned int, icarusutil::TimeVec > |
using | BoardToHistMap = std::unordered_map< unsigned int, TH1D * > |
Private Member Functions | |
void | GenerateCorrelatedNoise (CLHEP::HepRandomEngine &, icarusutil::TimeVec &, double, unsigned int) |
void | GenerateUncorrelatedNoise (CLHEP::HepRandomEngine &, icarusutil::TimeVec &, double, unsigned int) |
void | GenNoise (std::function< void(double[])> &, const icarusutil::TimeVec &, icarusutil::TimeVec &, float) |
void | ComputeRMSs () |
void | makeHistograms () |
void | SampleCorrelatedRMSs () |
void | ExtractUncorrelatedRMS (float &, int, int) const |
void | makeBoardHistos (unsigned int) |
Private Member Functions inherited from icarus_tool::IGenNoise | |
virtual | ~IGenNoise () noexcept=default |
Private Attributes | |
size_t | fPlane |
int | fMedianNumBins |
float | fNoiseRand |
long | fCorrelatedSeed |
long | fUncorrelatedSeed |
std::vector< float > | fIncoherentNoiseFrac |
bool | fStoreHistograms |
std::string | fInputNoiseHistFileName |
std::string | fHistogramName |
std::string | fCorrelatedHistogramName |
std::string | fUncorrelatedHistogramName |
std::string | fCorrelatedRMSHistoName |
std::string | fUncorrelatedRMSHistoName |
std::string | fTotalRMSHistoName |
WaveformTools | fWaveformTool |
BoardToNoiseVecMap | fCoherentBoardToNoiseVecMap |
BoardToNoiseVecMap | fIncoherentBoardToNoiseVecMap |
std::vector< icarusutil::TimeVec > | fCoherentNoiseVec |
std::vector< icarusutil::TimeVec > | fIncoherentNoiseVec |
icarusutil::FrequencyVec | fNoiseFrequencyVec |
bool | fNeedFirstSeed =true |
TProfile * | fInputNoiseHist |
TH1D * | fMediaNoiseHist |
TProfile * | fPeakNoiseHist |
TFile * | fHistogramFile |
std::vector< float > | totalRMS |
std::vector< float > | rmsUnc |
std::vector< float > | rmsCorr |
Eigen::FFT< double > | fEigenFFT |
Definition at line 41 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 100 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 92 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 86 of file SBNDataNoiseBoard_tool.cc.
|
explicit |
Definition at line 126 of file SBNDataNoiseBoard_tool.cc.
icarus_tool::SBNDataNoiseBoard::~SBNDataNoiseBoard | ( | ) |
Definition at line 137 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 360 of file SBNDataNoiseBoard_tool.cc.
|
overridevirtual |
Implements icarus_tool::IGenNoise.
Definition at line 143 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 369 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 310 of file SBNDataNoiseBoard_tool.cc.
|
overridevirtual |
Implements icarus_tool::IGenNoise.
Definition at line 243 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 289 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 325 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 180 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 354 of file SBNDataNoiseBoard_tool.cc.
|
overridevirtual |
Implements icarus_tool::IGenNoise.
Definition at line 234 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 365 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 94 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 97 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 80 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 82 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 74 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 120 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 113 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 79 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 95 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 76 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 98 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 109 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 78 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 72 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 110 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 106 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 103 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 73 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 111 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 71 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 77 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 84 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 81 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 83 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 75 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 88 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 117 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 116 of file SBNDataNoiseBoard_tool.cc.
|
private |
Definition at line 115 of file SBNDataNoiseBoard_tool.cc.