Public Member Functions | Public Attributes | List of all members
evd::PlotDrawingOptions Class Reference

Option for drawing plots on the "PlotView". More...

#include "/cvmfs/"

Inheritance diagram for evd::PlotDrawingOptions:

Public Member Functions

 PlotDrawingOptions (fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
 ~PlotDrawingOptions ()
void reconfigure (fhicl::ParameterSet const &pset) override
void do_reconfigure (fhicl::ParameterSet const &pset)

Public Attributes

std::vector< std::stringfPadDescription
 What's in a pad? More...

Detailed Description

Option for drawing plots on the "PlotView".

Definition at line 21 of file PlotDrawingOptions.h.

Constructor & Destructor Documentation

evd::PlotDrawingOptions::PlotDrawingOptions ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 

Definition at line 11 of file

References reconfigure().

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

Definition at line 19 of file

20  {
21  }

Member Function Documentation

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

Definition at line 17 of file Reconfigurable.h.

17 { reconfigure(pset); }
virtual void reconfigure(fhicl::ParameterSet const &)=0
void evd::PlotDrawingOptions::reconfigure ( fhicl::ParameterSet const &  pset)

Implements evdb::Reconfigurable.

Definition at line 24 of file

References DEFINE_ART_SERVICE, fPadDescription, and fhicl::ParameterSet::get().

Referenced by PlotDrawingOptions().

25  {
26  fPadDescription = pset.get< std::vector<std::string> >("PadDescription");
27  }
std::vector< std::string > fPadDescription
What&#39;s in a pad?

Member Data Documentation

std::vector<std::string> evd::PlotDrawingOptions::fPadDescription

What's in a pad?

The pad descriptions should follow this pattern:

[module]/[object]/[option1,option2,option3] + [module]/[object] + ...

All plots listed with "+" will be superimposed on a single pad.

module - Which module produced the plot? object - Name of the object (TH1F, TGraph, ...) to be plotted options - Inlucdes pad and drawing options: logx - make pad have log x axis logy - make pad have log y axis logz - make pad have log z axis gridx - show x grid lines gridy - show y grid lines lcolor=[n] - Set line color of plot (2=red,3=green,..) lstyle=[n] - Set line style of plot lwidth=[n] - Set line width of plot mcolor=[n] - Set marker color of plot (2=red,3=green,..) mstyle=[n] - Set marker style of plot msize=[f] - Set marker size of plot all others are passed to Draw(...) directly.

Definition at line 54 of file PlotDrawingOptions.h.

Referenced by evd::PlotView::Parse(), and reconfigure().

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