LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
SimulationDrawingOptions_service.cc
Go to the documentation of this file.
1 
6 // Framework includes
7 
10 
11 #include <iostream>
12 
13 namespace evd {
14 
15  //......................................................................
17  art::ActivityRegistry& /* reg */)
18  : evdb::Reconfigurable{pset}
19  {
20  this->reconfigure(pset);
21  }
22 
23  //......................................................................
25  {
26  }
27 
28  //......................................................................
30  {
31  fShowMCTruthText = pset.get< bool >("ShowMCTruthText", true);
32  fShowMCTruthVectors = pset.get< bool >("ShowMCTruthVectors", true);
33  fShowMCTruthTrajectories = pset.get< bool >("ShowMCTruthTrajectories", true);
34  fShowMCTruthColors = pset.get< bool >("ShowMCTruthColors", true);
35  fShowMCTruthFullSize = pset.get< bool >("ShowMCTruthFullSize", true);
36  fShowScintillationLight = pset.get< bool >("ShowScintillationLight", false);
37  fMinEnergyDeposition = pset.get< double >("MinimumEnergyDeposition" );
38  fG4ModuleLabel = pset.get< std::string >("G4ModuleLabel" );
39  }
40 
41 }
42 
43 namespace evd {
44 
46 
47 } // namespace evd
std::string fG4ModuleLabel
module label producing sim::SimChannel objects
#define DEFINE_ART_SERVICE(svc)
Definition: ServiceMacros.h:93
Manage all things related to colors for the event display.
LArSoft includes.
void reconfigure(fhicl::ParameterSet const &pset)
T get(std::string const &key) const
Definition: ParameterSet.h:231
SimulationDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
bool fShowScintillationLight
Whether to draw low energy light (default: no).