LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
evd::EvdLayoutOptions Class Reference

#include "EvdLayoutOptions.h"

Inheritance diagram for evd::EvdLayoutOptions:
evdb::Reconfigurable

Public Member Functions

 EvdLayoutOptions (fhicl::ParameterSet const &pset)
 
void reconfigure (fhicl::ParameterSet const &pset) override
 
void do_reconfigure (fhicl::ParameterSet const &pset)
 

Public Attributes

fhicl::ParameterSet const & fParameterSet
 
int fShowSideBar
 1 to show, 0 don't show More...
 
int fAutoZoomInterest
 Set the automatic zoom to the interest region. More...
 
int fPrintTotalCharge
 Print out the total charge in an event. More...
 
int fShowEndPointSection
 Show section corresponding to EndPoint finding. More...
 
int fShowEndPointMarkers
 Draw EndPoint Markers if clicked. More...
 
int fShowClusterSection
 Show section to make clusters. More...
 
int fMakeClusters
 Draw two lines to make clusters if clicked. More...
 
int fChangeWire
 1 to click mouse and change wire, 0 don't More...
 
int fEnableMCTruthCheckBox
 1 to have the check box appear, 0 otherwise More...
 
bool fThreeWindow
 true to draw rectangular box representing 3 windows More...
 
bool fDrawGrid
 true to draw backing grid More...
 
bool fDrawAxes
 true to draw coordinate axes More...
 
bool fDrawBadChannels
 true to draw bad channels More...
 
std::string fDisplayName
 Name to apply to 2D display. More...
 

Detailed Description

Definition at line 21 of file EvdLayoutOptions.h.

Constructor & Destructor Documentation

evd::EvdLayoutOptions::EvdLayoutOptions ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 12 of file EvdLayoutOptions.cc.

References fParameterSet, and reconfigure().

13  : evdb::Reconfigurable{pset}, fParameterSet(pset)
14  {
15  this->reconfigure(pset);
16  }
fhicl::ParameterSet const & fParameterSet
void reconfigure(fhicl::ParameterSet const &pset) override

Member Function Documentation

void evdb::Reconfigurable::do_reconfigure ( fhicl::ParameterSet const &  pset)
inlineinherited

Definition at line 16 of file Reconfigurable.h.

References evdb::Reconfigurable::reconfigure(), and evdb::Reconfigurable::~Reconfigurable().

16 { reconfigure(pset); }
virtual void reconfigure(fhicl::ParameterSet const &)=0
void evd::EvdLayoutOptions::reconfigure ( fhicl::ParameterSet const &  pset)
overridevirtual

Implements evdb::Reconfigurable.

Definition at line 19 of file EvdLayoutOptions.cc.

References fAutoZoomInterest, fChangeWire, fDisplayName, fDrawAxes, fDrawBadChannels, fDrawGrid, fEnableMCTruthCheckBox, fMakeClusters, fPrintTotalCharge, fShowClusterSection, fShowEndPointMarkers, fShowEndPointSection, fShowSideBar, fThreeWindow, and fhicl::ParameterSet::get().

Referenced by EvdLayoutOptions().

20  {
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  }
int fEnableMCTruthCheckBox
1 to have the check box appear, 0 otherwise
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
int fAutoZoomInterest
Set the automatic zoom to the interest region.
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

Member Data Documentation

int evd::EvdLayoutOptions::fChangeWire

1 to click mouse and change wire, 0 don't

Definition at line 36 of file EvdLayoutOptions.h.

Referenced by evd::TWQProjectionView::MouseDispatch(), evd::TWQMultiTPCProjectionView::MouseDispatch(), and reconfigure().

std::string evd::EvdLayoutOptions::fDisplayName

Name to apply to 2D display.

Definition at line 44 of file EvdLayoutOptions.h.

Referenced by evd::HeaderDrawer::Header(), and reconfigure().

bool evd::EvdLayoutOptions::fDrawAxes

true to draw coordinate axes

Definition at line 41 of file EvdLayoutOptions.h.

Referenced by reconfigure().

bool evd::EvdLayoutOptions::fDrawBadChannels

true to draw bad channels

Definition at line 42 of file EvdLayoutOptions.h.

Referenced by reconfigure().

bool evd::EvdLayoutOptions::fDrawGrid

true to draw backing grid

Definition at line 40 of file EvdLayoutOptions.h.

Referenced by reconfigure().

int evd::EvdLayoutOptions::fEnableMCTruthCheckBox

1 to have the check box appear, 0 otherwise

Definition at line 37 of file EvdLayoutOptions.h.

Referenced by reconfigure(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().

fhicl::ParameterSet const& evd::EvdLayoutOptions::fParameterSet

Definition at line 27 of file EvdLayoutOptions.h.

Referenced by EvdLayoutOptions(), and evd::DrawingPad::GeometryDraw().

int evd::EvdLayoutOptions::fPrintTotalCharge

Print out the total charge in an event.

Definition at line 31 of file EvdLayoutOptions.h.

Referenced by evd::TWQProjectionView::Draw(), evd::TWQMultiTPCProjectionView::Draw(), and reconfigure().

int evd::EvdLayoutOptions::fShowClusterSection

Show section to make clusters.

Definition at line 34 of file EvdLayoutOptions.h.

Referenced by reconfigure(), and evd::TWQProjectionView::SetUpClusterButtons().

int evd::EvdLayoutOptions::fShowSideBar
bool evd::EvdLayoutOptions::fThreeWindow

true to draw rectangular box representing 3 windows

Definition at line 39 of file EvdLayoutOptions.h.

Referenced by reconfigure().


The documentation for this class was generated from the following files: