8 #include "art/Utilities/ToolMacros.h"
9 #include "messagefacility/MessageLogger/MessageLogger.h"
10 #include "cetlib_except/exception.h"
13 #include "nurandom/RandomUtils/NuRandomService.h"
16 #include "CLHEP/Random/RandFlat.h"
17 #include "CLHEP/Random/RandGaussQ.h"
27 explicit RandomNoise(
const fhicl::ParameterSet& pset);
31 void configure(
const fhicl::ParameterSet& pset)
override;
36 CLHEP::HepRandomEngine&,
41 unsigned int)
override;
71 CLHEP::HepRandomEngine&,
78 CLHEP::RandGaussQ rGauss(engine, 0.0, noise_factor);
84 for (
unsigned int i=0; i<noise.size(); i++)
85 noise.at(i) = rGauss.fire();
The data type to uniquely identify a Plane.
std::vector< SigProcPrecision > TimeVec
This is the interface class for a tool to handle a GenNoise for the overall response.