LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Classes | |
struct | ChannelBookKeeping_t |
Public Types | |
using | ModuleType = EDProducer |
using | WorkerType = WorkerT< EDProducer > |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = ProducerBase::Table< UserConfig, KeysToIgnore > |
Public Member Functions | |
SimDriftElectrons (fhicl::ParameterSet const &pset) | |
virtual | ~SimDriftElectrons () |
void | produce (art::Event &evt) |
void | beginJob () |
void | endJob () |
void | reconfigure (fhicl::ParameterSet const &p) |
template<typename PROD , BranchType B = InEvent> | |
ProductID | getProductID (std::string const &instanceName={}) const |
template<typename PROD , BranchType B> | |
ProductID | getProductID (ModuleDescription const &moduleDescription, std::string const &instanceName) const |
bool | modifiesEvent () const |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | consumes (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | consumesView (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ProductToken< T > | mayConsume (InputTag const &it) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , art::BranchType BT> | |
art::ViewToken< T > | mayConsumeView (InputTag const &it) |
base_engine_t & | createEngine (seed_t seed) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make) |
base_engine_t & | createEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label) |
seed_t | get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1) |
Static Public Member Functions | |
static cet::exempt_ptr< Consumer > | non_module_context () |
Protected Member Functions | |
CurrentProcessingContext const * | currentContext () const |
void | validateConsumedProduct (BranchType const bt, ProductInfo const &pi) |
void | prepareForJob (fhicl::ParameterSet const &pset) |
void | showMissingConsumes () const |
Private Types | |
typedef std::map< raw::ChannelID_t, ChannelBookKeeping_t > | ChannelMap_t |
Private Attributes | |
art::InputTag | fSimModuleLabel |
const detinfo::DetectorClocks * | fTimeService |
std::unique_ptr< 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< std::vector< ChannelMap_t > > | fChannelMaps |
size_t | fNCryostats |
std::vector< size_t > | fNTPCs |
std::vector< double > | fXDiff |
std::vector< double > | fYDiff |
std::vector< double > | fZDiff |
std::vector< double > | fnElDiff |
std::vector< double > | fnEnDiff |
double | fDriftClusterPos [3] |
art::ServiceHandle< geo::Geometry > | fGeometry |
Handle to the Geometry service. More... | |
::detinfo::ElecClock | fClock |
TPC electronics clock. More... | |
larg4::ISCalculationSeparate | fISAlg |
Definition at line 95 of file SimDriftElectrons_module.cc.
|
private |
Definition at line 144 of file SimDriftElectrons_module.cc.
|
inherited |
Definition at line 34 of file EDProducer.h.
|
inherited |
Definition at line 43 of file EDProducer.h.
|
inherited |
Definition at line 35 of file EDProducer.h.
|
explicit |
Sets the margin for recovery of charge drifted off-plane.
margin | the extent of the margin on each frame coordinate [cm] |
This method sets the margin for the recovery of off-plane ionization charge. See RecoverOffPlaneDeposit()
for a description of that feature.
Definition at line 179 of file SimDriftElectrons_module.cc.
References art::EngineCreator::createEngine(), fStoreDriftedElectronClusters, and reconfigure().
|
inlinevirtual |
Definition at line 100 of file SimDriftElectrons_module.cc.
References beginJob(), endJob(), produce(), and reconfigure().
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 219 of file SimDriftElectrons_module.cc.
References e, sim::LArG4Parameters::ElectronClusterSize(), fClock, fElectronClusterSize, fElectronLifetime, fGeometry, fISAlg, fLDiff_const, fLifetimeCorr_const, fLongitudinalDiffusion, fMinNumberOfElCluster, fNCryostats, fNTPCs, fRandGauss, fRecipDriftVel, fTDiff_const, fTimeService, fTransverseDiffusion, art::RandomNumberGenerator::getEngine(), larg4::ISCalculationSeparate::Initialize(), LOG_DEBUG, sim::LArG4Parameters::LongitudinalDiffusion(), sim::LArG4Parameters::MinNumberOfElCluster(), n, geo::GeometryCore::Ncryostats(), geo::GeometryCore::NTPC(), art::EngineCreator::rng(), detinfo::DetectorClocks::TPCClock(), and sim::LArG4Parameters::TransverseDiffusion().
Referenced by ~SimDriftElectrons().
|
inherited |
|
inherited |
Definition at line 147 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 162 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 172 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 26 of file EngineCreator.cc.
References art::EngineCreator::rng().
Referenced by evgen::CosmicsGen::CosmicsGen(), rndm::NuRandomService::createEngine(), cluster::fuzzyCluster::fuzzyCluster(), cluster::HoughLineFinder::HoughLineFinder(), art::MixFilter< T >::initEngine_(), larg4::LArG4::LArG4(), evgen::LightSource::LightSource(), evgen::NeutronOsc::NeutronOsc(), evgen::NucleonDecay::NucleonDecay(), opdet::OpMCDigi::OpMCDigi(), opdet::OptDetDigitizer::OptDetDigitizer(), phot::PhotonLibraryPropagation::PhotonLibraryPropagation(), SimDriftElectrons(), evgen::SingleGen::SingleGen(), evgen::SNNueAr40CCGen::SNNueAr40CCGen(), ToyOneShowerGen::ToyOneShowerGen(), and trkf::Track3DKalman::Track3DKalman().
|
inherited |
Definition at line 32 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
inherited |
Definition at line 40 of file EngineCreator.cc.
References art::EngineCreator::rng().
|
protectedinherited |
|
virtual |
Reimplemented from art::EDProducer.
Definition at line 276 of file SimDriftElectrons_module.cc.
Referenced by ~SimDriftElectrons().
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
inlineinherited |
|
inherited |
Definition at line 56 of file ProducerBase.h.
References B, and art::ModuleDescription::moduleLabel().
Referenced by art::ProducerBase::modifiesEvent().
|
inherited |
|
inherited |
Definition at line 190 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inherited |
Definition at line 205 of file Consumer.h.
|
inherited |
|
inherited |
Definition at line 215 of file Consumer.h.
References art::InputTag::instance(), art::InputTag::label(), and art::InputTag::process().
|
inlineinherited |
Definition at line 40 of file ProducerBase.h.
References art::ProducerBase::getProductID().
|
staticinherited |
Definition at line 76 of file Consumer.cc.
Referenced by art::RootOutput::beginSubRun(), art::OutputModule::doBeginRun(), art::OutputModule::doBeginSubRun(), art::OutputModule::doEndRun(), art::OutputModule::doEndSubRun(), art::ProducingService::doPostReadEvent(), art::ProducingService::doPostReadRun(), art::ProducingService::doPostReadSubRun(), art::OutputModule::doWriteEvent(), art::ProcessPackage< L >::postScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::Run >::End::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::postScheduleSignal(), art::BeginEndPackage< Level::SubRun >::End::postScheduleSignal(), art::ProcessPackage< L >::preScheduleSignal(), art::BeginEndPackage< Level::Run >::Begin::preScheduleSignal(), art::BeginEndPackage< Level::SubRun >::Begin::preScheduleSignal(), art::EventProcessor::readEvent(), art::EventProcessor::readRun(), art::EmptyEvent::readRun_(), art::EventProcessor::readSubRun(), and art::EmptyEvent::readSubRun_().
|
protectedinherited |
Definition at line 89 of file Consumer.cc.
References fhicl::ParameterSet::get_if_present().
Referenced by art::EDProducer::doBeginJob(), art::EDFilter::doBeginJob(), and art::EDAnalyzer::doBeginJob().
|
virtual |
Implements art::EDProducer.
Definition at line 281 of file SimDriftElectrons_module.cc.
References sim::SimChannel::AddIonizationElectrons(), larg4::ISCalculationSeparate::CalculateIonizationAndScintillation(), detsim::SimDriftElectrons::ChannelBookKeeping_t::channelIndex, DEFINE_ART_MODULE, geo::TPCGeo::DriftDirection(), e, energy, fChannelMaps, fClock, fDriftClusterPos, fElectronClusterSize, fGeometry, fISAlg, fLDiff_const, fLifetimeCorr_const, fMinNumberOfElCluster, fNCryostats, fnElDiff, fnEnDiff, fNTPCs, fRandGauss, fRecipDriftVel, fSimModuleLabel, fStoreDriftedElectronClusters, fTDiff_const, fTimeService, fXDiff, fYDiff, fZDiff, detinfo::DetectorClocks::G4ToElecTime(), art::DataViewImpl::getByLabel(), geo::kNegX, geo::kPosX, LOG_DEBUG, geo::GeometryCore::NearestChannel(), geo::TPCGeo::Nplanes(), larg4::ISCalculationSeparate::NumberIonizationElectrons(), geo::TPCGeo::Plane0Pitch(), geo::TPCGeo::PlaneLocation(), geo::TPCGeo::PlanePitch(), geo::GeometryCore::PositionToCryostat(), geo::GeometryCore::PositionToTPC(), larg4::ISCalculationSeparate::Reset(), detsim::SimDriftElectrons::ChannelBookKeeping_t::stepList, detinfo::ElecClock::Ticks(), geo::GeometryCore::TPC(), and xx.
Referenced by ~SimDriftElectrons().
void detsim::SimDriftElectrons::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 207 of file SimDriftElectrons_module.cc.
References fSimModuleLabel, fStoreDriftedElectronClusters, fhicl::ParameterSet::get(), and label.
Referenced by SimDriftElectrons(), and ~SimDriftElectrons().
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
private |
Definition at line 148 of file SimDriftElectrons_module.cc.
Referenced by produce().
|
private |
TPC electronics clock.
Definition at line 170 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 164 of file SimDriftElectrons_module.cc.
Referenced by produce().
|
private |
Definition at line 119 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 118 of file SimDriftElectrons_module.cc.
Referenced by beginJob().
|
private |
Handle to the Geometry service.
Definition at line 169 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 174 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 127 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 126 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 123 of file SimDriftElectrons_module.cc.
Referenced by beginJob().
|
private |
Definition at line 120 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 154 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 161 of file SimDriftElectrons_module.cc.
Referenced by produce().
|
private |
Definition at line 162 of file SimDriftElectrons_module.cc.
Referenced by produce().
|
private |
Definition at line 155 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 116 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 129 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 113 of file SimDriftElectrons_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 131 of file SimDriftElectrons_module.cc.
Referenced by produce(), reconfigure(), and SimDriftElectrons().
|
private |
Definition at line 128 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 115 of file SimDriftElectrons_module.cc.
Referenced by beginJob(), and produce().
|
private |
Definition at line 124 of file SimDriftElectrons_module.cc.
Referenced by beginJob().
|
private |
Definition at line 158 of file SimDriftElectrons_module.cc.
Referenced by produce().
|
private |
Definition at line 159 of file SimDriftElectrons_module.cc.
Referenced by produce().
|
private |
Definition at line 160 of file SimDriftElectrons_module.cc.
Referenced by produce().