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

Global drawing options that apply to all displays. More...

#include "/cvmfs/"

Inheritance diagram for evd::SimulationDrawingOptions:

Public Member Functions

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

Public Attributes

int fDraw
 Which MC Truth objects to draw. More...
float fFLSHitThresh
 Threshold to apply to FLS hits (MeV) More...
int fFLSHitStyle
 How to render FLS hits. More...
int fText
 What text to draw? More...
int fTextDepthLimit
int fTextIncludeVertex
int fTextIncludeDirections
std::vector< std::stringfMCTruthModules
 Modules to load the data from. More...
std::vector< std::stringfFLSHitListModules
 FLSHitLists here. More...

Static Public Attributes

static const int kDRAW_VERTEX = 1<<0
static const int kDRAW_VECTORS = 1<<1
static const int kDRAW_TRAJECT = 1<<2
static const int kDRAW_HITS = 1<<3
static const int kDRAW_NEUTRALS = 1<<4
static const int kDRAW_GAMMAS = 1<<5
static const int kFLSHIT_AS_DOT = 0
static const int kFLSHIT_AS_LINE = 1
static const int kTEXT_SHORT = 1<<0
static const int kTEXT_LONG = 1<<1

Detailed Description

Global drawing options that apply to all displays.

Definition at line 22 of file SimulationDrawingOptions.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file

References reconfigure().

15  : evdb::Reconfigurable{pset}
16  {
17  this->reconfigure(pset);
18  }
void reconfigure(fhicl::ParameterSet const &pset) override
evd::SimulationDrawingOptions::~SimulationDrawingOptions ( )

Definition at line 21 of file

22  {
23  }

Member Function Documentation

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

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::SimulationDrawingOptions::reconfigure ( fhicl::ParameterSet const &  pset)

Implements evdb::Reconfigurable.

Definition at line 26 of file

References DEFINE_ART_SERVICE, fDraw, fFLSHitListModules, fFLSHitStyle, fFLSHitThresh, fMCTruthModules, fText, fTextDepthLimit, fTextIncludeDirections, fTextIncludeVertex, and fhicl::ParameterSet::get().

Referenced by SimulationDrawingOptions().

27  {
28  fDraw = pset.get<int> ("Draw.val");
29  fFLSHitThresh = pset.get<float>("FLSHitThresh.val");
30  fFLSHitStyle = pset.get<int> ("FLSHitStyle.val");
31  fText = pset.get<int> ("Text.val");
33  fTextDepthLimit = pset.get<int>("TextDepthLimit.val");
35  fTextIncludeVertex = pset.get<int>("TextIncludeVertex.val");
37  fTextIncludeDirections = pset.get<int>("TextIncludeDirections.val");
39  fMCTruthModules = pset.get< std::vector<std::string> >("MCTruthModules.val");
40  fFLSHitListModules = pset.get< std::vector<std::string> >("FLSHitListModules.val");
41  }
int fDraw
Which MC Truth objects to draw.
int fFLSHitStyle
How to render FLS hits.
std::vector< std::string > fMCTruthModules
Modules to load the data from.
float fFLSHitThresh
Threshold to apply to FLS hits (MeV)
std::vector< std::string > fFLSHitListModules
FLSHitLists here.

Member Data Documentation

int evd::SimulationDrawingOptions::fDraw
std::vector<std::string> evd::SimulationDrawingOptions::fFLSHitListModules
int evd::SimulationDrawingOptions::fFLSHitStyle

How to render FLS hits.

Definition at line 45 of file SimulationDrawingOptions.h.

Referenced by evd::SimulationDrawer::FLSHit2D(), and reconfigure().

float evd::SimulationDrawingOptions::fFLSHitThresh

Threshold to apply to FLS hits (MeV)

Definition at line 42 of file SimulationDrawingOptions.h.

Referenced by evd::SimulationDrawer::FLSHit2D(), evd::SimulationDrawer::FLSHit3D(), and reconfigure().

std::vector<std::string> evd::SimulationDrawingOptions::fMCTruthModules

Modules to load the data from.

MCTruth here

Definition at line 59 of file SimulationDrawingOptions.h.

Referenced by evd::SimulationDrawer::GetMCTruth(), and reconfigure().

int evd::SimulationDrawingOptions::fText
int evd::SimulationDrawingOptions::fTextDepthLimit
int evd::SimulationDrawingOptions::fTextIncludeDirections
int evd::SimulationDrawingOptions::fTextIncludeVertex
const int evd::SimulationDrawingOptions::kDRAW_GAMMAS = 1<<5
const int evd::SimulationDrawingOptions::kDRAW_HITS = 1<<3
const int evd::SimulationDrawingOptions::kDRAW_NEUTRALS = 1<<4
const int evd::SimulationDrawingOptions::kDRAW_TRAJECT = 1<<2
const int evd::SimulationDrawingOptions::kDRAW_VECTORS = 1<<1
const int evd::SimulationDrawingOptions::kDRAW_VERTEX = 1<<0
const int evd::SimulationDrawingOptions::kFLSHIT_AS_DOT = 0

Definition at line 46 of file SimulationDrawingOptions.h.

const int evd::SimulationDrawingOptions::kFLSHIT_AS_LINE = 1

Definition at line 47 of file SimulationDrawingOptions.h.

Referenced by evd::SimulationDrawer::FLSHit2D().

const int evd::SimulationDrawingOptions::kTEXT_LONG = 1<<1

Definition at line 52 of file SimulationDrawingOptions.h.

Referenced by evd::SimulationDrawer::MCTruthLongText().

const int evd::SimulationDrawingOptions::kTEXT_SHORT = 1<<0

Definition at line 51 of file SimulationDrawingOptions.h.

Referenced by evd::SimulationDrawer::MCTruthShortText().

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