LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Types | |
using | ModuleType = EDProducer |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = Modifier::Table< UserConfig, KeysToIgnore > |
Public Member Functions | |
FeatureVertexFinder (fhicl::ParameterSet const &pset) | |
void | doBeginJob (SharedResources const &resources) |
void | doEndJob () |
void | doRespondToOpenInputFile (FileBlock const &fb) |
void | doRespondToCloseInputFile (FileBlock const &fb) |
void | doRespondToOpenOutputFiles (FileBlock const &fb) |
void | doRespondToCloseOutputFiles (FileBlock const &fb) |
bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
void | fillProductDescriptions () |
void | registerProducts (ProductDescriptions &productsToRegister) |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
std::unique_ptr< Worker > | makeWorker (WorkerParams const &wp) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Private Member Functions | |
void | produce (art::Event &evt) override |
void | Get3dVertexCandidates (detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::EndPoint2D >> const &EndPoints, bool PlaneDet) |
void | Find2dClusterVertexCandidates (detinfo::DetectorPropertiesData const &detProp, art::PtrVector< recob::Cluster > RawClusters, art::FindManyP< recob::Hit > fmhit) |
void | Find3dVtxFrom2dClusterVtxCand (detinfo::DetectorPropertiesData const &detProp, std::vector< double > const &Wire_2dvtx, std::vector< double > const &Time_2dvtx, std::vector< double > const &Plane_2dvtx) |
void | MergeAndSort3dVtxCandidate (std::vector< double > const &merge_vtxX, std::vector< double > const &merge_vtxY, std::vector< double > const &merge_vtxZ, std::vector< double > const &merge_vtxStgth) |
Private Attributes | |
std::string | fClusterModuleLabel |
std::string | fHitModuleLabel |
std::string | fCornerFinderModuleLabel |
std::string | fCCrawlerEndPoint2dModuleLabel |
Double_t | fRunningMode |
bool | GT2PlaneDetector = false |
std::vector< double > | candidate_x = {0.} |
std::vector< double > | candidate_y = {0.} |
std::vector< double > | candidate_z = {0.} |
std::vector< double > | candidate_strength = {0.} |
std::vector< double > | MergeSort3dVtx_xpos = {0.} |
std::vector< double > | MergeSort3dVtx_ypos = {0.} |
std::vector< double > | MergeSort3dVtx_zpos = {0.} |
std::vector< double > | MergeSort3dVtx_strength = {0.} |
std::vector< std::vector< int > > | Cls |
std::vector< double > | dtdwstart = {0.} |
std::vector< double > | dtdwstartError = {0.} |
std::vector< double > | Clu_Plane = {0.} |
std::vector< double > | Clu_StartPos_Wire = {0.} |
std::vector< double > | Clu_StartPos_TimeTick = {0.} |
std::vector< double > | Clu_EndPos_Wire = {0.} |
std::vector< double > | Clu_EndPos_TimeTick = {0.} |
std::vector< double > | Clu_Slope = {0.} |
std::vector< double > | Clu_Yintercept = {0.} |
std::vector< double > | Clu_Yintercept2 = {0.} |
std::vector< double > | Clu_Length = {0.} |
std::vector< double > | TwoDvtx_wire = {0.} |
std::vector< double > | TwoDvtx_time = {0.} |
std::vector< double > | TwoDvtx_plane = {0.} |
Definition at line 77 of file FeatureVertexFinder_module.cc.
|
inherited |
Definition at line 17 of file EDProducer.h.
|
inherited |
Definition at line 26 of file Producer.h.
|
explicit |
Definition at line 163 of file FeatureVertexFinder_module.cc.
References Cls, fCCrawlerEndPoint2dModuleLabel, fClusterModuleLabel, fCornerFinderModuleLabel, fHitModuleLabel, and fRunningMode.
|
protectedinherited |
Definition at line 61 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumes().
|
protectedinherited |
|
protectedinherited |
Definition at line 75 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesMany().
|
protectedinherited |
|
inherited |
Definition at line 68 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesView().
|
inherited |
Definition at line 22 of file Producer.cc.
References art::detail::Producer::beginJobWithFrame(), and art::detail::Producer::setupQueues().
|
inherited |
Definition at line 65 of file Producer.cc.
References art::detail::Producer::beginRunWithFrame(), art::RangeSet::forRun(), art::RunPrincipal::makeRun(), r, art::RunPrincipal::runID(), and art::ModuleContext::scheduleID().
|
inherited |
Definition at line 85 of file Producer.cc.
References art::detail::Producer::beginSubRunWithFrame(), art::RangeSet::forSubRun(), art::SubRunPrincipal::makeSubRun(), art::ModuleContext::scheduleID(), and art::SubRunPrincipal::subRunID().
|
inherited |
Definition at line 30 of file Producer.cc.
References art::detail::Producer::endJobWithFrame().
|
inherited |
Definition at line 75 of file Producer.cc.
References art::detail::Producer::endRunWithFrame(), art::RunPrincipal::makeRun(), r, art::ModuleContext::scheduleID(), and art::Principal::seenRanges().
|
inherited |
Definition at line 95 of file Producer.cc.
References art::detail::Producer::endSubRunWithFrame(), art::SubRunPrincipal::makeSubRun(), art::ModuleContext::scheduleID(), and art::Principal::seenRanges().
|
inherited |
Definition at line 105 of file Producer.cc.
References art::detail::Producer::checkPutProducts_, e, art::EventPrincipal::makeEvent(), art::detail::Producer::produceWithFrame(), and art::ModuleContext::scheduleID().
|
inherited |
Definition at line 44 of file Producer.cc.
References art::detail::Producer::respondToCloseInputFileWithFrame().
|
inherited |
Definition at line 58 of file Producer.cc.
References art::detail::Producer::respondToCloseOutputFilesWithFrame().
|
inherited |
Definition at line 37 of file Producer.cc.
References art::detail::Producer::respondToOpenInputFileWithFrame().
|
inherited |
Definition at line 51 of file Producer.cc.
References art::detail::Producer::respondToOpenOutputFilesWithFrame().
|
inherited |
Definition at line 10 of file Modifier.cc.
References art::ProductRegistryHelper::fillDescriptions(), and art::ModuleBase::moduleDescription().
|
private |
Definition at line 592 of file FeatureVertexFinder_module.cc.
References util::abs(), art::PtrVector< T >::at(), Cls, Clu_EndPos_TimeTick, Clu_EndPos_Wire, Clu_Length, Clu_Plane, Clu_Slope, Clu_StartPos_TimeTick, Clu_StartPos_Wire, Clu_Yintercept, Clu_Yintercept2, dtdwstart, dtdwstartError, geo::GeometryCore::Iterate(), n, detinfo::DetectorPropertiesData::NumberTimeSamples(), geo::GeometryCore::Nwires(), art::PtrVector< T >::size(), util::size(), TwoDvtx_plane, TwoDvtx_time, and TwoDvtx_wire.
Referenced by produce().
|
private |
Definition at line 879 of file FeatureVertexFinder_module.cc.
References util::abs(), candidate_strength, candidate_x, candidate_y, candidate_z, geo::GeometryCore::ChannelsIntersect(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::GeometryCore::Iterate(), and geo::GeometryCore::PlaneWireToChannel().
Referenced by produce().
|
private |
Definition at line 477 of file FeatureVertexFinder_module.cc.
References util::abs(), candidate_strength, candidate_x, candidate_y, candidate_z, geo::GeometryCore::ChannelsIntersect(), detinfo::DetectorPropertiesData::ConvertTicksToX(), geo::GeometryCore::IntersectionPoint(), geo::GeometryCore::Iterate(), geo::PlaneID::Plane, geo::GeometryCore::PlaneWireToChannel(), util::size(), geo::WireID::WireID(), y, z, and zz.
Referenced by produce().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
inherited |
Definition at line 37 of file ModuleBase.cc.
References art::ModuleBase::doMakeWorker(), and art::NumBranchTypes.
|
protectedinherited |
Definition at line 82 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsume().
|
protectedinherited |
Definition at line 96 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeMany().
|
protectedinherited |
|
inherited |
Definition at line 89 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeView().
|
private |
Definition at line 1012 of file FeatureVertexFinder_module.cc.
References util::abs(), DEFINE_ART_MODULE, MergeSort3dVtx_strength, MergeSort3dVtx_xpos, MergeSort3dVtx_ypos, and MergeSort3dVtx_zpos.
Referenced by produce().
|
inherited |
Definition at line 13 of file ModuleBase.cc.
References art::errors::LogicError.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::doWriteEvent(), art::Modifier::fillProductDescriptions(), art::OutputModule::makePlugins_(), art::OutputWorker::OutputWorker(), reco::shower::LArPandoraModularShowerCreation::produce(), art::Modifier::registerProducts(), and art::OutputModule::registerProducts().
|
overrideprivatevirtual |
Implements art::EDProducer.
Definition at line 187 of file FeatureVertexFinder_module.cc.
References candidate_strength, candidate_x, candidate_y, candidate_z, Clu_EndPos_TimeTick, Clu_EndPos_Wire, Clu_Length, Clu_Plane, Clu_Slope, Clu_StartPos_TimeTick, Clu_StartPos_Wire, Clu_Yintercept, Clu_Yintercept2, dtdwstart, dtdwstartError, fCCrawlerEndPoint2dModuleLabel, fClusterModuleLabel, fCornerFinderModuleLabel, art::fill_ptr_vector(), Find2dClusterVertexCandidates(), Find3dVtxFrom2dClusterVtxCand(), fRunningMode, Get3dVertexCandidates(), art::ProductRetriever::getByLabel(), GT2PlaneDetector, geo::GeometryCore::Iterate(), MergeAndSort3dVtxCandidate(), MergeSort3dVtx_strength, MergeSort3dVtx_xpos, MergeSort3dVtx_ypos, MergeSort3dVtx_zpos, geo::GeometryCore::NearestChannel(), geo::GeometryCore::NearestWireID(), art::PtrVector< T >::push_back(), art::Event::put(), TwoDvtx_plane, TwoDvtx_time, TwoDvtx_wire, geo::GeometryCore::View(), and geo::WireID::Wire.
|
inherited |
Definition at line 16 of file Modifier.cc.
References art::ModuleBase::moduleDescription(), and art::ProductRegistryHelper::registerProducts().
|
inherited |
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
private |
Definition at line 126 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 123 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 124 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 125 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 137 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder(), and Find2dClusterVertexCandidates().
|
private |
Definition at line 145 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 144 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 150 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 140 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 147 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 142 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 141 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 148 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 149 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 138 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 139 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 116 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder(), and produce().
|
private |
Definition at line 113 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder(), and produce().
|
private |
Definition at line 115 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder(), and produce().
|
private |
Definition at line 114 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder().
|
private |
Definition at line 117 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder(), and produce().
|
private |
Definition at line 119 of file FeatureVertexFinder_module.cc.
Referenced by produce().
|
private |
Definition at line 133 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 130 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 131 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 132 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 156 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 155 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 154 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().