11 #ifndef DPhaseRealisticNoiseService_H 12 #define DPhaseRealisticNoiseService_H 19 class DetectorClocksData;
20 class DetectorPropertiesData;
25 class HepRandomEngine;
54 TH1* aNoiseHist,
double customRandom);
59 unsigned int GetModelSize()
const;
62 void SetModelSize(
unsigned int size);
68 void Chan2Phase(std::map<Channel, double> &PhaseChannelMap)
const;
78 void importNoiseModel(
std::string noiseModel, std::vector<double> & frequencyArrayX,
79 std::vector<double> & frequencyArrayY)
const;
TH1 * fNoiseHistY
distribution of noise counts for Y
AdcSignalVectorVector fNoiseX
noise on each channel for each time for X plane
TH1 * fNoiseHistX
distribution of noise counts for X
bool fSetBaseline
< Sum baseline model to the data
CLHEP::HepRandomEngine * m_pran
DECLARE_ART_SERVICE_INTERFACE_IMPL(MySharedService, art::test::MyServiceInterface, SHARED) DEFINE_ART_SERVICE_INTERFACE_IMPL(MySharedService
unsigned int fNoiseArrayPoints
number of points in randomly generated noise array
double fRandomizeY
< randomization of the average frequency spectrum (on kY)
double fRandomizeX
randomization of the average frequency spectrum (on kX or kZ)
int fRandomSeed
Seed for random number service. If absent or zero, use SeedSvc.
AdcSignalVectorVector fNoiseY
noise on each channel for each time for Y plane
int fLogLevel
Log message level: 0=quiet, 1=init only, 2+=every event.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
TH1 * fNoiseChanHist
distribution of accessed noise samples
std::string fNoiseModel
noise model root file
General LArSoft Utilities.
std::vector< double > fNoiseModelFrequenciesX
Array storing the frequencies imported from the model in kHz for plane kX (kZ)
bool fOldNoiseIndex
Use old selection of noise array index.
Contains all timing reference information for the detector.
std::vector< AdcSignalVector > AdcSignalVectorVector
std::vector< double > fNoiseModelFrequenciesY
Array storing the frequencies imported from the model in kHz for plane kY (kZ)
std::vector< AdcSignal > AdcSignalVector
bool fSetFirst0
< set the first bin of the frequency array to 0