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

Classes

struct  ChannelBookKeeping
 

Public Member Functions

 SimDriftElectrons (fhicl::ParameterSet const &pset)
 
void produce (art::Event &evt) override
 
void beginJob () override
 

Private Types

typedef std::unordered_map
< raw::ChannelID_t,
ChannelBookKeeping
ChannelMap_t
 

Private Attributes

art::InputTag fSimModuleLabel
 
CLHEP::RandGauss fRandGauss
 
double fElectronLifetime
 
double fElectronClusterSize
 
int fMinNumberOfElCluster
 
double fLongitudinalDiffusion
 
double fTransverseDiffusion
 
double fLifetimeCorr_const
 
double fLDiff_const
 
double fTDiff_const
 
double fRecipDriftVel [3]
 
bool fStoreDriftedElectronClusters
 
std::vector< ChannelMap_tfChannelMaps
 
size_t fNCryostats
 
std::vector< size_t > fNTPCs
 
std::vector< double > fLongDiff
 
std::vector< double > fTransDiff1
 
std::vector< double > fTransDiff2
 
std::vector< double > fnElDiff
 
std::vector< double > fnEnDiff
 
double fDriftClusterPos [3]
 
art::ServiceHandle
< geo::Geometry const > 
fGeometry
 Handle to the Geometry service. More...
 

Detailed Description

Definition at line 95 of file SimDriftElectrons_module.cc.

Member Typedef Documentation

Definition at line 135 of file SimDriftElectrons_module.cc.

Constructor & Destructor Documentation

detsim::SimDriftElectrons::SimDriftElectrons ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 161 of file SimDriftElectrons_module.cc.

162  : art::EDProducer{pset}
163  , fSimModuleLabel{pset.get<art::InputTag>("SimulationLabel")}
164  // create a default random engine; obtain the random seed from
165  // NuRandomService, unless overridden in configuration with key
166  // "Seed"
167  , fRandGauss{art::ServiceHandle<rndm::NuRandomService>{}->createEngine(*this, pset, "Seed")}

Member Function Documentation

void detsim::SimDriftElectrons::beginJob ( )
override
void detsim::SimDriftElectrons::produce ( art::Event &  evt)
override

Member Data Documentation

std::vector<ChannelMap_t> detsim::SimDriftElectrons::fChannelMaps
private

Definition at line 138 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fDriftClusterPos[3]
private

Definition at line 154 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fElectronClusterSize
private

Definition at line 112 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fElectronLifetime
private

Definition at line 111 of file SimDriftElectrons_module.cc.

art::ServiceHandle<geo::Geometry const> detsim::SimDriftElectrons::fGeometry
private

Handle to the Geometry service.

Definition at line 156 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fLDiff_const
private

Definition at line 118 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fLifetimeCorr_const
private

Definition at line 117 of file SimDriftElectrons_module.cc.

std::vector<double> detsim::SimDriftElectrons::fLongDiff
private

Definition at line 148 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fLongitudinalDiffusion
private

Definition at line 114 of file SimDriftElectrons_module.cc.

int detsim::SimDriftElectrons::fMinNumberOfElCluster
private

Definition at line 113 of file SimDriftElectrons_module.cc.

size_t detsim::SimDriftElectrons::fNCryostats
private

Definition at line 144 of file SimDriftElectrons_module.cc.

std::vector<double> detsim::SimDriftElectrons::fnElDiff
private

Definition at line 151 of file SimDriftElectrons_module.cc.

std::vector<double> detsim::SimDriftElectrons::fnEnDiff
private

Definition at line 152 of file SimDriftElectrons_module.cc.

std::vector<size_t> detsim::SimDriftElectrons::fNTPCs
private

Definition at line 145 of file SimDriftElectrons_module.cc.

CLHEP::RandGauss detsim::SimDriftElectrons::fRandGauss
private

Definition at line 109 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fRecipDriftVel[3]
private

Definition at line 120 of file SimDriftElectrons_module.cc.

art::InputTag detsim::SimDriftElectrons::fSimModuleLabel
private

Definition at line 107 of file SimDriftElectrons_module.cc.

bool detsim::SimDriftElectrons::fStoreDriftedElectronClusters
private

Definition at line 122 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fTDiff_const
private

Definition at line 119 of file SimDriftElectrons_module.cc.

std::vector<double> detsim::SimDriftElectrons::fTransDiff1
private

Definition at line 149 of file SimDriftElectrons_module.cc.

std::vector<double> detsim::SimDriftElectrons::fTransDiff2
private

Definition at line 150 of file SimDriftElectrons_module.cc.

double detsim::SimDriftElectrons::fTransverseDiffusion
private

Definition at line 115 of file SimDriftElectrons_module.cc.


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