All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
opdet::OpMCDigi Class Reference
Inheritance diagram for opdet::OpMCDigi:

Public Member Functions

 OpMCDigi (const fhicl::ParameterSet &)
 

Private Member Functions

void produce (art::Event &) override
 
void AddTimedWaveform (int time, std::vector< double > &OldPulse, std::vector< double > &NewPulse)
 

Private Attributes

std::string fInputModule
 
float fSampleFreq
 
float fTimeBegin
 
float fTimeEnd
 
float fSaturationScale
 
float fDarkRate
 
std::vector< double > fSinglePEWaveform
 
CLHEP::HepRandomEngine & fEngine
 
CLHEP::RandFlat fFlatRandom
 
CLHEP::RandPoisson fPoissonRandom
 

Detailed Description

Definition at line 43 of file OpMCDigi_module.cc.

Constructor & Destructor Documentation

opdet::OpMCDigi::OpMCDigi ( const fhicl::ParameterSet &  pset)
explicit

Definition at line 76 of file OpMCDigi_module.cc.

77  : EDProducer{pset}
78  , fInputModule{pset.get<std::string>("InputModule")}
79  //, fQE{pset.get<double>("QE")}
80  , fSaturationScale{pset.get<float>("SaturationScale")}
81  , fDarkRate{pset.get<float>("DarkRate")}
82  // create a default random engine; obtain the random seed from NuRandomService,
83  // unless overridden in configuration with key "Seed"
84  , fEngine(art::ServiceHandle<rndm::NuRandomService>{}->createEngine(*this, pset, "Seed"))
CLHEP::HepRandomEngine & fEngine
std::string fInputModule

Member Function Documentation

void opdet::OpMCDigi::AddTimedWaveform ( int  time,
std::vector< double > &  OldPulse,
std::vector< double > &  NewPulse 
)
private
void opdet::OpMCDigi::produce ( art::Event &  )
overrideprivate

Member Data Documentation

float opdet::OpMCDigi::fDarkRate
private

Definition at line 58 of file OpMCDigi_module.cc.

CLHEP::HepRandomEngine& opdet::OpMCDigi::fEngine
private

Definition at line 62 of file OpMCDigi_module.cc.

CLHEP::RandFlat opdet::OpMCDigi::fFlatRandom
private

Definition at line 63 of file OpMCDigi_module.cc.

std::string opdet::OpMCDigi::fInputModule
private

Definition at line 51 of file OpMCDigi_module.cc.

CLHEP::RandPoisson opdet::OpMCDigi::fPoissonRandom
private

Definition at line 64 of file OpMCDigi_module.cc.

float opdet::OpMCDigi::fSampleFreq
private

Definition at line 52 of file OpMCDigi_module.cc.

float opdet::OpMCDigi::fSaturationScale
private

Definition at line 56 of file OpMCDigi_module.cc.

std::vector<double> opdet::OpMCDigi::fSinglePEWaveform
private

Definition at line 60 of file OpMCDigi_module.cc.

float opdet::OpMCDigi::fTimeBegin
private

Definition at line 53 of file OpMCDigi_module.cc.

float opdet::OpMCDigi::fTimeEnd
private

Definition at line 54 of file OpMCDigi_module.cc.


The documentation for this class was generated from the following file: