#include <ProtoDUNEChannelNoiseService.h>
Public Member Functions | |
ProtoDUNEChannelNoiseService (fhicl::ParameterSet const &pset) | |
ProtoDUNEChannelNoiseService (fhicl::ParameterSet const &pset, art::ActivityRegistry &) | |
~ProtoDUNEChannelNoiseService () | |
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 wirelength, float ENOB, 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 | fLowCutoffZ |
low frequency filter cutoff (kHz) for Z (collection) plane More... | |
float | fLowCutoffU |
low frequency filter cutoff (kHz) for U 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... | |
float | fWirelengthZ |
float | fWirelengthU |
float | fWirelengthV |
float | fENOB |
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 25 of file ProtoDUNEChannelNoiseService.h.
ProtoDUNEChannelNoiseService::ProtoDUNEChannelNoiseService | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 30 of file ProtoDUNEChannelNoiseService_service.cc.
ProtoDUNEChannelNoiseService::ProtoDUNEChannelNoiseService | ( | fhicl::ParameterSet const & | pset, |
art::ActivityRegistry & | |||
) |
Definition at line 86 of file ProtoDUNEChannelNoiseService_service.cc.
ProtoDUNEChannelNoiseService::~ProtoDUNEChannelNoiseService | ( | ) |
Definition at line 91 of file ProtoDUNEChannelNoiseService_service.cc.
|
virtual |
Implements ChannelNoiseService.
Definition at line 101 of file ProtoDUNEChannelNoiseService_service.cc.
void ProtoDUNEChannelNoiseService::generateNoise | ( | detinfo::DetectorClocksData const & | clockData, |
float | wirelength, | ||
float | ENOB, | ||
float | aLowCutoff, | ||
AdcSignalVector & | noise, | ||
TH1 * | aNoiseHist | ||
) | const |
Definition at line 162 of file ProtoDUNEChannelNoiseService_service.cc.
|
private |
Definition at line 256 of file ProtoDUNEChannelNoiseService_service.cc.
|
virtual |
Implements ChannelNoiseService.
Definition at line 139 of file ProtoDUNEChannelNoiseService_service.cc.
|
private |
Definition at line 72 of file ProtoDUNEChannelNoiseService.h.
|
private |
Log message level: 0=quiet, 1=init only, 2+=every event.
Definition at line 68 of file ProtoDUNEChannelNoiseService.h.
|
private |
low frequency filter cutoff (kHz) for U plane
Definition at line 60 of file ProtoDUNEChannelNoiseService.h.
|
private |
low frequency filter cutoff (kHz) for V plane
Definition at line 61 of file ProtoDUNEChannelNoiseService.h.
|
private |
low frequency filter cutoff (kHz) for Z (collection) plane
Definition at line 59 of file ProtoDUNEChannelNoiseService.h.
|
private |
number of points in randomly generated noise array
Definition at line 62 of file ProtoDUNEChannelNoiseService.h.
|
private |
distribution of accessed noise samples
Definition at line 84 of file ProtoDUNEChannelNoiseService.h.
|
private |
distribution of noise counts for U
Definition at line 82 of file ProtoDUNEChannelNoiseService.h.
|
private |
distribution of noise counts for V
Definition at line 83 of file ProtoDUNEChannelNoiseService.h.
|
private |
distribution of noise counts for Z
Definition at line 81 of file ProtoDUNEChannelNoiseService.h.
|
private |
noise on each channel for each time for U plane
Definition at line 76 of file ProtoDUNEChannelNoiseService.h.
|
private |
noise on each channel for each time for V plane
Definition at line 77 of file ProtoDUNEChannelNoiseService.h.
|
private |
noise on each channel for each time for Z (collection) plane
Definition at line 75 of file ProtoDUNEChannelNoiseService.h.
|
private |
Use old selection of noise array index.
Definition at line 63 of file ProtoDUNEChannelNoiseService.h.
|
private |
Seed for random number service. If absent or zero, use SeedSvc.
Definition at line 67 of file ProtoDUNEChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for U.
Definition at line 65 of file ProtoDUNEChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for V.
Definition at line 66 of file ProtoDUNEChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for Z.
Definition at line 64 of file ProtoDUNEChannelNoiseService.h.
|
private |
Definition at line 70 of file ProtoDUNEChannelNoiseService.h.
|
private |
Definition at line 71 of file ProtoDUNEChannelNoiseService.h.
|
private |
Definition at line 69 of file ProtoDUNEChannelNoiseService.h.
|
private |
Definition at line 86 of file ProtoDUNEChannelNoiseService.h.