Public Member Functions | Private Member Functions | Private Attributes | List of all members
hit::RFFHitFinder Class Reference
Inheritance diagram for hit::RFFHitFinder:
art::EDProducer art::detail::Producer art::detail::LegacyModule art::Modifier art::ModuleBase art::ProductRegistryHelper

Public Member Functions

 RFFHitFinder (fhicl::ParameterSet const &p)
 
 RFFHitFinder (RFFHitFinder const &)=delete
 
 RFFHitFinder (RFFHitFinder &&)=delete
 
RFFHitFinderoperator= (RFFHitFinder const &)=delete
 
RFFHitFinderoperator= (RFFHitFinder &&)=delete
 
- Public Member Functions inherited from art::EDProducer
 EDProducer (fhicl::ParameterSet const &pset)
 
template<typename Config >
 EDProducer (Table< Config > const &config)
 
std::string workerType () const
 
- Public Member Functions inherited from art::detail::Producer
virtual ~Producer () noexcept
 
 Producer (fhicl::ParameterSet const &)
 
 Producer (Producer const &)=delete
 
 Producer (Producer &&)=delete
 
Produceroperator= (Producer const &)=delete
 
Produceroperator= (Producer &&)=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)
 
- Public Member Functions inherited from art::Modifier
 ~Modifier () noexcept
 
 Modifier ()
 
 Modifier (Modifier const &)=delete
 
 Modifier (Modifier &&)=delete
 
Modifieroperator= (Modifier const &)=delete
 
Modifieroperator= (Modifier &&)=delete
 
- Public Member Functions inherited from art::ModuleBase
virtual ~ModuleBase () noexcept
 
 ModuleBase ()
 
ModuleDescription const & moduleDescription () const
 
void setModuleDescription (ModuleDescription const &)
 
std::array< std::vector< ProductInfo >, NumBranchTypes > const & getConsumables () const
 
void sortConsumables (std::string const &current_process_name)
 
template<typename T , BranchType BT>
ViewToken< T > consumesView (InputTag const &tag)
 
template<typename T , BranchType BT>
ViewToken< T > mayConsumeView (InputTag const &tag)
 

Private Member Functions

void produce (art::Event &e) override
 
void beginJob () override
 

Private Attributes

art::InputTag fWireModuleLabel
 
RFFHitFinderAlg fAlg
 

Additional Inherited Members

- Public Types inherited from art::EDProducer
using ModuleType = EDProducer
 
using WorkerType = WorkerT< EDProducer >
 
- Public Types inherited from art::detail::Producer
template<typename UserConfig , typename KeysToIgnore = void>
using Table = Modifier::Table< UserConfig, KeysToIgnore >
 
- Public Types inherited from art::Modifier
template<typename UserConfig , typename UserKeysToIgnore = void>
using Table = ProducerTable< UserConfig, detail::ModuleConfig, UserKeysToIgnore >
 
- Static Public Member Functions inherited from art::EDProducer
static void commitEvent (EventPrincipal &ep, Event &e)
 
- Protected Member Functions inherited from art::ModuleBase
ConsumesCollectorconsumesCollector ()
 
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 ()
 

Detailed Description

Definition at line 31 of file RFFHitFinder_module.cc.

Constructor & Destructor Documentation

hit::RFFHitFinder::RFFHitFinder ( fhicl::ParameterSet const &  p)
explicit

Definition at line 53 of file RFFHitFinder_module.cc.

54  :
55  EDProducer{p},
56  fWireModuleLabel(p.get<std::string>("WireModuleLabel")),
57  fAlg(p.get<fhicl::ParameterSet>("RFFHitFinderAlgParams"))
58  {
59  //calls the produces stuff for me!
61  }
art::InputTag fWireModuleLabel
std::string string
Definition: nybbler.cc:12
EDProducer(fhicl::ParameterSet const &pset)
Definition: EDProducer.h:20
static void declare_products(art::ProducesCollector &collector, std::string instance_name="", bool doWireAssns=true, bool doRawDigitAssns=true)
Declares the hit products we are going to fill.
Definition: HitCreator.cxx:248
p
Definition: test.py:223
ProducesCollector & producesCollector() noexcept
RFFHitFinderAlg fAlg
hit::RFFHitFinder::RFFHitFinder ( RFFHitFinder const &  )
delete
hit::RFFHitFinder::RFFHitFinder ( RFFHitFinder &&  )
delete

Member Function Documentation

void hit::RFFHitFinder::beginJob ( )
overrideprivatevirtual

Reimplemented from art::EDProducer.

Definition at line 80 of file RFFHitFinder_module.cc.

81  {
83  geo::Geometry const& geo(*geoHandle);
85  }
void SetFitterParamsVectors(geo::Geometry const &)
The geometry of one entire detector, as served by art.
Definition: Geometry.h:196
LArSoft geometry interface.
Definition: ChannelGeo.h:16
RFFHitFinderAlg fAlg
RFFHitFinder& hit::RFFHitFinder::operator= ( RFFHitFinder const &  )
delete
RFFHitFinder& hit::RFFHitFinder::operator= ( RFFHitFinder &&  )
delete
void hit::RFFHitFinder::produce ( art::Event e)
overrideprivatevirtual

Implements art::EDProducer.

Definition at line 63 of file RFFHitFinder_module.cc.

64  {
66 
68  e.getByLabel(fWireModuleLabel,wireHandle);
69 
70  std::unique_ptr< std::vector<recob::Hit> > hitCollection(new std::vector<recob::Hit>);
71  fAlg.Run(*wireHandle,*hitCollection,*geoHandle);
72 
74  hcol.use_hits(std::move(hitCollection));
75  hcol.put_into(e);
76 
77  //e.put(std::move(hitCollection));
78  }
art::InputTag fWireModuleLabel
void Run(std::vector< recob::Wire > const &, std::vector< recob::Hit > &, geo::Geometry const &)
bool getByLabel(std::string const &label, std::string const &instance, Handle< PROD > &result) const
Definition: DataViewImpl.h:633
def move(depos, offset)
Definition: depos.py:107
A class handling a collection of hits and its associations.
Definition: HitCreator.h:692
RFFHitFinderAlg fAlg

Member Data Documentation

RFFHitFinderAlg hit::RFFHitFinder::fAlg
private

Definition at line 49 of file RFFHitFinder_module.cc.

art::InputTag hit::RFFHitFinder::fWireModuleLabel
private

Definition at line 48 of file RFFHitFinder_module.cc.


The documentation for this class was generated from the following file: