LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
evd::RecoDrawingOptions Class Reference

#include "RecoDrawingOptions.h"

Inheritance diagram for evd::RecoDrawingOptions:
evdb::Reconfigurable

Public Member Functions

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

Public Attributes

int fDrawHits
 
int fDrawClusters
 
int fDrawPFParticles
 
int fDraw2DSlopeEndPoints
 
int fDrawSpacePoints
 
int fDrawProngs
 
int fDrawTracks
 
int fDrawOpFlashes
 
int fDrawTrackTrajectoryPoints
 
int fDrawTrackSegments
 
int fDrawTrackSpacePoints
 
int fDrawShowers
 
int fDrawVertices
 
int fDrawEvents
 
int fDraw2DEndPoints
 
int fDrawSeeds
 
int fDrawBezierTracks
 
int fDrawCosmicTags
 
int fSelectedHitColor
 
bool fUseHitSelector
 
bool fSkeletonOnly
 
bool fBestPCAAxisOnly
 
bool fDrawTrackVertexAssns
 
bool fDraw3DSpacePointHeatMap
 
std::vector< art::InputTagfWireLabels
 module labels that produced wires More...
 
std::vector< art::InputTagfHitLabels
 module labels that produced hits More...
 
std::vector< art::InputTagfEndPoint2DLabels
 module labels that produced end point 2d objects More...
 
std::vector< art::InputTagfClusterLabels
 module labels that produced clusters More...
 
std::vector< art::InputTagfPFParticleLabels
 module labels that produced PFParticles More...
 
std::vector< art::InputTagfSpacePointLabels
 module labels that produced space points More...
 
std::vector< art::InputTagfProngLabels
 module labels that produced prongs More...
 
std::vector< art::InputTagfTrackLabels
 module labels that produced tracks More...
 
std::vector< art::InputTagfShowerLabels
 module labels that produced showers More...
 
std::vector< art::InputTagfVertexLabels
 module labels that produced vertices More...
 
std::vector< art::InputTagfEventLabels
 module labels that produced events More...
 
std::vector< art::InputTagfOpFlashLabels
 module labels that produced events More...
 
std::vector< art::InputTagfSeedLabels
 module labels that produced events More...
 
std::vector< art::InputTagfBezierTrackLabels
 module labels that produced events More...
 
std::vector< art::InputTagfCosmicTagLabels
 module labels that produced cosmic tags More...
 
std::vector< art::InputTagfTrkVtxTrackLabels
 module labels that produced tracks (Track/Vertex module) More...
 
std::vector< art::InputTagfTrkVtxCosmicLabels
 module labels that tagged track as CR (Track/Vertex module) More...
 
std::vector< art::InputTagfTrkVtxFilterLabels
 module labels that filtered event (Track/Vertex module) More...
 
fhicl::ParameterSet fCaloPSet
 
fhicl::ParameterSet fSeedPSet
 < parameterset for calorimetry algorithm More...
 
int fColorProngsByLabel
 < parameterset for seed algorithm More...
 
int fColorSpacePointsByChisq
 Generate space point colors by chisquare? More...
 
double fFlashMinPE
 Minimal PE for a flash to be displayed. More...
 
double fFlashTMin
 Minimal time for a flash to be displayed. More...
 
double fFlashTMax
 Maximum time for a flash to be displayed. More...
 

Detailed Description

Definition at line 22 of file RecoDrawingOptions.h.

Constructor & Destructor Documentation

evd::RecoDrawingOptions::RecoDrawingOptions ( fhicl::ParameterSet const &  pset,
art::ActivityRegistry reg 
)
explicit

Definition at line 16 of file RecoDrawingOptions_service.cc.

References reconfigure().

18  : evdb::Reconfigurable{pset}
19 {
20  this->reconfigure(pset);
21 }
void reconfigure(fhicl::ParameterSet const &pset)
evd::RecoDrawingOptions::~RecoDrawingOptions ( )

Definition at line 24 of file RecoDrawingOptions_service.cc.

25 {
26 }

Member Function Documentation

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

Definition at line 17 of file Reconfigurable.h.

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

Implements evdb::Reconfigurable.

Definition at line 29 of file RecoDrawingOptions_service.cc.

References DEFINE_ART_SERVICE, fBestPCAAxisOnly, fBezierTrackLabels, fCaloPSet, fClusterLabels, fColorProngsByLabel, fColorSpacePointsByChisq, fCosmicTagLabels, fDraw2DEndPoints, fDraw2DSlopeEndPoints, fDraw3DSpacePointHeatMap, fDrawBezierTracks, fDrawClusters, fDrawCosmicTags, fDrawEvents, fDrawHits, fDrawOpFlashes, fDrawPFParticles, fDrawProngs, fDrawSeeds, fDrawShowers, fDrawSpacePoints, fDrawTracks, fDrawTrackSegments, fDrawTrackSpacePoints, fDrawTrackTrajectoryPoints, fDrawTrackVertexAssns, fDrawVertices, fEndPoint2DLabels, fEventLabels, fFlashMinPE, fFlashTMax, fFlashTMin, fHitLabels, fOpFlashLabels, fPFParticleLabels, fProngLabels, fSeedLabels, fSelectedHitColor, fShowerLabels, fSkeletonOnly, fSpacePointLabels, fTrackLabels, fTrkVtxCosmicLabels, fTrkVtxFilterLabels, fTrkVtxTrackLabels, fUseHitSelector, fVertexLabels, fWireLabels, and fhicl::ParameterSet::get().

Referenced by RecoDrawingOptions().

30 {
31  fDrawHits = pset.get< int >("DrawHits" );
32  fDrawClusters = pset.get< int >("DrawClusters" );
33  fDrawPFParticles = pset.get< int >("DrawPFParticles" );
34  fDrawSpacePoints = pset.get< int >("DrawSpacePoints" );
35  fDrawProngs = pset.get< int >("DrawProngs" );
36  fDrawTracks = pset.get< int >("DrawTracks" );
37  fDrawTrackTrajectoryPoints = pset.get< int >("DrawTrackTrajectoryPoints");
38  fDrawTrackSegments = pset.get< int >("DrawTrackSegments" );
39  fDrawTrackSpacePoints = pset.get< int >("DrawTrackSpacePoints" );
40  fDrawShowers = pset.get< int >("DrawShowers" );
41  fDrawVertices = pset.get< int >("DrawVertices" );
42  fDrawOpFlashes = pset.get< int >("DrawOpFlashes" );
43  fDrawSeeds = pset.get< int >("DrawSeeds" );
44  fDrawBezierTracks = pset.get< int >("DrawBezierTracks" );
45  fDrawEvents = pset.get< int >("DrawEvents" );
46  fDraw2DEndPoints = pset.get< int >("Draw2DEndPoints" );
47  fDraw2DSlopeEndPoints = pset.get< int >("Draw2DSlopeEndPoints" );
48  fSelectedHitColor = pset.get< int >("SelectedHitColor" );
49  fUseHitSelector = pset.get< bool >("UseHitSelector" );
50  fSkeletonOnly = pset.get< bool >("DrawSkeleton3DHitsOnly" );
51  fBestPCAAxisOnly = pset.get< bool >("DrawBestPCAAxisOnly" );
52  fDrawTrackVertexAssns = pset.get< bool >("DrawTrackVertexAssns" );
53  fDraw3DSpacePointHeatMap = pset.get< bool >("Draw3DSpacePointHeatMap" );
54  fHitLabels = pset.get< std::vector<art::InputTag> >("HitModuleLabels" );
55  fSpacePointLabels = pset.get< std::vector<art::InputTag> >("SpacePointModuleLabels" );
56  fProngLabels = pset.get< std::vector<art::InputTag> >("ProngModuleLabels" );
57  fEndPoint2DLabels = pset.get< std::vector<art::InputTag> >("EndPoint2DModuleLabels" );
58  fClusterLabels = pset.get< std::vector<art::InputTag> >("ClusterModuleLabels" );
59  fPFParticleLabels = pset.get< std::vector<art::InputTag> >("PFParticleModuleLabels" );
60  fTrackLabels = pset.get< std::vector<art::InputTag> >("TrackModuleLabels" );
61  fShowerLabels = pset.get< std::vector<art::InputTag> >("ShowerModuleLabels" );
62  fVertexLabels = pset.get< std::vector<art::InputTag> >("VertexModuleLabels" );
63  fOpFlashLabels = pset.get< std::vector<art::InputTag> >("OpFlashModuleLabels" );
64  fSeedLabels = pset.get< std::vector<art::InputTag> >("SeedModuleLabels" );
65  fBezierTrackLabels = pset.get< std::vector<art::InputTag> >("BezierTrackModuleLabels" );
66  fTrkVtxTrackLabels = pset.get< std::vector<art::InputTag> >("TrkVtxTrackLabels" );
67  fTrkVtxCosmicLabels = pset.get< std::vector<art::InputTag> >("TrkVtxCosmicLabels" );
68  fTrkVtxFilterLabels = pset.get< std::vector<art::InputTag> >("TrkVtxFilterLabels" );
69 
70  fEventLabels = pset.get< std::vector<art::InputTag> >("EventModuleLabels" );
71  fWireLabels = pset.get< std::vector<art::InputTag> >("WireModuleLabels" );
72  fColorProngsByLabel = pset.get< int >("ColorProngsByLabel" );
73  fColorSpacePointsByChisq = pset.get< int >("ColorSpacePointsByChisq" );
74  fCaloPSet = pset.get< fhicl::ParameterSet >("CalorimetryAlgorithm" );
75  // fSeedPSet = pset.get< fhicl::ParameterSet >("SeedAlgorithm");
76 
77  fCosmicTagLabels = pset.get< std::vector<art::InputTag> >("CosmicTagLabels", std::vector<art::InputTag>() );
78  fDrawCosmicTags = pset.get< int >("DrawCosmicTags" );
79  fFlashMinPE = pset.get< double >("FlashMinPE", 0.0 );
80  fFlashTMin = pset.get< double >("FlashTMin", -1e9 );
81  fFlashTMax = pset.get< double >("FlashTMax", 1e9 );
82  }
int fColorProngsByLabel
< parameterset for seed algorithm
std::vector< art::InputTag > fEndPoint2DLabels
module labels that produced end point 2d objects
std::vector< art::InputTag > fTrkVtxCosmicLabels
module labels that tagged track as CR (Track/Vertex module)
std::vector< art::InputTag > fOpFlashLabels
module labels that produced events
std::vector< art::InputTag > fTrackLabels
module labels that produced tracks
std::vector< art::InputTag > fTrkVtxTrackLabels
module labels that produced tracks (Track/Vertex module)
int fColorSpacePointsByChisq
Generate space point colors by chisquare?
double fFlashTMin
Minimal time for a flash to be displayed.
std::vector< art::InputTag > fCosmicTagLabels
module labels that produced cosmic tags
double fFlashTMax
Maximum time for a flash to be displayed.
std::vector< art::InputTag > fWireLabels
module labels that produced wires
std::vector< art::InputTag > fPFParticleLabels
module labels that produced PFParticles
std::vector< art::InputTag > fBezierTrackLabels
module labels that produced events
std::vector< art::InputTag > fVertexLabels
module labels that produced vertices
T get(std::string const &key) const
Definition: ParameterSet.h:231
double fFlashMinPE
Minimal PE for a flash to be displayed.
std::vector< art::InputTag > fSeedLabels
module labels that produced events
std::vector< art::InputTag > fSpacePointLabels
module labels that produced space points
fhicl::ParameterSet fCaloPSet
std::vector< art::InputTag > fHitLabels
module labels that produced hits
std::vector< art::InputTag > fShowerLabels
module labels that produced showers
std::vector< art::InputTag > fTrkVtxFilterLabels
module labels that filtered event (Track/Vertex module)
std::vector< art::InputTag > fClusterLabels
module labels that produced clusters
std::vector< art::InputTag > fEventLabels
module labels that produced events
std::vector< art::InputTag > fProngLabels
module labels that produced prongs

Member Data Documentation

bool evd::RecoDrawingOptions::fBestPCAAxisOnly
std::vector<art::InputTag> evd::RecoDrawingOptions::fBezierTrackLabels

module labels that produced events

Definition at line 68 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::BezierTrack2D(), evd::RecoBaseDrawer::BezierTrack3D(), and reconfigure().

fhicl::ParameterSet evd::RecoDrawingOptions::fCaloPSet
Todo:
Why are calorimetry related drawing options in RecoDrawingOptions instead of a separate service?

Definition at line 75 of file RecoDrawingOptions.h.

Referenced by evd::AnalysisBaseDrawer::CalorInteractive(), reconfigure(), and evd::HitSelector::SaveSeedLines().

std::vector<art::InputTag> evd::RecoDrawingOptions::fClusterLabels

module labels that produced clusters

Definition at line 58 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::Cluster2D(), and reconfigure().

int evd::RecoDrawingOptions::fColorProngsByLabel

< parameterset for seed algorithm

Generate prong colors by label or id?

Definition at line 78 of file RecoDrawingOptions.h.

Referenced by reconfigure().

int evd::RecoDrawingOptions::fColorSpacePointsByChisq

Generate space point colors by chisquare?

Definition at line 79 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::DrawSpacePoint3D(), evd::RecoBaseDrawer::DrawSpacePointOrtho(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fCosmicTagLabels

module labels that produced cosmic tags

Definition at line 69 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::PFParticle3D(), evd::RecoBaseDrawer::Prong2D(), evd::RecoBaseDrawer::Prong3D(), and reconfigure().

int evd::RecoDrawingOptions::fDraw2DEndPoints

Definition at line 44 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::EndPoint2D(), and reconfigure().

int evd::RecoDrawingOptions::fDraw2DSlopeEndPoints

Definition at line 33 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::Draw2DSlopeEndPoints(), and reconfigure().

bool evd::RecoDrawingOptions::fDraw3DSpacePointHeatMap

Definition at line 53 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::DrawPFParticle3D(), and reconfigure().

int evd::RecoDrawingOptions::fDrawBezierTracks
int evd::RecoDrawingOptions::fDrawClusters

Definition at line 31 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::Cluster2D(), and reconfigure().

int evd::RecoDrawingOptions::fDrawCosmicTags
int evd::RecoDrawingOptions::fDrawEvents
int evd::RecoDrawingOptions::fDrawHits

Definition at line 30 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::Hit2D(), and reconfigure().

int evd::RecoDrawingOptions::fDrawOpFlashes
int evd::RecoDrawingOptions::fDrawPFParticles
int evd::RecoDrawingOptions::fDrawProngs

Definition at line 35 of file RecoDrawingOptions.h.

Referenced by reconfigure().

int evd::RecoDrawingOptions::fDrawSeeds
int evd::RecoDrawingOptions::fDrawShowers
int evd::RecoDrawingOptions::fDrawSpacePoints
int evd::RecoDrawingOptions::fDrawTrackSegments

Definition at line 39 of file RecoDrawingOptions.h.

Referenced by reconfigure().

int evd::RecoDrawingOptions::fDrawTrackSpacePoints
int evd::RecoDrawingOptions::fDrawTrackTrajectoryPoints
bool evd::RecoDrawingOptions::fDrawTrackVertexAssns
int evd::RecoDrawingOptions::fDrawVertices
std::vector<art::InputTag> evd::RecoDrawingOptions::fEndPoint2DLabels

module labels that produced end point 2d objects

Definition at line 57 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::EndPoint2D(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fEventLabels

module labels that produced events

Definition at line 65 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::Event2D(), evd::RecoBaseDrawer::Event3D(), and reconfigure().

double evd::RecoDrawingOptions::fFlashMinPE

Minimal PE for a flash to be displayed.

Definition at line 81 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::OpFlash2D(), evd::RecoBaseDrawer::OpFlashOrtho(), and reconfigure().

double evd::RecoDrawingOptions::fFlashTMax

Maximum time for a flash to be displayed.

Definition at line 83 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::OpFlash2D(), evd::RecoBaseDrawer::OpFlashOrtho(), and reconfigure().

double evd::RecoDrawingOptions::fFlashTMin

Minimal time for a flash to be displayed.

Definition at line 82 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::OpFlash2D(), evd::RecoBaseDrawer::OpFlashOrtho(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fOpFlashLabels

module labels that produced events

Definition at line 66 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::OpFlash2D(), evd::RecoBaseDrawer::OpFlashOrtho(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fPFParticleLabels

module labels that produced PFParticles

Definition at line 59 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::PFParticle3D(), evd::RecoBaseDrawer::PFParticleOrtho(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fProngLabels

module labels that produced prongs

Definition at line 61 of file RecoDrawingOptions.h.

Referenced by reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fSeedLabels

module labels that produced events

Definition at line 67 of file RecoDrawingOptions.h.

Referenced by reconfigure(), evd::RecoBaseDrawer::Seed2D(), evd::RecoBaseDrawer::Seed3D(), and evd::RecoBaseDrawer::SeedOrtho().

fhicl::ParameterSet evd::RecoDrawingOptions::fSeedPSet

< parameterset for calorimetry algorithm

Definition at line 76 of file RecoDrawingOptions.h.

int evd::RecoDrawingOptions::fSelectedHitColor

Definition at line 48 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::Hit2D(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fShowerLabels
bool evd::RecoDrawingOptions::fSkeletonOnly
std::vector<art::InputTag> evd::RecoDrawingOptions::fSpacePointLabels

module labels that produced space points

Definition at line 60 of file RecoDrawingOptions.h.

Referenced by reconfigure(), evd::RecoBaseDrawer::SpacePoint3D(), and evd::RecoBaseDrawer::SpacePointOrtho().

std::vector<art::InputTag> evd::RecoDrawingOptions::fTrkVtxCosmicLabels

module labels that tagged track as CR (Track/Vertex module)

Definition at line 71 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fTrkVtxFilterLabels

module labels that filtered event (Track/Vertex module)

Definition at line 72 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fTrkVtxTrackLabels

module labels that produced tracks (Track/Vertex module)

Definition at line 70 of file RecoDrawingOptions.h.

Referenced by evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), and reconfigure().

std::vector<art::InputTag> evd::RecoDrawingOptions::fVertexLabels
std::vector<art::InputTag> evd::RecoDrawingOptions::fWireLabels

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