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 | |
EMShower3D (fhicl::ParameterSet const &p) | |
EMShower3D (EMShower3D const &)=delete | |
EMShower3D (EMShower3D &&)=delete | |
EMShower3D & | operator= (EMShower3D const &)=delete |
EMShower3D & | operator= (EMShower3D &&)=delete |
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 &e) override |
recob::Track | ConvertFrom (detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, pma::Track3D &src) |
recob::Track | ConvertFrom2 (detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, pma::Track3D &src) |
recob::Cluster | ConvertFrom (const std::vector< art::Ptr< recob::Hit >> &src) |
std::vector< ems::DirOfGamma * > | CollectShower2D (detinfo::DetectorPropertiesData const &detProp, art::Event const &e) |
void | Link (detinfo::DetectorPropertiesData const &detProp, std::vector< ems::DirOfGamma * > input) |
void | Reoptimize (detinfo::DetectorPropertiesData const &detProp) |
void | Make3DSeg (detinfo::DetectorPropertiesData const &detProp, std::vector< ems::DirOfGamma * > pair) |
bool | Validate (detinfo::DetectorPropertiesData const &detProp, std::vector< ems::DirOfGamma * > input, size_t id1, size_t id2, size_t c1, size_t c2, size_t plane3) |
void | FilterOutSmallParts (detinfo::DetectorPropertiesData const &detProp, double r2d, const std::vector< art::Ptr< recob::Hit >> &hits_in, std::vector< art::Ptr< recob::Hit >> &hits_out) |
bool | GetCloseHits (detinfo::DetectorPropertiesData const &detProp, double r2d, const std::vector< art::Ptr< recob::Hit >> &hits_in, std::vector< size_t > &used, std::vector< art::Ptr< recob::Hit >> &hits_out) |
bool | Has (const std::vector< size_t > &v, size_t idx) |
size_t | LinkCandidates (detinfo::DetectorPropertiesData const &detProp, std::vector< ems::DirOfGamma * > input, size_t id) |
Private Attributes | |
std::vector< IniSeg > | fInisegs |
std::vector< IniSeg > | fSeltracks |
std::vector< IniSeg > | fPMA3D |
std::vector< std::vector< art::Ptr< recob::Hit > > > | fClusters |
std::vector< size_t > | fClustersNotUsed |
std::vector< size_t > | fTracksNotUsed |
unsigned int | fTrkIndex |
unsigned int | fClIndex |
unsigned int | fIniIndex |
std::string | fCluModuleLabel |
std::string | fTrk3DModuleLabel |
pma::ProjectionMatchingAlg | fProjectionMatchingAlg |
calo::CalorimetryAlg | fCalorimetryAlg |
art::Handle< std::vector< recob::Cluster > > | fCluListHandle |
Definition at line 53 of file EMShower3D_module.cc.
|
inherited |
Definition at line 17 of file EDProducer.h.
|
inherited |
Definition at line 26 of file Producer.h.
|
explicit |
Definition at line 131 of file EMShower3D_module.cc.
References fCalorimetryAlg, fCluModuleLabel, fProjectionMatchingAlg, and fTrk3DModuleLabel.
|
delete |
|
delete |
|
private |
Definition at line 581 of file EMShower3D_module.cc.
References fb(), fCluListHandle, fCluModuleLabel, fClusters, FilterOutSmallParts(), art::ProductRetriever::getByLabel(), and ems::DirOfGamma::GetHits2D().
Referenced by produce().
|
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().
|
private |
Definition at line 179 of file EMShower3D_module.cc.
References pma::Track3D::back(), recob::tracking::convertCollToPoint(), recob::tracking::convertCollToVector(), detinfo::DetectorPropertiesData::ConvertXToTicks(), pma::Hit3D::Cryo(), calo::CalorimetryAlg::dEdx_AREA(), fCalorimetryAlg, fIniIndex, fProjectionMatchingAlg, pma::Track3D::front(), pma::Hit3D::Point3D(), pma::ProjectionMatchingAlg::selectInitialHits(), pma::Track3D::size(), and pma::Hit3D::TPC().
Referenced by produce().
|
private |
|
private |
Definition at line 241 of file EMShower3D_module.cc.
References pma::Track3D::back(), recob::tracking::convertCollToPoint(), recob::tracking::convertCollToVector(), detinfo::DetectorPropertiesData::ConvertXToTicks(), pma::Hit3D::Cryo(), calo::CalorimetryAlg::dEdx_AREA(), fCalorimetryAlg, fIniIndex, fProjectionMatchingAlg, pma::Track3D::front(), pma::Hit3D::Point3D(), pma::ProjectionMatchingAlg::selectInitialHits(), pma::Track3D::size(), and pma::Hit3D::TPC().
Referenced by produce().
|
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 939 of file EMShower3D_module.cc.
References DEFINE_ART_MODULE, and GetCloseHits().
Referenced by CollectShower2D().
|
private |
Definition at line 864 of file EMShower3D_module.cc.
References geo::CryostatID::Cryostat, pma::Dist2(), Has(), recob::Hit::PeakTime(), geo::PlaneID::Plane, geo::TPCID::TPC, geo::WireID::Wire, pma::WireDriftToCm(), and recob::Hit::WireID().
Referenced by FilterOutSmallParts().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
private |
Definition at line 857 of file EMShower3D_module.cc.
Referenced by GetCloseHits().
|
private |
Definition at line 611 of file EMShower3D_module.cc.
References detinfo::DetectorPropertiesData::ConvertTicksToX(), larg4::dist(), LinkCandidates(), Make3DSeg(), t1, and t2.
Referenced by produce().
|
private |
Definition at line 683 of file EMShower3D_module.cc.
References geo::GeometryCore::Cryostat(), larg4::dist(), Make3DSeg(), geo::CryostatGeo::MaxPlanes(), util::size(), t1, t2, and Validate().
Referenced by Link().
|
private |
Definition at line 761 of file EMShower3D_module.cc.
References pma::Track3D::back(), pma::ProjectionMatchingAlg::buildSegment(), fInisegs, pma::Track3D::Flip(), fProjectionMatchingAlg, and pma::Hit3D::Hit2DPtr().
Referenced by Link(), and LinkCandidates().
|
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().
|
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().
|
delete |
|
delete |
|
overrideprivatevirtual |
Implements art::EDProducer.
Definition at line 304 of file EMShower3D_module.cc.
References art::PtrVector< T >::clear(), CollectShower2D(), ConvertFrom(), ConvertFrom2(), util::CreateAssn(), fb(), fClIndex, fCluListHandle, fCluModuleLabel, fClusters, fClustersNotUsed, fIniIndex, fInisegs, fPMA3D, fSeltracks, fTrkIndex, art::ProductRetriever::getByLabel(), pma::Hit3D::Hit2DPtr(), Link(), pma::Hit3D::Point3D(), art::PtrVector< T >::push_back(), art::Event::put(), Reoptimize(), art::PtrVector< T >::size(), and track.
|
inherited |
Definition at line 16 of file Modifier.cc.
References art::ModuleBase::moduleDescription(), and art::ProductRegistryHelper::registerProducts().
|
private |
Definition at line 498 of file EMShower3D_module.cc.
References pma::Track3D::back(), pma::ProjectionMatchingAlg::buildSegment(), larg4::dist(), pma::Dist2(), util::empty(), pma::Track3D::Flip(), fProjectionMatchingAlg, pma::Track3D::front(), fSeltracks, hits(), pma::Hit3D::Point3D(), and track.
Referenced by produce().
|
inherited |
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
private |
Definition at line 808 of file EMShower3D_module.cc.
References pma::Track3D::back(), pma::Track3D::BackCryo(), pma::Track3D::BackTPC(), pma::ProjectionMatchingAlg::buildSegment(), c1, c2, pma::Dist2(), fProjectionMatchingAlg, pma::Track3D::front(), pma::Track3D::FrontCryo(), pma::Track3D::FrontTPC(), pma::GetProjectionToPlane(), pma::Hit3D::Point3D(), and track.
Referenced by LinkCandidates().
|
private |
Definition at line 126 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), ConvertFrom2(), and EMShower3D().
|
private |
Definition at line 119 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), and produce().
|
private |
Definition at line 128 of file EMShower3D_module.cc.
Referenced by CollectShower2D(), and produce().
|
private |
Definition at line 122 of file EMShower3D_module.cc.
Referenced by CollectShower2D(), EMShower3D(), and produce().
|
private |
Definition at line 113 of file EMShower3D_module.cc.
Referenced by CollectShower2D(), and produce().
|
private |
Definition at line 115 of file EMShower3D_module.cc.
Referenced by produce().
|
private |
Definition at line 120 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), ConvertFrom2(), and produce().
|
private |
Definition at line 109 of file EMShower3D_module.cc.
Referenced by Make3DSeg(), and produce().
|
private |
Definition at line 111 of file EMShower3D_module.cc.
Referenced by produce().
|
private |
Definition at line 125 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), ConvertFrom2(), EMShower3D(), Make3DSeg(), Reoptimize(), and Validate().
|
private |
Definition at line 110 of file EMShower3D_module.cc.
Referenced by produce(), and Reoptimize().
|
private |
Definition at line 116 of file EMShower3D_module.cc.
|
private |
Definition at line 123 of file EMShower3D_module.cc.
Referenced by EMShower3D().
|
private |
Definition at line 118 of file EMShower3D_module.cc.
Referenced by produce().