LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
BackTrackerLoader_module.cc
Go to the documentation of this file.
1 #ifndef BackTrackerLoader_h
2 #define BackTrackerLoader_h
3 // Class: BackTrackerLoader
5 // Module Type: producer
6 // File: BackTrackerLoader.h
7 //
8 // Generated at Thu Jun 14 06:49:31 2012 by Brian Rebel using artmod
9 // from art v1_00_11.
11 
14 
17 
18 namespace cheat {
19  class BackTrackerLoader;
20 }
21 
23 public:
24  explicit BackTrackerLoader(fhicl::ParameterSet const & p);
25  virtual ~BackTrackerLoader();
26 
27  virtual void produce(art::Event & e);
28 
29 
30 private:
31 
32  // Declare member data here.
33 
34 };
35 
36 //------------------------------------------------------------------------------
38 {
39  // Call appropriate Produces<>() functions here.
40 }
41 
42 //------------------------------------------------------------------------------
44 {
45  // Clean up dynamic memory and other resources here.
46 }
47 
48 //------------------------------------------------------------------------------
49 // the sole purpose of this module is to issue the Rebuild command to the
50 // BackTracker service. It should be put after all simulation data producing
51 // modules have run in the job, and only in jobs that create the simulation and
52 // then make use of the BackTracker in either cheating reconstruction modules
53 // or analyzers
55 {
58  pi_serv->Rebuild(e);
59  bt_serv->Rebuild(e);
60 
61  return;
62 }
63 
64 
66 
67 #endif /* BackTrackerLoader_h */
virtual void produce(art::Event &e)
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:42
void Rebuild(const art::Event &evt)
code to link reconstructed objects back to the MC truth information
Definition: BackTracker.cc:26
BackTrackerLoader(fhicl::ParameterSet const &p)
Float_t e
Definition: plot.C:34