All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EvdLayoutOptions.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file EvdLayoutOptions_service.cc
3 ///
4 /// \author andrzejs@fnal.gov
5 
6 /// LArSoft includes
8 
9 namespace evd {
10 
11  //......................................................................
12  EvdLayoutOptions::EvdLayoutOptions(fhicl::ParameterSet const& pset) :
13  evdb::Reconfigurable{pset}, fParameterSet(pset)
14  {
15  this->reconfigure(pset);
16  }
17 
18  //......................................................................
19  void EvdLayoutOptions::reconfigure(fhicl::ParameterSet const& pset){
20 
21  fShowSideBar = pset.get< int >("ShowSideBar");
22  fAutoZoomInterest = pset.get< int >("AutoZoomInterest");
23  fPrintTotalCharge = pset.get< int >("PrintTotalCharge");
24  fShowEndPointSection = pset.get< int >("ShowEndPointSection");
25  fShowEndPointMarkers = pset.get< int >("ShowEndPointMarkers");
26  fShowClusterSection = pset.get< int >("ShowClusterSection");
27  fMakeClusters = pset.get< int >("MakeClusters");
28  fChangeWire = pset.get< int >("ChangeWire");
29  fEnableMCTruthCheckBox = pset.get< int >("EnableMCTruthCheckBox");
30 
31  fThreeWindow = pset.get< bool >("DrawThreeWindow", true);
32  fDrawGrid = pset.get< bool >("DrawGrid", true);
33  fDrawAxes = pset.get< bool >("DrawAxes", true);
34  fDrawBadChannels = pset.get< bool >("DrawBadChannels", true);
35 
36  fDisplayName = pset.get< std::string >("DisplayName", "LArSoft");
37  }
38 }
int fEnableMCTruthCheckBox
1 to have the check box appear, 0 otherwise
bool fDrawAxes
true to draw coordinate axes
for pfile in ack l reconfigure(.*) override"` do echo "checking $
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
int fAutoZoomInterest
Set the automatic zoom to the interest region.
EvdLayoutOptions(fhicl::ParameterSet const &pset)
int fShowEndPointMarkers
Draw EndPoint Markers if clicked.
bool fDrawGrid
true to draw backing grid
std::string fDisplayName
Name to apply to 2D display.
int fChangeWire
1 to click mouse and change wire, 0 don&#39;t
int fPrintTotalCharge
Print out the total charge in an event.
bool fDrawBadChannels
true to draw bad channels
void reconfigure(fhicl::ParameterSet const &pset) override