LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
PhotonBackTrackerLoader_module.cc
Go to the documentation of this file.
1 #ifndef PhotonBackTrackerLoader_h
2 #define PhotonBackTrackerLoader_h
3 // Class: PhotonBackTrackerLoader
5 // Module Type: producer
6 // File: PhotonBackTrackerLoader.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 PhotonBackTrackerLoader;
20 }
21 
23 public:
25  virtual ~PhotonBackTrackerLoader();
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 // PhotonBackTracker 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 PhotonBackTracker in either cheating reconstruction modules
53 // or analyzers
55 {
58  pi_serv->Rebuild(e);
59  pbt_serv->Rebuild(e);
60 
61  return;
62 }
63 
64 
66 
67 #endif /* PhotonBackTrackerLoader_h */
PhotonBackTrackerLoader(fhicl::ParameterSet const &p)
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:42
code to link reconstructed objects back to the MC truth information
Definition: BackTracker.cc:26
Float_t e
Definition: plot.C:34