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

#include "AnalysisDrawingOptions.h"

Inheritance diagram for evd::AnalysisDrawingOptions:
evdb::Reconfigurable

Public Member Functions

 AnalysisDrawingOptions (fhicl::ParameterSet const &pset)
 
void reconfigure (fhicl::ParameterSet const &pset)
 
void do_reconfigure (fhicl::ParameterSet const &pset)
 

Public Attributes

int fDrawCalorimetry
 
int fDrawParticleID
 
int fDrawShowerCalor
 
int fCaloPlane
 
int fTrackID
 
std::vector< std::string > fCalorimetryLabels
 module labels that produced calorimetry More...
 
std::vector< std::string > fParticleIDLabels
 module labels that produced particleid More...
 
std::string fCalorTemplateFileName
 files that have calorimetry template curves More...
 

Detailed Description

Definition at line 16 of file AnalysisDrawingOptions.h.

Constructor & Destructor Documentation

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

Definition at line 12 of file AnalysisDrawingOptions.cc.

References reconfigure().

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

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

Implements evdb::Reconfigurable.

Definition at line 19 of file AnalysisDrawingOptions.cc.

References fCaloPlane, fCalorimetryLabels, fCalorTemplateFileName, fDrawCalorimetry, fDrawParticleID, fDrawShowerCalor, fParticleIDLabels, fTrackID, and fhicl::ParameterSet::get().

Referenced by AnalysisDrawingOptions().

20  {
21  fDrawCalorimetry = pset.get<int>("DrawCalorimetry");
22  fDrawParticleID = pset.get<int>("DrawParticleID");
23  fDrawShowerCalor = pset.get<int>("DrawShowerCalor");
24  fCaloPlane = pset.get<int>("CaloPlane");
25  fTrackID = pset.get<int>("TrackID");
26  fCalorimetryLabels = pset.get<std::vector<std::string>>("CalorimetryModuleLabels");
27  fParticleIDLabels = pset.get<std::vector<std::string>>("ParticleIDModuleLabels");
28 
29  fCalorTemplateFileName = pset.get<std::string>("CalorTemplateFileName");
30  }
std::vector< std::string > fParticleIDLabels
module labels that produced particleid
std::string fCalorTemplateFileName
files that have calorimetry template curves
std::vector< std::string > fCalorimetryLabels
module labels that produced calorimetry

Member Data Documentation

int evd::AnalysisDrawingOptions::fCaloPlane
std::vector<std::string> evd::AnalysisDrawingOptions::fCalorimetryLabels

module labels that produced calorimetry

Definition at line 28 of file AnalysisDrawingOptions.h.

Referenced by evd::AnalysisBaseDrawer::DrawDeDx(), evd::AnalysisBaseDrawer::DrawKineticEnergy(), and reconfigure().

std::string evd::AnalysisDrawingOptions::fCalorTemplateFileName

files that have calorimetry template curves

Definition at line 31 of file AnalysisDrawingOptions.h.

Referenced by evd::CalorPad::DrawRefCurves(), and reconfigure().

int evd::AnalysisDrawingOptions::fDrawCalorimetry

Definition at line 22 of file AnalysisDrawingOptions.h.

Referenced by reconfigure().

int evd::AnalysisDrawingOptions::fDrawParticleID

Definition at line 23 of file AnalysisDrawingOptions.h.

Referenced by reconfigure().

int evd::AnalysisDrawingOptions::fDrawShowerCalor

Definition at line 24 of file AnalysisDrawingOptions.h.

Referenced by evd::CalorView::CalorView(), and reconfigure().

std::vector<std::string> evd::AnalysisDrawingOptions::fParticleIDLabels
int evd::AnalysisDrawingOptions::fTrackID

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