LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
BackTrackerLoader_module.cc
Go to the documentation of this file.
1 // Class: BackTrackerLoader
3 // Module Type: producer
4 // File: BackTrackerLoader.h
5 //
6 // Generated at Thu Jun 14 06:49:31 2012 by Brian Rebel using artmod
7 // from art v1_00_11.
9 
12 
15 
16 namespace cheat {
17  class BackTrackerLoader;
18 }
19 
21 public:
22  explicit BackTrackerLoader(fhicl::ParameterSet const& p);
23 
24  virtual void produce(art::Event& e);
25 
26 private:
27  // Declare member data here.
28 };
29 
30 //------------------------------------------------------------------------------
32 {
33  // Call appropriate Produces<>() functions here.
34 }
35 
36 //------------------------------------------------------------------------------
37 // the sole purpose of this module is to issue the Rebuild command to the
38 // BackTracker service. It should be put after all simulation data producing
39 // modules have run in the job, and only in jobs that create the simulation and
40 // then make use of the BackTracker in either cheating reconstruction modules
41 // or analyzers
43 {
46  pi_serv->Rebuild(e);
47  bt_serv->Rebuild(e);
48 }
49 
EDProducer(fhicl::ParameterSet const &pset)
Definition: EDProducer.cc:6
virtual void produce(art::Event &e)
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:65
void Rebuild(const art::Event &evt)
code to link reconstructed objects back to the MC truth information
Definition: BackTracker.cc:22
void Rebuild(const art::Event &evt)
BackTrackerLoader(fhicl::ParameterSet const &p)
Float_t e
Definition: plot.C:35