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 | |
EMShower3D (fhicl::ParameterSet const &p) | |
EMShower3D (EMShower3D const &)=delete | |
EMShower3D (EMShower3D &&)=delete | |
EMShower3D & | operator= (EMShower3D const &)=delete |
EMShower3D & | operator= (EMShower3D &&)=delete |
void | beginJob () override |
void | produce (art::Event &e) override |
void | reconfigure (fhicl::ParameterSet const &p) |
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 | |
recob::Track | ConvertFrom (pma::Track3D &src) |
recob::Track | ConvertFrom2 (pma::Track3D &src) |
recob::Cluster | ConvertFrom (const std::vector< art::Ptr< recob::Hit > > &src) |
std::vector< ems::DirOfGamma * > | CollectShower2D (art::Event const &e) |
void | Link (art::Event const &e, std::vector< ems::DirOfGamma * > input) |
void | Reoptimize () |
void | Make3DSeg (art::Event const &e, std::vector< ems::DirOfGamma * > pair) |
bool | Validate (art::Event const &e, const pma::Track3D &src, size_t plane) |
bool | Validate (std::vector< ems::DirOfGamma * > input, size_t id1, size_t id2, size_t c1, size_t c2, size_t plane3) |
void | FilterOutSmallParts (double r2d, const std::vector< art::Ptr< recob::Hit > > &hits_in, std::vector< art::Ptr< recob::Hit > > &hits_out) |
bool | GetCloseHits (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 (art::Event const &e, 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 67 of file EMShower3D_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 137 of file EMShower3D_module.cc.
References reconfigure().
|
delete |
|
delete |
|
overridevirtual |
Reimplemented from art::EDProducer.
Definition at line 155 of file EMShower3D_module.cc.
|
private |
Definition at line 594 of file EMShower3D_module.cc.
References fb(), fCluListHandle, fCluModuleLabel, fClusters, FilterOutSmallParts(), art::DataViewImpl::getByLabel(), and ems::DirOfGamma::GetHits2D().
Referenced by produce().
|
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().
|
private |
Definition at line 174 of file EMShower3D_module.cc.
References pma::Track3D::back(), recob::tracking::convertCollToPoint(), recob::tracking::convertCollToVector(), 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 |
Definition at line 168 of file EMShower3D_module.cc.
References fClIndex.
|
private |
Definition at line 235 of file EMShower3D_module.cc.
References pma::Track3D::back(), recob::tracking::convertCollToPoint(), recob::tracking::convertCollToVector(), 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 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 962 of file EMShower3D_module.cc.
References DEFINE_ART_MODULE, and GetCloseHits().
Referenced by CollectShower2D().
|
inherited |
Definition at line 49 of file EngineCreator.cc.
References fhicl::ParameterSet::get().
Referenced by art::MixFilter< T >::initEngine_().
|
private |
Definition at line 896 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().
|
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 890 of file EMShower3D_module.cc.
Referenced by GetCloseHits().
|
private |
Definition at line 627 of file EMShower3D_module.cc.
References LinkCandidates(), Make3DSeg(), t1, and t2.
Referenced by produce().
|
private |
Definition at line 704 of file EMShower3D_module.cc.
References geo::GeometryCore::Cryostat(), Make3DSeg(), geo::CryostatGeo::MaxPlanes(), t1, t2, and Validate().
Referenced by Link().
|
private |
Definition at line 778 of file EMShower3D_module.cc.
References pma::Track3D::back(), pma::ProjectionMatchingAlg::buildSegment(), fInisegs, pma::Track3D::Flip(), fProjectionMatchingAlg, pma::Hit3D::Hit2DPtr(), IniSeg::hits1, IniSeg::hits2, IniSeg::idcl1, IniSeg::idcl2, IniSeg::track, IniSeg::view1, and IniSeg::view2.
Referenced by Link(), and LinkCandidates().
|
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_().
|
delete |
|
delete |
|
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().
|
overridevirtual |
Implements art::EDProducer.
Definition at line 296 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::DataViewImpl::getByLabel(), pma::Hit3D::Hit2DPtr(), Link(), pma::Hit3D::Point3D(), art::PtrVector< T >::push_back(), art::Event::put(), Reoptimize(), art::PtrVector< T >::size(), and track.
void ems::EMShower3D::reconfigure | ( | fhicl::ParameterSet const & | p | ) |
Definition at line 159 of file EMShower3D_module.cc.
References fCluModuleLabel, fTrk3DModuleLabel, and fhicl::ParameterSet::get().
Referenced by EMShower3D().
|
private |
Definition at line 514 of file EMShower3D_module.cc.
References pma::Track3D::back(), pma::ProjectionMatchingAlg::buildSegment(), pma::Dist2(), pma::Track3D::Flip(), fProjectionMatchingAlg, pma::Track3D::front(), fSeltracks, hits(), IniSeg::hits1, IniSeg::hits2, IniSeg::hits3, IniSeg::idcl1, IniSeg::idcl2, IniSeg::idcl3, pma::Hit3D::Point3D(), track, IniSeg::track, IniSeg::view1, IniSeg::view2, and IniSeg::view3.
Referenced by produce().
|
protectedinherited |
Definition at line 125 of file Consumer.cc.
Referenced by art::EDProducer::doEndJob(), art::EDFilter::doEndJob(), art::EDAnalyzer::doEndJob(), and art::RootOutput::endJob().
|
private |
Definition at line 872 of file EMShower3D_module.cc.
References fCluListHandle, fCluModuleLabel, fClustersNotUsed, fProjectionMatchingAlg, hits(), and pma::ProjectionMatchingAlg::validate().
Referenced by LinkCandidates().
|
private |
Definition at line 829 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.
|
protectedinherited |
Definition at line 101 of file Consumer.cc.
References art::errors::ProductRegistrationFailure.
|
private |
Definition at line 131 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), and ConvertFrom2().
|
private |
Definition at line 124 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), and produce().
|
private |
Definition at line 133 of file EMShower3D_module.cc.
Referenced by CollectShower2D(), produce(), and Validate().
|
private |
Definition at line 127 of file EMShower3D_module.cc.
Referenced by CollectShower2D(), produce(), reconfigure(), and Validate().
|
private |
Definition at line 119 of file EMShower3D_module.cc.
Referenced by CollectShower2D(), and produce().
|
private |
Definition at line 121 of file EMShower3D_module.cc.
Referenced by produce(), and Validate().
|
private |
Definition at line 125 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), ConvertFrom2(), and produce().
|
private |
Definition at line 115 of file EMShower3D_module.cc.
Referenced by Make3DSeg(), and produce().
|
private |
Definition at line 117 of file EMShower3D_module.cc.
Referenced by produce().
|
private |
Definition at line 130 of file EMShower3D_module.cc.
Referenced by ConvertFrom(), ConvertFrom2(), Make3DSeg(), Reoptimize(), and Validate().
|
private |
Definition at line 116 of file EMShower3D_module.cc.
Referenced by produce(), and Reoptimize().
|
private |
Definition at line 122 of file EMShower3D_module.cc.
|
private |
Definition at line 128 of file EMShower3D_module.cc.
Referenced by reconfigure().
|
private |
Definition at line 124 of file EMShower3D_module.cc.
Referenced by produce().