#include <SPhaseChannelNoiseService.h>
Public Member Functions | |
| SPhaseChannelNoiseService (fhicl::ParameterSet const &pset) | |
| SPhaseChannelNoiseService (fhicl::ParameterSet const &pset, art::ActivityRegistry &) | |
| ~SPhaseChannelNoiseService () | |
| int | addNoise (detinfo::DetectorClocksData const &, detinfo::DetectorPropertiesData const &, Channel chan, AdcSignalVector &sigs) const |
| std::ostream & | print (std::ostream &out=std::cout, std::string prefix="") const |
Public Member Functions inherited from ChannelNoiseService | |
| virtual | ~ChannelNoiseService ()=default |
| virtual void | newEvent () |
Private Member Functions | |
| void | generateNoise (detinfo::DetectorClocksData const &clockData) |
| void | generateMicroBooNoise (detinfo::DetectorClocksData const &clockData, float wirelength, float ENOB, AdcSignalVector &noise, TH1 *aNoiseHist) const |
| void | generateGaussianNoise (detinfo::DetectorClocksData const &clockData, AdcSignalVector &noise, std::vector< float > gausNorm, std::vector< float > gausMean, std::vector< float > gausSigma, TH1 *aNoiseHist) const |
| void | generateCoherentNoise (detinfo::DetectorClocksData const &clockData, AdcSignalVector &noise, std::vector< float > gausNorm, std::vector< float > gausMean, std::vector< float > gausSigma, float cohExpNorm, float cohExpWidth, float cohExpOffset, TH1 *aNoiseHist) const |
| void | makeCoherentGroupsByOfflineChannel (unsigned int nchpergroup) |
| unsigned int | getGroupNumberFromOfflineChannel (unsigned int offlinechan) const |
| unsigned int | getCohNoiseChanFromGroup (unsigned int cohgroup) const |
Private Attributes | |
| std::vector< unsigned int > | fChannelGroupMap |
| assign each channel a group number More... | |
| std::vector< int > | fGroupCoherentNoiseMap |
| assign each group a noise More... | |
| unsigned int | fNoiseArrayPoints |
| number of points in randomly generated noise array 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... | |
| bool | fEnableWhiteNoise |
| 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... | |
| bool | fEnableGaussianNoise |
| std::vector< float > | fGausNormU |
| noise scale factor for the gaussian component in coherent noise More... | |
| std::vector< float > | fGausMeanU |
| mean of the gaussian component in coherent noise More... | |
| std::vector< float > | fGausSigmaU |
| sigma of the gaussian component in coherent noise More... | |
| std::vector< float > | fGausNormV |
| noise scale factor for the gaussian component in coherent noise More... | |
| std::vector< float > | fGausMeanV |
| mean of the gaussian component in coherent noise More... | |
| std::vector< float > | fGausSigmaV |
| sigma of the gaussian component in coherent noise More... | |
| std::vector< float > | fGausNormZ |
| noise scale factor for the gaussian component in coherent noise More... | |
| std::vector< float > | fGausMeanZ |
| mean of the gaussian component in coherent noise More... | |
| std::vector< float > | fGausSigmaZ |
| sigma of the gaussian component in coherent noise More... | |
| bool | fEnableMicroBooNoise |
| enable MicroBooNE noise model More... | |
| float | fENOB |
| Effective number of bits. More... | |
| float | fWirelengthZ |
| float | fWirelengthU |
| float | fWirelengthV |
| std::vector< float > | fNoiseFunctionParameters |
| Parameters in the MicroBooNE noise model. More... | |
| bool | fEnableCoherentNoise |
| unsigned int | fNChannelsPerCoherentGroup |
| unsigned int | fExpNoiseArrayPoints |
| number of points in randomly generated noise array More... | |
| unsigned int | fCohNoiseArrayPoints |
| number of points in randomly generated noise array More... | |
| float | fCohExpNorm |
| noise scale factor for the exponential component component in coherent noise More... | |
| float | fCohExpWidth |
| width of the exponential component in coherent noise More... | |
| float | fCohExpOffset |
| Amplitude offset of the exponential background component in coherent noise. More... | |
| std::vector< float > | fCohGausNorm |
| noise scale factor for the gaussian component in coherent noise More... | |
| std::vector< float > | fCohGausMean |
| mean of the gaussian component in coherent noise More... | |
| std::vector< float > | fCohGausSigma |
| sigma of the gaussian component in coherent noise More... | |
| AdcSignalVectorVector | fGausNoiseZ |
| AdcSignalVectorVector | fGausNoiseU |
| AdcSignalVectorVector | fGausNoiseV |
| AdcSignalVectorVector | fMicroBooNoiseZ |
| AdcSignalVectorVector | fMicroBooNoiseU |
| AdcSignalVectorVector | fMicroBooNoiseV |
| AdcSignalVectorVector | fCohNoise |
| noise on each channel for each time for all planes More... | |
| TH1 * | fGausNoiseHistZ |
| distribution of noise counts for Z More... | |
| TH1 * | fGausNoiseHistU |
| distribution of noise counts for U More... | |
| TH1 * | fGausNoiseHistV |
| distribution of noise counts for V More... | |
| TH1 * | fGausNoiseChanHist |
| distribution of accessed noise samples More... | |
| TH1 * | fMicroBooNoiseHistZ |
| distribution of noise counts for Z More... | |
| TH1 * | fMicroBooNoiseHistU |
| distribution of noise counts for U More... | |
| TH1 * | fMicroBooNoiseHistV |
| distribution of noise counts for V More... | |
| TH1 * | fMicroBooNoiseChanHist |
| distribution of accessed noise samples More... | |
| TH1 * | fCohNoiseHist |
| distribution of noise counts More... | |
| TH1 * | fCohNoiseChanHist |
| 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 31 of file SPhaseChannelNoiseService.h.
| SPhaseChannelNoiseService::SPhaseChannelNoiseService | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 32 of file SPhaseChannelNoiseService_service.cc.
| SPhaseChannelNoiseService::SPhaseChannelNoiseService | ( | fhicl::ParameterSet const & | pset, |
| art::ActivityRegistry & | |||
| ) |
Definition at line 111 of file SPhaseChannelNoiseService_service.cc.
| SPhaseChannelNoiseService::~SPhaseChannelNoiseService | ( | ) |
Definition at line 116 of file SPhaseChannelNoiseService_service.cc.
|
virtual |
Implements ChannelNoiseService.
Definition at line 126 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 412 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 338 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 249 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 542 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 536 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 531 of file SPhaseChannelNoiseService_service.cc.
|
private |
Definition at line 509 of file SPhaseChannelNoiseService_service.cc.
|
virtual |
Implements ChannelNoiseService.
Definition at line 178 of file SPhaseChannelNoiseService_service.cc.
|
private |
assign each channel a group number
Definition at line 75 of file SPhaseChannelNoiseService.h.
|
private |
noise scale factor for the exponential component component in coherent noise
Definition at line 116 of file SPhaseChannelNoiseService.h.
|
private |
Amplitude offset of the exponential background component in coherent noise.
Definition at line 118 of file SPhaseChannelNoiseService.h.
|
private |
width of the exponential component in coherent noise
Definition at line 117 of file SPhaseChannelNoiseService.h.
|
private |
mean of the gaussian component in coherent noise
Definition at line 120 of file SPhaseChannelNoiseService.h.
|
private |
noise scale factor for the gaussian component in coherent noise
Definition at line 119 of file SPhaseChannelNoiseService.h.
|
private |
sigma of the gaussian component in coherent noise
Definition at line 121 of file SPhaseChannelNoiseService.h.
|
private |
noise on each channel for each time for all planes
Definition at line 135 of file SPhaseChannelNoiseService.h.
|
private |
number of points in randomly generated noise array
Definition at line 115 of file SPhaseChannelNoiseService.h.
|
private |
distribution of accessed noise samples
Definition at line 151 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts
Definition at line 150 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 112 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 92 of file SPhaseChannelNoiseService.h.
|
private |
enable MicroBooNE noise model
Definition at line 104 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 86 of file SPhaseChannelNoiseService.h.
|
private |
Effective number of bits.
Definition at line 105 of file SPhaseChannelNoiseService.h.
|
private |
number of points in randomly generated noise array
Definition at line 114 of file SPhaseChannelNoiseService.h.
|
private |
mean of the gaussian component in coherent noise
Definition at line 94 of file SPhaseChannelNoiseService.h.
|
private |
mean of the gaussian component in coherent noise
Definition at line 97 of file SPhaseChannelNoiseService.h.
|
private |
mean of the gaussian component in coherent noise
Definition at line 100 of file SPhaseChannelNoiseService.h.
|
private |
distribution of accessed noise samples
Definition at line 143 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts for U
Definition at line 141 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts for V
Definition at line 142 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts for Z
Definition at line 140 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 126 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 127 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 125 of file SPhaseChannelNoiseService.h.
|
private |
noise scale factor for the gaussian component in coherent noise
Definition at line 93 of file SPhaseChannelNoiseService.h.
|
private |
noise scale factor for the gaussian component in coherent noise
Definition at line 96 of file SPhaseChannelNoiseService.h.
|
private |
noise scale factor for the gaussian component in coherent noise
Definition at line 99 of file SPhaseChannelNoiseService.h.
|
private |
sigma of the gaussian component in coherent noise
Definition at line 95 of file SPhaseChannelNoiseService.h.
|
private |
sigma of the gaussian component in coherent noise
Definition at line 98 of file SPhaseChannelNoiseService.h.
|
private |
sigma of the gaussian component in coherent noise
Definition at line 101 of file SPhaseChannelNoiseService.h.
|
private |
assign each group a noise
Definition at line 76 of file SPhaseChannelNoiseService.h.
|
private |
Log message level: 0=quiet, 1=init only, 2+=every event.
Definition at line 83 of file SPhaseChannelNoiseService.h.
|
private |
distribution of accessed noise samples
Definition at line 148 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts for U
Definition at line 146 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts for V
Definition at line 147 of file SPhaseChannelNoiseService.h.
|
private |
distribution of noise counts for Z
Definition at line 145 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 131 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 132 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 130 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 113 of file SPhaseChannelNoiseService.h.
|
private |
number of points in randomly generated noise array
Definition at line 81 of file SPhaseChannelNoiseService.h.
|
private |
Parameters in the MicroBooNE noise model.
Definition at line 109 of file SPhaseChannelNoiseService.h.
|
private |
Seed for random number service. If absent or zero, use SeedSvc.
Definition at line 82 of file SPhaseChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for U.
Definition at line 88 of file SPhaseChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for V.
Definition at line 89 of file SPhaseChannelNoiseService.h.
|
private |
Level (per freq bin) for white noise for Z.
Definition at line 87 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 107 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 108 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 106 of file SPhaseChannelNoiseService.h.
|
private |
Definition at line 153 of file SPhaseChannelNoiseService.h.
1.8.11