AnalysisDrawingOptions_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file AnalysisDrawingOption_plugin.cc
3 ///
4 /// \version $Id: AnalysisDrawingOptions_plugin.cc,v 1.1 2010/11/11 18:11:22 p-novaart Exp $
5 /// \author brebel@fnal.gov
6 
7 // Framework includes
8 
9 /// GArSoft includes
11 
12 #include <iostream>
13 
14 namespace gar {
15 namespace evd {
16 
17  //......................................................................
19  art::ActivityRegistry& /* reg */)
20  {
21  this->reconfigure(pset);
22  }
23 
24  //......................................................................
26  {
27  }
28 
29  //......................................................................
31  {
32  fDrawCalorimetry = pset.get< int >("DrawCalorimetry" );
33  fDrawParticleID = pset.get< int >("DrawParticleID" );
34  fDrawShowerCalor = pset.get< int >("DrawShowerCalor" );
35  fCaloPlane = pset.get< int >("CaloPlane" );
36  fCalorimetryLabels = pset.get< std::vector<std::string> >("CalorimetryModuleLabels" );
37  fParticleIDLabels = pset.get< std::vector<std::string> >("ParticleIDModuleLabels" );
38 
39  fCalorTemplateFileName = pset.get< std::string >("CalorTemplateFileName" );
40  }
41 
42 }
43 
44 namespace evd {
45 
47 
48 } // namespace evd
49 }
50 ////////////////////////////////////////////////////////////////////////
void reconfigure(fhicl::ParameterSet const &pset)
AnalysisDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
std::string string
Definition: nybbler.cc:12
std::string fCalorTemplateFileName
files that have calorimetry template curves
std::vector< std::string > fCalorimetryLabels
module labels that produced calorimetry
LArSoft includes.
Definition: InfoTransfer.h:33
T get(std::string const &key) const
Definition: ParameterSet.h:271
std::vector< std::string > fParticleIDLabels
module labels that produced particleid
General GArSoft Utilities.
#define DEFINE_ART_SERVICE(svc)