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 | |
TrackKalmanCheater (fhicl::ParameterSet const &pset) | |
virtual | ~TrackKalmanCheater () |
Destructor. More... | |
virtual void | reconfigure (fhicl::ParameterSet const &pset) |
virtual void | produce (art::Event &e) |
virtual void | beginJob () |
Begin job method. More... | |
virtual void | endJob () |
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 Attributes | |
bool | fHist |
Make histograms. More... | |
KalmanFilterAlg | fKFAlg |
Kalman filter algorithm. More... | |
SpacePointAlg | fSpacePointAlg |
Space point algorithm. More... | |
bool | fUseClusterHits |
Use cluster hits or all hits? More... | |
std::string | fHitModuleLabel |
Unclustered Hits. More... | |
std::string | fClusterModuleLabel |
Clustered Hits. More... | |
double | fMaxTcut |
Maximum delta ray energy in MeV for restricted dE/dx. More... | |
const Propagator * | fProp |
Propagator. More... | |
TH1F * | fHIncChisq |
Incremental chisquare. More... | |
TH1F * | fHPull |
Hit pull. More... | |
int | fNumEvent |
Number of events seen. More... | |
int | fNumTrack |
Number of tracks produced. More... | |
Definition at line 54 of file TrackKalmanCheater_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 107 of file TrackKalmanCheater_module.cc.
References fClusterModuleLabel, fHitModuleLabel, fUseClusterHits, and reconfigure().
|
virtual |
|
virtual |
Begin job method.
Reimplemented from art::EDProducer.
Definition at line 163 of file TrackKalmanCheater_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().
|
protectedinherited |
|
virtual |
End job method.
Reimplemented from art::EDProducer.
Definition at line 498 of file TrackKalmanCheater_module.cc.
References fNumEvent, and fNumTrack.
|
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 |
Produce method.
Arguments:
e - Art event.
This method extracts Hit from the event and produces and adds Track objects.
Implements art::EDProducer.
Definition at line 187 of file TrackKalmanCheater_module.cc.
References trkf::Surface::BACKWARD, art::PtrVector< T >::begin(), sim::ParticleList::begin(), trkf::KalmanFilterAlg::buildTrack(), trkf::SpacePointAlg::clearHitMap(), util::CreateAssn(), dir, art::PtrVector< T >::empty(), art::PtrVector< T >::end(), sim::ParticleList::end(), fClusterModuleLabel, fHIncChisq, fHist, fHitModuleLabel, fHPull, trkf::KHitContainerWireX::fill(), trkf::KGTrack::fillHits(), trkf::SpacePointAlg::fillSpacePoints(), trkf::KGTrack::fillTrack(), trkf::KalmanFilterAlg::fitMomentum(), fKFAlg, fNumEvent, fNumTrack, trkf::Surface::FORWARD, trkf::Propagator::FORWARD, fProp, fSpacePointAlg, fUseClusterHits, trkf::SpacePointAlg::getAssociatedHits(), art::DataViewImpl::getByLabel(), trkf::KHitTrack::getHit(), trkf::KHit< N >::getResError(), trkf::KHit< N >::getResVector(), trkf::KGTrack::getTrackMap(), hits(), cheat::BackTrackerService::HitToTrackIDEs(), ipart, mf::isDebugEnabled(), art::Handle< T >::isValid(), simb::MCParticle::Momentum(), part, cheat::ParticleInventoryService::ParticleList(), simb::MCParticle::PdgCode(), geo::PlaneID::Plane, simb::MCParticle::Position(), art::Event::productGetter(), art::PtrVector< T >::push_back(), art::Event::put(), art::PtrVector< T >::reserve(), trkf::KalmanFilterAlg::setPlane(), art::PtrVector< T >::size(), trkf::KalmanFilterAlg::smoothTrackIter(), simb::MCParticle::StatusCode(), simb::MCParticle::TrackId(), trkf::KGTrack::TrackMap(), trkf::KalmanFilterAlg::updateMomentum(), lar::dump::vector(), recob::Hit::WireID(), x, y, and z.
|
virtual |
Reconfigure method.
Arguments:
p - Fcl parameter set.
Definition at line 147 of file TrackKalmanCheater_module.cc.
References fClusterModuleLabel, fHist, fHitModuleLabel, fKFAlg, fMaxTcut, fProp, fSpacePointAlg, fUseClusterHits, fhicl::ParameterSet::get(), trkf::KalmanFilterAlg::reconfigure(), and trkf::SpacePointAlg::reconfigure().
Referenced by TrackKalmanCheater().
|
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 78 of file TrackKalmanCheater_module.cc.
Referenced by produce(), reconfigure(), and TrackKalmanCheater().
|
private |
Incremental chisquare.
Definition at line 86 of file TrackKalmanCheater_module.cc.
Referenced by beginJob(), and produce().
|
private |
Make histograms.
Definition at line 73 of file TrackKalmanCheater_module.cc.
Referenced by beginJob(), produce(), and reconfigure().
|
private |
Unclustered Hits.
Definition at line 77 of file TrackKalmanCheater_module.cc.
Referenced by produce(), reconfigure(), and TrackKalmanCheater().
|
private |
Hit pull.
Definition at line 87 of file TrackKalmanCheater_module.cc.
Referenced by beginJob(), and produce().
|
private |
Kalman filter algorithm.
Definition at line 74 of file TrackKalmanCheater_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Maximum delta ray energy in MeV for restricted dE/dx.
Definition at line 79 of file TrackKalmanCheater_module.cc.
Referenced by reconfigure().
|
private |
Number of events seen.
Definition at line 91 of file TrackKalmanCheater_module.cc.
|
private |
Number of tracks produced.
Definition at line 92 of file TrackKalmanCheater_module.cc.
|
private |
Definition at line 82 of file TrackKalmanCheater_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Space point algorithm.
Definition at line 75 of file TrackKalmanCheater_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Use cluster hits or all hits?
Definition at line 76 of file TrackKalmanCheater_module.cc.
Referenced by produce(), reconfigure(), and TrackKalmanCheater().