EvdLayoutOptions_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file EvdLayoutOptions_service.cc
3 ///
4 /// \author andrzejs@fnal.gov
5 
6 /// LArSoft includes
9 
10 namespace evd {
11 
12  //......................................................................
14  evdb::Reconfigurable{pset}, fParameterSet(pset)
15  {
16  this->reconfigure(pset);
17  }
18 
19  //......................................................................
21 
22  fShowSideBar = pset.get< int >("ShowSideBar");
23  fAutoZoomInterest = pset.get< int >("AutoZoomInterest");
24  fPrintTotalCharge = pset.get< int >("PrintTotalCharge");
25  fShowEndPointSection = pset.get< int >("ShowEndPointSection");
26  fShowEndPointMarkers = pset.get< int >("ShowEndPointMarkers");
27  fShowClusterSection = pset.get< int >("ShowClusterSection");
28  fMakeClusters = pset.get< int >("MakeClusters");
29  fChangeWire = pset.get< int >("ChangeWire");
30  fEnableMCTruthCheckBox = pset.get< int >("EnableMCTruthCheckBox");
31 
32  fThreeWindow = pset.get< bool >("DrawThreeWindow", true);
33  fDrawGrid = pset.get< bool >("DrawGrid", true);
34  fDrawAxes = pset.get< bool >("DrawAxes", true);
35  fDrawBadChannels = pset.get< bool >("DrawBadChannels", true);
36 
37  fDisplayName = pset.get< std::string >("DisplayName", "LArSoft");
38  }
39 }
40 
int fEnableMCTruthCheckBox
1 to have the check box appear, 0 otherwise
std::string string
Definition: nybbler.cc:12
bool fDrawAxes
true to draw coordinate axes
int fMakeClusters
Draw two lines to make clusters if clicked.
int fShowEndPointSection
Show section corresponding to EndPoint finding.
int fShowClusterSection
Show section to make clusters.
bool fThreeWindow
true to draw rectangular box representing 3 windows
int fShowSideBar
1 to show, 0 don&#39;t show
LArSoft includes.
Definition: InfoTransfer.h:33
int fAutoZoomInterest
Set the automatic zoom to the interest region.
T get(std::string const &key) const
Definition: ParameterSet.h:271
EvdLayoutOptions(fhicl::ParameterSet const &pset)
int fShowEndPointMarkers
Draw EndPoint Markers if clicked.
bool fDrawGrid
true to draw backing grid
#define DEFINE_ART_SERVICE(svc)
std::string fDisplayName
Name to apply to 2D display.
int fChangeWire
1 to click mouse and change wire, 0 don&#39;t
fhicl::ParameterSet const & fParameterSet
int fPrintTotalCharge
Print out the total charge in an event.
bool fDrawBadChannels
true to draw bad channels
void reconfigure(fhicl::ParameterSet const &pset) override