![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Types | |
| using | ModuleType = EDProducer |
| using | WorkerType = WorkerT< EDProducer > |
| template<typename UserConfig , typename KeysToIgnore = void> | |
| using | Table = ProducerBase::Table< UserConfig, KeysToIgnore > |
Public Member Functions | |
| Track3DKalmanHit (fhicl::ParameterSet const &pset) | |
| virtual void | reconfigure (fhicl::ParameterSet const &pset) |
| virtual void | produce (art::Event &e) override |
| virtual void | beginJob () override |
| Begin job method. More... | |
| virtual void | endJob () override |
| End job method. More... | |
| 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 Member Functions | |
| void | prepareForInput () |
| KalmanInputs | getInput (const art::Event &evt) const |
| Hits | getClusteredHits (const art::Event &evt) const |
| Fill a collection using clustered hits. More... | |
| KalmanInputs | getPFParticleStuff (const art::Event &evt) const |
| If UsePFParticles is true use this method to fill in hits. More... | |
| Hits | getAllHits (const art::Event &evt) const |
| If both UseClusteredHits and UsePFParticles is false use this method to fill in hits. More... | |
| void | createOutputs (const art::Event &evt, const std::vector< KalmanOutput > &outputs, const KalmanInputs &inputs, std::vector< recob::Track > &tracks, std::vector< recob::SpacePoint > &spts, art::Assns< recob::Track, recob::Hit > &th_assn, art::Assns< recob::Track, recob::Hit, recob::TrackHitMeta > &thm_assn, art::Assns< recob::Track, recob::SpacePoint > &tsp_assn, art::Assns< recob::SpacePoint, recob::Hit > &sph_assn, art::Assns< recob::PFParticle, recob::Track > &pfPartTrack_assns) |
| void | fillHistograms (std::vector< KalmanOutput > &outputs) |
| Fill Histograms method. More... | |
Private Attributes | |
| bool | fHist |
| Make histograms. More... | |
| bool | fUseClusterHits |
| Use clustered hits as input. More... | |
| bool | fUsePFParticleHits |
| Use PFParticle hits as input. More... | |
| bool | fUsePFParticleSeeds |
| Use PFParticle seeds. More... | |
| std::string | fHitModuleLabel |
| Unclustered Hits. More... | |
| std::string | fClusterModuleLabel |
| Clustered Hits. More... | |
| std::string | fPFParticleModuleLabel |
| PFParticle label. More... | |
| Track3DKalmanHitAlg | fTKHAlg |
| Track3DKalmanHit algorithm. More... | |
| SpacePointAlg | fSpacePointAlg |
| Space point algorithm. More... | |
| TH1F * | fHIncChisq |
| Incremental chisquare. More... | |
| TH1F * | fHPull |
| Hit pull. More... | |
| int | fNumEvent |
| Number of events seen. More... | |
Definition at line 69 of file Track3DKalmanHit_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 |
Constructor.
Arguments:
p - Fcl parameters.
Definition at line 131 of file Track3DKalmanHit_module.cc.
References fClusterModuleLabel, fHitModuleLabel, fUseClusterHits, and reconfigure().
|
overridevirtual |
Begin job method.
Reimplemented from art::EDProducer.
Definition at line 187 of file Track3DKalmanHit_module.cc.
References dir, fHIncChisq, fHist, fHPull, art::TFileDirectory::make(), and art::TFileDirectory::mkdir().
|
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(), detsim::SimDriftElectrons::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().
|
private |
Definition at line 372 of file Track3DKalmanHit_module.cc.
References art::Assns< L, R, D >::addSingle(), trkf::SpacePointAlg::fillSpacePoints(), fSpacePointAlg, fUsePFParticleHits, trkf::SpacePointAlg::getAssociatedHits(), recob::Track::NumberTrajectoryPoints(), art::Event::productGetter(), art::PtrVector< T >::size(), and track.
Referenced by produce().
|
protectedinherited |
|
overridevirtual |
End job method.
Reimplemented from art::EDProducer.
Definition at line 237 of file Track3DKalmanHit_module.cc.
References fNumEvent.
|
private |
Fill Histograms method.
Definition at line 462 of file Track3DKalmanHit_module.cc.
References fHIncChisq, fHPull, trkf::KHitTrack::getHit(), trkf::KHit< N >::getResError(), trkf::KHit< N >::getResVector(), and trkf::KGTrack::getTrackMap().
Referenced by produce().
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
private |
If both UseClusteredHits and UsePFParticles is false use this method to fill in hits.
Definition at line 284 of file Track3DKalmanHit_module.cc.
References fHitModuleLabel, art::DataViewImpl::getByLabel(), hits(), art::Handle< T >::isValid(), art::PtrVector< T >::push_back(), and art::PtrVector< T >::reserve().
Referenced by getInput().
|
private |
Fill a collection using clustered hits.
Definition at line 266 of file Track3DKalmanHit_module.cc.
References art::PtrVector< T >::end(), fClusterModuleLabel, art::DataViewImpl::getByLabel(), hits(), art::PtrVector< T >::insert(), and art::Handle< T >::isValid().
Referenced by getInput().
|
private |
Definition at line 257 of file Track3DKalmanHit_module.cc.
References fUseClusterHits, fUsePFParticleHits, getAllHits(), getClusteredHits(), and getPFParticleStuff().
Referenced by produce().
|
private |
If UsePFParticles is true use this method to fill in hits.
Definition at line 300 of file Track3DKalmanHit_module.cc.
References art::PtrVector< T >::end(), fClusterModuleLabel, fPFParticleModuleLabel, fUsePFParticleSeeds, art::DataViewImpl::getByLabel(), hits(), trkf::KalmanInput::hits, art::PtrVector< T >::insert(), art::Handle< T >::isValid(), trkf::KalmanInput::pfPartPtr, trkf::KalmanInput::seedhits, tca::seeds, trkf::KalmanInput::seeds, and x.
Referenced by getInput().
|
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_().
|
private |
Definition at line 247 of file Track3DKalmanHit_module.cc.
References trkf::SpacePointAlg::clearHitMap(), and fSpacePointAlg.
Referenced by produce().
|
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().
|
overridevirtual |
Produce method.
Implements art::EDProducer.
Definition at line 202 of file Track3DKalmanHit_module.cc.
References trkf::SpacePointAlg::clearHitMap(), createOutputs(), fHist, fillHistograms(), fNumEvent, fSpacePointAlg, fTKHAlg, getInput(), trkf::Track3DKalmanHitAlg::makeTracks(), prepareForInput(), and art::Event::put().
|
virtual |
Reconfigure method.
Arguments:
p - Fcl parameter set.
Definition at line 168 of file Track3DKalmanHit_module.cc.
References fClusterModuleLabel, fHist, fHitModuleLabel, fPFParticleModuleLabel, fSpacePointAlg, fTKHAlg, fUseClusterHits, fUsePFParticleHits, fUsePFParticleSeeds, fhicl::ParameterSet::get(), trkf::Track3DKalmanHitAlg::reconfigure(), and trkf::SpacePointAlg::reconfigure().
Referenced by Track3DKalmanHit().
|
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 |
Clustered Hits.
Definition at line 109 of file Track3DKalmanHit_module.cc.
Referenced by getClusteredHits(), getPFParticleStuff(), reconfigure(), and Track3DKalmanHit().
|
private |
Incremental chisquare.
Definition at line 115 of file Track3DKalmanHit_module.cc.
Referenced by beginJob(), and fillHistograms().
|
private |
Make histograms.
Definition at line 104 of file Track3DKalmanHit_module.cc.
Referenced by beginJob(), produce(), and reconfigure().
|
private |
Unclustered Hits.
Definition at line 108 of file Track3DKalmanHit_module.cc.
Referenced by getAllHits(), reconfigure(), and Track3DKalmanHit().
|
private |
Hit pull.
Definition at line 116 of file Track3DKalmanHit_module.cc.
Referenced by beginJob(), and fillHistograms().
|
private |
Number of events seen.
Definition at line 119 of file Track3DKalmanHit_module.cc.
|
private |
PFParticle label.
Definition at line 110 of file Track3DKalmanHit_module.cc.
Referenced by getPFParticleStuff(), and reconfigure().
|
private |
Space point algorithm.
Definition at line 112 of file Track3DKalmanHit_module.cc.
Referenced by createOutputs(), prepareForInput(), produce(), and reconfigure().
|
private |
Track3DKalmanHit algorithm.
Definition at line 111 of file Track3DKalmanHit_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Use clustered hits as input.
Definition at line 105 of file Track3DKalmanHit_module.cc.
Referenced by getInput(), reconfigure(), and Track3DKalmanHit().
|
private |
Use PFParticle hits as input.
Definition at line 106 of file Track3DKalmanHit_module.cc.
Referenced by createOutputs(), getInput(), and reconfigure().
|
private |
Use PFParticle seeds.
Definition at line 107 of file Track3DKalmanHit_module.cc.
Referenced by getPFParticleStuff(), and reconfigure().