LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
EmTrackMichelIdTl_module.cc
Go to the documentation of this file.
1 // Class: EmTrackMichelIdTl
3 // Module Type: producer
4 // File: EmTrackMichelIdTl_module.cc
5 // Authors: D.Stefan (dorota.stefan@cern.ch), from DUNE, CERN/NCBJ
6 // P.Plonski (pplonski86@gmail.com), from DUNE, WUT
7 // R.Sulej (robert.sulej@cern.ch), from DUNE, FNAL/NCBJ
8 // M.Wang (mwang@fnal.gov), from DUNE, FNAL, tool interface ver
9 // Module applies CNN to 2D image made of deconvoluted wire waveforms in order
10 // to distinguish EM-like activity from track-like objects. In addition the activity
11 // of Michel electrons is recognized. New clusters of hits are produced to include
12 // also unclustered hits and tag all the activity as EM/track in the same way.
13 // Note: Michel electrons are best tagged on the level of single hits, since
14 // clustering may have introduced mistakes (hits of muon and electron clustered
15 // together).
16 //
18 
21 
23 #include "fhiclcpp/ParameterSet.h"
24 
25 #include <string>
26 
27 namespace nnet {
28 
30  public:
32  explicit EmTrackMichelIdTl(Parameters const& p);
33 
34  EmTrackMichelIdTl(EmTrackMichelIdTl const&) = delete;
38 
39  private:
40  void produce(art::Event& e) override;
42  };
43  // ------------------------------------------------------
44 
46  : EDProducer{p}
47  , fEmTrack{p(), p.get_PSet().get<std::string>("module_label"), producesCollector()}
48  {}
49  // ------------------------------------------------------
50 
52  {
53  fEmTrack.produce(evt);
54  }
55  // ------------------------------------------------------
56 
58 
59 }
EmTrackMichelIdTl(Parameters const &p)
EDProducer(fhicl::ParameterSet const &pset)
Definition: EDProducer.cc:6
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:65
void produce(art::Event &e)
Definition: EmTrack.h:391
Definition: EmTrack.h:40
EmTrackMichelIdTl & operator=(EmTrackMichelIdTl const &)=delete
ProducesCollector & producesCollector() noexcept
TCEvent evt
Definition: DataStructs.cxx:8
Float_t e
Definition: plot.C:35
void produce(art::Event &e) override