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 | |
FeatureTracker (fhicl::ParameterSet const &pset) | |
virtual | ~FeatureTracker () |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | beginJob () |
void | produce (art::Event &evt) |
void | endJob () |
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 | GetProjectedEnds (TVector3 xyz, std::vector< double > &uvw, std::vector< double > &t, int tpc=0, int cryo=0) |
std::map< int, std::vector< double > > | ExtractEndPointTimes (std::vector< recob::EndPoint2D > EndPoints) |
std::vector< recob::SpacePoint > | Get3DFeaturePoints (std::vector< recob::EndPoint2D > EndPoints, art::PtrVector< recob::Hit > Hits) |
std::vector< recob::Seed > | GetValidLines (std::vector< recob::SpacePoint > &sps, bool ApplyFilter=true) |
void | RemoveDuplicatePaths (std::vector< recob::Seed > &Seeds, std::vector< int > &ConnectionPoint1, std::vector< int > &ConnectionPoint2) |
recob::Seed | ExtendSeed (recob::Seed TheSeed) |
std::map< int, std::map< int, double > > | GetConnectionMap (std::vector< recob::Seed > &Seeds, double ADCThresh, double FracThresh) |
std::vector< trkf::BezierTrack > | GenerateBezierTracks (std::map< int, std::map< int, double > >, std::vector< recob::Seed >) |
bool | CheckSeedLineInt (recob::Seed &TheSeed) |
Private Attributes | |
std::string | fTruthModuleLabel |
std::string | fHitModuleLabel |
std::string | fCalDataModuleLabel |
trkf::SpacePointAlg | fSP |
corner::CornerFinderAlg | fCorner |
double | fLineIntThreshold |
double | fLineIntFraction |
std::map< int, std::vector< double > > | fEndPointTimes |
art::ServiceHandle< geo::Geometry > | fGeometryHandle |
Definition at line 40 of file FeatureTracker_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 |
Definition at line 128 of file FeatureTracker_module.cc.
References reconfigure().
|
virtual |
Definition at line 136 of file FeatureTracker_module.cc.
|
virtual |
|
private |
Definition at line 517 of file FeatureTracker_module.cc.
References fCorner, fLineIntFraction, fLineIntThreshold, recob::Seed::GetDirection(), recob::Seed::GetPoint(), GetProjectedEnds(), corner::CornerFinderAlg::GetWireDataHist(), and corner::CornerFinderAlg::line_integral().
Referenced by ExtendSeed().
|
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 |
Reimplemented from art::EDProducer.
Definition at line 791 of file FeatureTracker_module.cc.
|
private |
Definition at line 468 of file FeatureTracker_module.cc.
References CheckSeedLineInt(), recob::Seed::GetDirection(), recob::Seed::GetPoint(), recob::Seed::SetDirection(), and recob::Seed::SetPoint().
|
private |
Definition at line 210 of file FeatureTracker_module.cc.
Referenced by produce().
|
private |
|
private |
Definition at line 413 of file FeatureTracker_module.cc.
References art::PtrVector< T >::begin(), detinfo::DetectorProperties::ConvertXToTicks(), art::PtrVector< T >::end(), fEndPointTimes, fSP, trkf::SpacePointAlg::makeSpacePoints(), and art::PtrVector< T >::push_back().
Referenced by produce().
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
private |
Definition at line 560 of file FeatureTracker_module.cc.
References fCorner, trkf::BezierTrack::GetClosestApproach(), trkf::BezierTrack::GetLength(), corner::CornerFinderAlg::line_integrals(), and geo::GeometryCore::NearestWire().
Referenced by produce().
|
inlineinherited |
|
inherited |
Definition at line 56 of file ProducerBase.h.
References B, and art::ModuleDescription::moduleLabel().
Referenced by art::ProducerBase::modifiesEvent().
|
private |
Definition at line 392 of file FeatureTracker_module.cc.
References detinfo::DetectorProperties::ConvertXToTicks().
Referenced by CheckSeedLineInt(), and GetValidLines().
|
private |
Definition at line 230 of file FeatureTracker_module.cc.
References d, fCorner, fLineIntFraction, fLineIntThreshold, GetProjectedEnds(), corner::CornerFinderAlg::GetWireDataHist(), corner::CornerFinderAlg::line_integral(), and RemoveDuplicatePaths().
Referenced by produce().
|
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 154 of file FeatureTracker_module.cc.
References ExtractEndPointTimes(), fCalDataModuleLabel, fCorner, fEndPointTimes, fGeometryHandle, fHitModuleLabel, GenerateBezierTracks(), Get3DFeaturePoints(), corner::CornerFinderAlg::get_feature_points(), art::DataViewImpl::getByLabel(), GetConnectionMap(), GetValidLines(), corner::CornerFinderAlg::GrabWires(), art::PtrVector< T >::push_back(), art::Event::put(), and tca::seeds.
void trkf::FeatureTracker::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 140 of file FeatureTracker_module.cc.
References fCalDataModuleLabel, fHitModuleLabel, fLineIntFraction, fLineIntThreshold, and fhicl::ParameterSet::get().
Referenced by FeatureTracker().
|
private |
Definition at line 314 of file FeatureTracker_module.cc.
References s.
Referenced by GetValidLines().
|
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 66 of file FeatureTracker_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 91 of file FeatureTracker_module.cc.
Referenced by CheckSeedLineInt(), GetConnectionMap(), GetValidLines(), and produce().
|
private |
Definition at line 97 of file FeatureTracker_module.cc.
Referenced by Get3DFeaturePoints(), and produce().
|
private |
Definition at line 98 of file FeatureTracker_module.cc.
Referenced by produce().
|
private |
Definition at line 65 of file FeatureTracker_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 95 of file FeatureTracker_module.cc.
Referenced by CheckSeedLineInt(), GetValidLines(), and reconfigure().
|
private |
Definition at line 94 of file FeatureTracker_module.cc.
Referenced by CheckSeedLineInt(), GetValidLines(), and reconfigure().
|
private |
Definition at line 90 of file FeatureTracker_module.cc.
Referenced by Get3DFeaturePoints().
|
private |
Definition at line 64 of file FeatureTracker_module.cc.