EmTrackClusterId3outTl_module.cc
Go to the documentation of this file.
1 /////////////////////////////////////////////////////////////////////////////////
2 // Class: EmTrackClusterId3outTl
3 // Module Type: producer
4 // File: EmTrackClusterId3outTl_module.cc
5 // Authors: dorota.stefan@cern.ch pplonski86@gmail.com robert.sulej@cern.ch
6 //
7 // Module applies CNN to 2D image made of deconvoluted wire waveforms in order
8 // to distinguish EM-like activity from track-like objects. New clusters of
9 // hits are produced to include also unclustered hits and tag everything in
10 // a common way.
11 // NOTE: This module uses 3-output CNN models, see EmTrackMichelClusterId for
12 // usage of 4-output models and EmTrackClusterId3outTl2out_module.cc for 2-output
13 // models.
14 //
15 /////////////////////////////////////////////////////////////////////////////////
16 
20 
22 
23 
24 namespace nnet {
25 
27  public:
29  explicit EmTrackClusterId3outTl(Parameters const& p);
30 
35 
36  private:
37  void produce(art::Event& e) override;
39  };
40  // ------------------------------------------------------
41 
43  : EDProducer{p}
44  , fEmTrack{p(), p.get_PSet().get<std::string>("module_label"), producesCollector()}
45  {}
46  // ------------------------------------------------------
47 
48  void
50  {
51  fEmTrack.produce(evt);
52  }
53  // ------------------------------------------------------
54 
56 
57 }
std::string string
Definition: nybbler.cc:12
EDProducer(fhicl::ParameterSet const &pset)
Definition: EDProducer.h:20
EmTrackClusterId3outTl & operator=(EmTrackClusterId3outTl const &)=delete
const double e
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:67
void produce(art::Event &e)
Definition: EmTrack.h:430
p
Definition: test.py:223
void produce(art::Event &e) override
ProducesCollector & producesCollector() noexcept
TCEvent evt
Definition: DataStructs.cxx:7