#include <ExponentialChannelNoiseService.h>
Public Member Functions | |
ExponentialChannelNoiseService (fhicl::ParameterSet const &pset) | |
ExponentialChannelNoiseService (fhicl::ParameterSet const &pset, art::ActivityRegistry &) | |
~ExponentialChannelNoiseService () | |
int | addNoise (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, Channel chan, AdcSignalVector &sigs) const |
std::ostream & | print (std::ostream &out=std::cout, std::string prefix="") const |
void | generateNoise (detinfo::DetectorClocksData const &clockData, float aNoiseNorm, float aNoiseWidth, float aLowCutoff, AdcSignalVector &noise, TH1 *aNoiseHist) const |
Public Member Functions inherited from ChannelNoiseService | |
virtual | ~ChannelNoiseService ()=default |
virtual void | newEvent () |
Private Member Functions | |
void | generateNoise (detinfo::DetectorClocksData const &clockData) |
Private Attributes | |
float | fNoiseNormZ |
noise scale factor for Z (collection) plane More... | |
float | fNoiseWidthZ |
exponential noise width (kHz) for Z (collection) plane More... | |
float | fLowCutoffZ |
low frequency filter cutoff (kHz) for Z (collection) plane More... | |
float | fNoiseNormU |
noise scale factor for U plane More... | |
float | fNoiseWidthU |
exponential noise width (kHz) for U plane More... | |
float | fLowCutoffU |
low frequency filter cutoff (kHz) for U plane More... | |
float | fNoiseNormV |
noise scale factor for V plane More... | |
float | fNoiseWidthV |
exponential noise width (kHz) for V plane More... | |
float | fLowCutoffV |
low frequency filter cutoff (kHz) for V plane More... | |
unsigned int | fNoiseArrayPoints |
number of points in randomly generated noise array More... | |
bool | fOldNoiseIndex |
Use old selection of noise array index. More... | |
float | fWhiteNoiseZ |
Level (per freq bin) for white noise for Z. More... | |
float | fWhiteNoiseU |
Level (per freq bin) for white noise for U. More... | |
float | fWhiteNoiseV |
Level (per freq bin) for white noise for V. More... | |
int | fRandomSeed |
Seed for random number service. If absent or zero, use SeedSvc. More... | |
int | fLogLevel |
Log message level: 0=quiet, 1=init only, 2+=every event. More... | |
AdcSignalVectorVector | fNoiseZ |
noise on each channel for each time for Z (collection) plane More... | |
AdcSignalVectorVector | fNoiseU |
noise on each channel for each time for U plane More... | |
AdcSignalVectorVector | fNoiseV |
noise on each channel for each time for V plane More... | |
TH1 * | fNoiseHistZ |
distribution of noise counts for Z More... | |
TH1 * | fNoiseHistU |
distribution of noise counts for U More... | |
TH1 * | fNoiseHistV |
distribution of noise counts for V More... | |
TH1 * | fNoiseChanHist |
distribution of accessed noise samples More... | |
CLHEP::HepRandomEngine * | m_pran |
Additional Inherited Members | |
Public Types inherited from ChannelNoiseService | |
typedef unsigned int | Channel |
Definition at line 34 of file ExponentialChannelNoiseService.h.
ExponentialChannelNoiseService::ExponentialChannelNoiseService | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 29 of file ExponentialChannelNoiseService_service.cc.
ExponentialChannelNoiseService::ExponentialChannelNoiseService | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | |||
) |
Definition at line 88 of file ExponentialChannelNoiseService_service.cc.
ExponentialChannelNoiseService::~ExponentialChannelNoiseService | ( | ) |
Definition at line 93 of file ExponentialChannelNoiseService_service.cc.
|
virtual |
Implements ChannelNoiseService.
Definition at line 103 of file ExponentialChannelNoiseService_service.cc.
void ExponentialChannelNoiseService::generateNoise | ( | detinfo::DetectorClocksData const & | clockData, |
float | aNoiseNorm, | ||
float | aNoiseWidth, | ||
float | aLowCutoff, | ||
AdcSignalVector & | noise, | ||
TH1 * | aNoiseHist | ||
) | const |
Definition at line 166 of file ExponentialChannelNoiseService_service.cc.
|
private |
Definition at line 238 of file ExponentialChannelNoiseService_service.cc.
|
virtual |
Implements ChannelNoiseService.
Definition at line 141 of file ExponentialChannelNoiseService_service.cc.
|
private |
Log message level: 0=quiet, 1=init only, 2+=every event.
Definition at line 83 of file ExponentialChannelNoiseService.h.
|
private |
low frequency filter cutoff (kHz) for U plane
Definition at line 73 of file ExponentialChannelNoiseService.h.
|
private |
low frequency filter cutoff (kHz) for V plane
Definition at line 76 of file ExponentialChannelNoiseService.h.
|
private |
low frequency filter cutoff (kHz) for Z (collection) plane
Definition at line 70 of file ExponentialChannelNoiseService.h.
|
private |
number of points in randomly generated noise array
Definition at line 77 of file ExponentialChannelNoiseService.h.
|
private |
distribution of accessed noise samples
Definition at line 95 of file ExponentialChannelNoiseService.h.
|
private |
distribution of noise counts for U
Definition at line 93 of file ExponentialChannelNoiseService.h.
|
private |
distribution of noise counts for V
Definition at line 94 of file ExponentialChannelNoiseService.h.
|
private |
distribution of noise counts for Z
Definition at line 92 of file ExponentialChannelNoiseService.h.
|
private |
noise scale factor for U plane
Definition at line 71 of file ExponentialChannelNoiseService.h.
|
private |
noise scale factor for V plane
Definition at line 74 of file ExponentialChannelNoiseService.h.
|
private |
noise scale factor for Z (collection) plane
Definition at line 68 of file ExponentialChannelNoiseService.h.
|
private |
noise on each channel for each time for U plane
Definition at line 87 of file ExponentialChannelNoiseService.h.
|
private |
noise on each channel for each time for V plane
Definition at line 88 of file ExponentialChannelNoiseService.h.
|
private |
exponential noise width (kHz) for U plane
Definition at line 72 of file ExponentialChannelNoiseService.h.
|
private |
exponential noise width (kHz) for V plane
Definition at line 75 of file ExponentialChannelNoiseService.h.
|
private |
exponential noise width (kHz) for Z (collection) plane
Definition at line 69 of file ExponentialChannelNoiseService.h.
|
private |
noise on each channel for each time for Z (collection) plane
Definition at line 86 of file ExponentialChannelNoiseService.h.
|
private |
Use old selection of noise array index.
Definition at line 78 of file ExponentialChannelNoiseService.h.
|
private |
Seed for random number service. If absent or zero, use SeedSvc.
Definition at line 82 of file ExponentialChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for U.
Definition at line 80 of file ExponentialChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for V.
Definition at line 81 of file ExponentialChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for Z.
Definition at line 79 of file ExponentialChannelNoiseService.h.
|
private |
Definition at line 97 of file ExponentialChannelNoiseService.h.