LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PhotonBackTrackerLoader_module.cc
Go to the documentation of this file.
1 // Class: PhotonBackTrackerLoader
3 // Module Type: producer
4 // File: PhotonBackTrackerLoader.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 PhotonBackTrackerLoader;
18 }
19 
21 public:
23 
24  virtual void produce(art::Event& e);
25 
26 private:
27  // Declare member data here.
28 };
29 
30 //------------------------------------------------------------------------------
32  : EDProducer{p}
33 {
34  // Call appropriate Produces<>() functions here.
35 }
36 
37 //------------------------------------------------------------------------------
38 // the sole purpose of this module is to issue the Rebuild command to the
39 // PhotonBackTracker service. It should be put after all simulation data producing
40 // modules have run in the job, and only in jobs that create the simulation and
41 // then make use of the PhotonBackTracker in either cheating reconstruction modules
42 // or analyzers
44 {
47  pi_serv->Rebuild(e);
48  pbt_serv->Rebuild(e);
49 }
50 
EDProducer(fhicl::ParameterSet const &pset)
Definition: EDProducer.cc:6
PhotonBackTrackerLoader(fhicl::ParameterSet const &p)
#define DEFINE_ART_MODULE(klass)
Definition: ModuleMacros.h:65
void Rebuild(art::Event const &evt)
code to link reconstructed objects back to the MC truth information
Definition: BackTracker.cc:22
void Rebuild(const art::Event &evt)
Float_t e
Definition: plot.C:35