Public Member Functions | |
SimWire (fhicl::ParameterSet const &pset) | |
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 | produce (art::Event &evt) override |
void | beginJob () override |
void | ConvoluteResponseFunctions () |
convolute electronics and field response More... | |
void | SetFieldResponse () |
response of wires to field More... | |
void | SetElectResponse () |
response of electronics More... | |
void | GenNoise (std::vector< float > &array, CLHEP::HepRandomEngine &engine) |
Private Attributes | |
std::string | fDriftEModuleLabel |
module making the ionization electrons More... | |
raw::Compress_t | fCompression |
compression type to use More... | |
int | fNTicks |
number of ticks of the clock More... | |
double | fSampleRate |
sampling rate in ns More... | |
unsigned int | fNSamplesReadout |
number of ADC readout samples in 1 readout frame More... | |
double | fCol3DCorrection |
double | fInd3DCorrection |
unsigned int | fNElectResp |
number of entries from response to use More... | |
double | fInputFieldRespSamplingPeriod |
Sampling period in the input field response. More... | |
double | fShapeTimeConst |
time constants for exponential shaping More... | |
double | fADCPerPCAtLowestASICGain |
ADCs/pC at lowest gain setting of 4.7 mV/fC. More... | |
double | fASICGainInMVPerFC |
actual gain setting used in mV/fC More... | |
int | fNoiseNchToSim |
number of noise channels to generate More... | |
std::string | fNoiseModelChoice |
choice for noise model More... | |
std::string | fNoiseFluctChoice |
choice for noise freq component mag fluctuations More... | |
std::vector< int > | fFieldRespTOffset |
field response time offset in ticks More... | |
std::vector< int > | fCalibRespTOffset |
calib response time offset in ticks More... | |
std::vector< float > | fColFieldParams |
collection plane field function parameterization More... | |
std::vector< float > | fIndFieldParams |
induction plane field function parameterization More... | |
std::vector< double > | fColFieldResponse |
response function for the field @ collection plane More... | |
std::vector< double > | fIndFieldResponse |
response function for the field @ induction plane More... | |
std::vector< TComplex > | fColShape |
response function for the field @ collection plane More... | |
std::vector< TComplex > | fIndShape |
response function for the field @ induction plane More... | |
std::vector< double > | fElectResponse |
response function for the electronics More... | |
std::vector< std::vector< float > > | fNoise |
noise on each channel for each time More... | |
std::vector< double > | fNoiseModelPar |
noise model params More... | |
std::vector< double > | fNoiseFluctPar |
Poisson noise fluctuations params. More... | |
TH1D * | fIndFieldResp |
response function for the field @ induction plane More... | |
TH1D * | fColFieldResp |
response function for the field @ collection plane More... | |
TH1D * | fElectResp |
response function for the electronics More... | |
TH1D * | fColTimeShape |
convoluted shape for field x electronics @ col plane More... | |
TH1D * | fIndTimeShape |
convoluted shape for field x electronics @ ind plane More... | |
TH1D * | fNoiseDist |
distribution of noise counts More... | |
TF1 * | fNoiseFluct |
Poisson dist for fluctuations in magnitude of noise freq components. More... | |
CLHEP::HepRandomEngine & | fEngine |
Random-number engine owned by art. More... | |
Additional Inherited Members | |
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 > |
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 66 of file SimWire_module.cc.
|
explicit |
Definition at line 129 of file SimWire_module.cc.
|
overrideprivatevirtual |
Reimplemented from art::EDProducer.
Definition at line 169 of file SimWire_module.cc.
|
private |
convolute electronics and field response
Definition at line 335 of file SimWire_module.cc.
|
private |
Definition at line 404 of file SimWire_module.cc.
|
overrideprivatevirtual |
Implements art::EDProducer.
Definition at line 226 of file SimWire_module.cc.
|
private |
response of electronics
Definition at line 531 of file SimWire_module.cc.
|
private |
response of wires to field
Definition at line 478 of file SimWire_module.cc.
|
private |
ADCs/pC at lowest gain setting of 4.7 mV/fC.
Definition at line 94 of file SimWire_module.cc.
|
private |
actual gain setting used in mV/fC
Definition at line 95 of file SimWire_module.cc.
|
private |
calib response time offset in ticks
Definition at line 101 of file SimWire_module.cc.
|
private |
correction factor to account for 3D path of electrons thru wires
Definition at line 87 of file SimWire_module.cc.
|
private |
collection plane field function parameterization
Definition at line 102 of file SimWire_module.cc.
|
private |
response function for the field @ collection plane
Definition at line 114 of file SimWire_module.cc.
|
private |
response function for the field @ collection plane
Definition at line 104 of file SimWire_module.cc.
|
private |
response function for the field @ collection plane
Definition at line 106 of file SimWire_module.cc.
|
private |
convoluted shape for field x electronics @ col plane
Definition at line 116 of file SimWire_module.cc.
|
private |
compression type to use
Definition at line 82 of file SimWire_module.cc.
|
private |
module making the ionization electrons
Definition at line 81 of file SimWire_module.cc.
|
private |
response function for the electronics
Definition at line 115 of file SimWire_module.cc.
|
private |
response function for the electronics
Definition at line 108 of file SimWire_module.cc.
|
private |
Random-number engine owned by art.
Definition at line 121 of file SimWire_module.cc.
|
private |
field response time offset in ticks
Definition at line 100 of file SimWire_module.cc.
|
private |
correction factor to account for 3D path of electrons thru wires
Definition at line 89 of file SimWire_module.cc.
|
private |
induction plane field function parameterization
Definition at line 103 of file SimWire_module.cc.
|
private |
response function for the field @ induction plane
Definition at line 113 of file SimWire_module.cc.
|
private |
response function for the field @ induction plane
Definition at line 105 of file SimWire_module.cc.
|
private |
response function for the field @ induction plane
Definition at line 107 of file SimWire_module.cc.
|
private |
convoluted shape for field x electronics @ ind plane
Definition at line 117 of file SimWire_module.cc.
|
private |
Sampling period in the input field response.
Definition at line 92 of file SimWire_module.cc.
|
private |
number of entries from response to use
Definition at line 91 of file SimWire_module.cc.
|
private |
noise on each channel for each time
Definition at line 109 of file SimWire_module.cc.
|
private |
distribution of noise counts
Definition at line 118 of file SimWire_module.cc.
|
private |
Poisson dist for fluctuations in magnitude of noise freq components.
Definition at line 119 of file SimWire_module.cc.
|
private |
choice for noise freq component mag fluctuations
Definition at line 98 of file SimWire_module.cc.
|
private |
Poisson noise fluctuations params.
Definition at line 111 of file SimWire_module.cc.
|
private |
choice for noise model
Definition at line 97 of file SimWire_module.cc.
|
private |
noise model params
Definition at line 110 of file SimWire_module.cc.
|
private |
number of noise channels to generate
Definition at line 96 of file SimWire_module.cc.
|
private |
number of ADC readout samples in 1 readout frame
Definition at line 86 of file SimWire_module.cc.
|
private |
number of ticks of the clock
Definition at line 84 of file SimWire_module.cc.
|
private |
sampling rate in ns
Definition at line 85 of file SimWire_module.cc.
|
private |
time constants for exponential shaping
Definition at line 93 of file SimWire_module.cc.