Classes | |
struct | Config |
Public Types | |
using | Parameters = art::EDProducer::Table< Config > |
Public Types inherited from art::EDProducer | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
Public Types inherited from art::detail::Producer | |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Types inherited from art::Modifier | |
template<typename UserConfig , typename UserKeysToIgnore = void> | |
using | Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore > |
Public Member Functions | |
WaveformDigitizerSim (Parameters const &config) | |
void | produce (art::Event &) |
Public Member Functions inherited from art::EDProducer | |
EDProducer (fhicl::ParameterSet const &pset) | |
template<typename Config > | |
EDProducer (Table< Config > const &config) | |
std::string | workerType () const |
Public Member Functions inherited from art::detail::Producer | |
virtual | ~Producer () noexcept |
Producer (fhicl::ParameterSet const &) | |
Producer (Producer const &)=delete | |
Producer (Producer &&)=delete | |
Producer & | operator= (Producer const &)=delete |
Producer & | operator= (Producer &&)=delete |
void | doBeginJob (SharedResources const &resources) |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Modifier | |
~Modifier () noexcept | |
Modifier () | |
Modifier (Modifier const &)=delete | |
Modifier (Modifier &&)=delete | |
Modifier & | operator= (Modifier const &)=delete |
Modifier & | operator= (Modifier &&)=delete |
Public Member Functions inherited from art::ModuleBase | |
virtual | ~ModuleBase () noexcept |
ModuleBase () | |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Member Functions | |
void | CreateSinglePEWaveform () |
double | Pulse1PE (double time_in_us) const |
void | SetDefaultBeginEndTimes () |
void | CheckFHiCLParameters () const |
void | AddPEsToWaveform (const sim::OpDetDivRec *dr_p, vector< double > &pdWaveform, FocusList &fls) const |
void | AddLineNoise (vector< double > &waveform, const FocusList &fls) |
vector< uint16_t > | Digitize (vector< double >::iterator itBegin, vector< double >::iterator itEnd) const |
template<typename T > | |
Ranges_t | CFDTrigger (vector< T > const &wf, const FocusList &fls) const |
double | Tick2us (size_t tick) const |
double | Tick2ns (size_t tick) const |
size_t | us2Tick (double time_in_us) const |
size_t | ns2Tick (double time_in_ns) const |
Private Attributes | |
vector< art::InputTag > | fInputTags |
double | fVoltageToADC |
double | fPulseLength |
double | fPeakTime |
double | fMaxAmplitude |
double | fFrontTime |
double | fBackTime |
size_t | fPadding |
size_t | fReadoutWindow |
size_t | fPreTrigger |
double | fThresholdPE |
size_t | fDwindow |
short | fPedestal |
double | fLineNoiseRMS |
int | fMaxSaturationCutOff |
double | fTimeBegin |
double | fTimeEnd |
bool | fFullWaveformOutput |
CLHEP::HepRandomEngine & | fOpDigiEngine |
CLHEP::RandGauss | fRandGauss |
double | fSampleFreqMHz |
size_t | fPulseLengthTicks |
double | fThresholdADC |
vector< double > | fSinglePEWaveform |
Additional Inherited Members | |
Static Public Member Functions inherited from art::EDProducer | |
static void | commitEvent (EventPrincipal &ep, Event &e) |
Protected Member Functions inherited from art::ModuleBase | |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Definition at line 122 of file WaveformDigitizerSim_module.cc.
Definition at line 176 of file WaveformDigitizerSim_module.cc.
|
explicit |
Definition at line 293 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 543 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 508 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 568 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 418 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 373 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 555 of file WaveformDigitizerSim_module.cc.
|
inlineprivate |
Definition at line 272 of file WaveformDigitizerSim_module.cc.
|
virtual |
Implements art::EDProducer.
Definition at line 448 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 390 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 401 of file WaveformDigitizerSim_module.cc.
|
inlineprivate |
Definition at line 270 of file WaveformDigitizerSim_module.cc.
|
inlineprivate |
Definition at line 269 of file WaveformDigitizerSim_module.cc.
|
inlineprivate |
Definition at line 271 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 195 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 202 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 194 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 214 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 187 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 208 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 193 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 209 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 222 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 198 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 192 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 207 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 200 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 191 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 226 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 223 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 199 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 225 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 230 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 227 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 201 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 212 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 213 of file WaveformDigitizerSim_module.cc.
|
private |
Definition at line 190 of file WaveformDigitizerSim_module.cc.