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 | |
FeatureVertexFinder (fhicl::ParameterSet const &pset) | |
virtual | ~FeatureVertexFinder () |
void | beginJob () |
void | reconfigure (fhicl::ParameterSet const &p) |
void | produce (art::Event &evt) |
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 | Get3dVertexCandidates (std::vector< art::Ptr< recob::EndPoint2D > > EndPoints, bool PlaneDet) |
void | Find2dClusterVertexCandidates (art::PtrVector< recob::Cluster > RawClusters, art::FindManyP< recob::Hit > fmhit) |
void | Find3dVtxFrom2dClusterVtxCand (std::vector< double > Wire_2dvtx, std::vector< double > Time_2dvtx, std::vector< double > Plane_2dvtx) |
void | MergeAndSort3dVtxCandidate (std::vector< double > merge_vtxX, std::vector< double > merge_vtxY, std::vector< double > merge_vtxZ, std::vector< double > 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 110 of file FeatureVertexFinder_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 214 of file FeatureVertexFinder_module.cc.
References Cls, and reconfigure().
|
virtual |
Definition at line 233 of file FeatureVertexFinder_module.cc.
|
virtual |
|
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 |
|
private |
Definition at line 807 of file FeatureVertexFinder_module.cc.
References 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, geo::GeometryCore::Cryostat(), dtdwstart, dtdwstartError, n, geo::GeometryCore::Ncryostats(), geo::TPCGeo::Nplanes(), geo::CryostatGeo::NTPC(), detinfo::DetectorProperties::NumberTimeSamples(), geo::GeometryCore::Nwires(), art::PtrVector< T >::size(), geo::CryostatGeo::TPC(), TwoDvtx_plane, TwoDvtx_time, and TwoDvtx_wire.
Referenced by produce().
|
private |
Definition at line 1146 of file FeatureVertexFinder_module.cc.
References candidate_strength, candidate_x, candidate_y, candidate_z, geo::GeometryCore::ChannelsIntersect(), detinfo::DetectorProperties::ConvertTicksToX(), geo::GeometryCore::Cryostat(), geo::GeometryCore::Ncryostats(), geo::CryostatGeo::NTPC(), and geo::GeometryCore::PlaneWireToChannel().
Referenced by produce().
|
private |
Definition at line 662 of file FeatureVertexFinder_module.cc.
References candidate_strength, candidate_x, candidate_y, candidate_z, geo::GeometryCore::ChannelsIntersect(), detinfo::DetectorProperties::ConvertTicksToX(), geo::GeometryCore::Cryostat(), geo::GeometryCore::IntersectionPoint(), geo::GeometryCore::Ncryostats(), geo::CryostatGeo::NTPC(), geo::GeometryCore::PlaneWireToChannel(), y, z, and zz.
Referenced by produce().
|
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().
|
private |
Definition at line 1327 of file FeatureVertexFinder_module.cc.
References DEFINE_ART_MODULE, MergeSort3dVtx_strength, MergeSort3dVtx_xpos, MergeSort3dVtx_ypos, and MergeSort3dVtx_zpos.
Referenced by produce().
|
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 259 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, detinfo::DetectorProperties::ConvertXToTicks(), geo::GeometryCore::Cryostat(), dtdwstart, dtdwstartError, fCCrawlerEndPoint2dModuleLabel, fClusterModuleLabel, fCornerFinderModuleLabel, art::fill_ptr_vector(), Find2dClusterVertexCandidates(), Find3dVtxFrom2dClusterVtxCand(), fRunningMode, Get3dVertexCandidates(), art::DataViewImpl::getByLabel(), GT2PlaneDetector, MergeAndSort3dVtxCandidate(), MergeSort3dVtx_strength, MergeSort3dVtx_xpos, MergeSort3dVtx_ypos, MergeSort3dVtx_zpos, geo::GeometryCore::Ncryostats(), geo::GeometryCore::NearestChannel(), geo::GeometryCore::NearestWire(), geo::TPCGeo::Nplanes(), geo::CryostatGeo::NTPC(), art::PtrVector< T >::push_back(), art::Event::put(), geo::CryostatGeo::TPC(), TwoDvtx_plane, TwoDvtx_time, TwoDvtx_wire, and geo::GeometryCore::View().
void vertex::FeatureVertexFinder::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 238 of file FeatureVertexFinder_module.cc.
References fCCrawlerEndPoint2dModuleLabel, fClusterModuleLabel, fCornerFinderModuleLabel, fHitModuleLabel, fRunningMode, and fhicl::ParameterSet::get().
Referenced by FeatureVertexFinder().
|
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 157 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 154 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 155 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 156 of file FeatureVertexFinder_module.cc.
Referenced by Find3dVtxFrom2dClusterVtxCand(), Get3dVertexCandidates(), and produce().
|
private |
Definition at line 172 of file FeatureVertexFinder_module.cc.
Referenced by FeatureVertexFinder(), and Find2dClusterVertexCandidates().
|
private |
Definition at line 180 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 179 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 185 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 175 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 182 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 177 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 176 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 183 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 184 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 173 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 174 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 145 of file FeatureVertexFinder_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 142 of file FeatureVertexFinder_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 144 of file FeatureVertexFinder_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 143 of file FeatureVertexFinder_module.cc.
Referenced by reconfigure().
|
private |
Definition at line 147 of file FeatureVertexFinder_module.cc.
Referenced by produce(), and reconfigure().
|
private |
Definition at line 149 of file FeatureVertexFinder_module.cc.
Referenced by produce().
|
private |
Definition at line 166 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 163 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 164 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 165 of file FeatureVertexFinder_module.cc.
Referenced by MergeAndSort3dVtxCandidate(), and produce().
|
private |
Definition at line 193 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 192 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().
|
private |
Definition at line 191 of file FeatureVertexFinder_module.cc.
Referenced by Find2dClusterVertexCandidates(), and produce().