AnalysisDrawingOptions_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file AnalysisDrawingOptions_service.cc
3 ///
4 /// \author brebel@fnal.gov
5 
6 // Framework includes
8 
9 /// LArSoft includes
11 
12 
13 namespace evd {
14 
15  //......................................................................
17  : evdb::Reconfigurable{pset}
18  {
19  this->reconfigure(pset);
20  }
21 
22  //......................................................................
24  {
25  fDrawCalorimetry = pset.get< int >("DrawCalorimetry" );
26  fDrawParticleID = pset.get< int >("DrawParticleID" );
27  fDrawShowerCalor = pset.get< int >("DrawShowerCalor" );
28  fCaloPlane = pset.get< int >("CaloPlane" );
29  fTrackID = pset.get< int >("TrackID" );
30  fCalorimetryLabels = pset.get< std::vector<std::string> >("CalorimetryModuleLabels" );
31  fParticleIDLabels = pset.get< std::vector<std::string> >("ParticleIDModuleLabels" );
32 
33  fCalorTemplateFileName = pset.get< std::string >("CalorTemplateFileName" );
34  }
35 
36 }
37 
38 namespace evd {
39 
41 
42 } // namespace evd
43 ////////////////////////////////////////////////////////////////////////
AnalysisDrawingOptions(fhicl::ParameterSet const &pset)
std::vector< std::string > fParticleIDLabels
module labels that produced particleid
std::string string
Definition: nybbler.cc:12
LArSoft includes.
Definition: InfoTransfer.h:33
std::string fCalorTemplateFileName
files that have calorimetry template curves
std::vector< std::string > fCalorimetryLabels
module labels that produced calorimetry
T get(std::string const &key) const
Definition: ParameterSet.h:271
#define DEFINE_ART_SERVICE(svc)
void reconfigure(fhicl::ParameterSet const &pset)