LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
RecoDrawingOptions.cc
Go to the documentation of this file.
1 
8 
9 namespace evd {
10 
11  //......................................................................
13  : evdb::Reconfigurable{pset}
14  {
15  this->reconfigure(pset);
16  }
17 
18  //......................................................................
20  {
21  fDrawHits = pset.get<int>("DrawHits");
22  fDrawClusters = pset.get<int>("DrawClusters");
23  fDrawSlices = pset.get<int>("DrawSlices", 0);
24  fDrawSliceSpacePoints = pset.get<int>("DrawSliceSpacePoints", 0);
25  fDrawPFParticles = pset.get<int>("DrawPFParticles");
26  fDrawEdges = pset.get<int>("DrawEdges");
27  fDrawSpacePoints = pset.get<int>("DrawSpacePoints");
28  fDrawProngs = pset.get<int>("DrawProngs");
29  fDrawTracks = pset.get<int>("DrawTracks");
30  fDrawTrackTrajectoryPoints = pset.get<int>("DrawTrackTrajectoryPoints");
31  fDrawTrackSegments = pset.get<int>("DrawTrackSegments");
32  fDrawTrackSpacePoints = pset.get<int>("DrawTrackSpacePoints");
33  fDrawShowers = pset.get<int>("DrawShowers");
34  fDrawVertices = pset.get<int>("DrawVertices");
35  fDrawOpHits = pset.get<int>("DrawOpHits");
36  fDrawOpFlashes = pset.get<int>("DrawOpFlashes");
37  fDrawSeeds = pset.get<int>("DrawSeeds");
38  fDrawEvents = pset.get<int>("DrawEvents");
39  fDraw2DEndPoints = pset.get<int>("Draw2DEndPoints");
40  fDraw2DSlopeEndPoints = pset.get<int>("Draw2DSlopeEndPoints");
41  fSelectedHitColor = pset.get<int>("SelectedHitColor");
42  fUseHitSelector = pset.get<bool>("UseHitSelector");
43  fSkeletonOnly = pset.get<bool>("DrawSkeleton3DHitsOnly");
44  fBestPCAAxisOnly = pset.get<bool>("DrawBestPCAAxisOnly");
45  fDrawTrackVertexAssns = pset.get<bool>("DrawTrackVertexAssns");
46  fDraw3DSpacePoints = pset.get<bool>("Draw3DSpacePoints");
47  fDraw3DSpacePointHeatMap = pset.get<bool>("Draw3DSpacePointHeatMap");
48  fDraw3DEdges = pset.get<bool>("Draw3DEdges");
49  fDraw3DPCAAxes = pset.get<bool>("Draw3DPCAAxes");
50  fDrawAllWireIDs = pset.get<bool>("DrawAllWireIDs");
51  fHitLabels = pset.get<std::vector<art::InputTag>>("HitModuleLabels");
52  if (pset.has_key("SliceModuleLabels"))
53  fSliceLabels = pset.get<std::vector<art::InputTag>>("SliceModuleLabels");
54  fSpacePointLabels = pset.get<std::vector<art::InputTag>>("SpacePointModuleLabels");
55  fProngLabels = pset.get<std::vector<art::InputTag>>("ProngModuleLabels");
56  fEndPoint2DLabels = pset.get<std::vector<art::InputTag>>("EndPoint2DModuleLabels");
57  fClusterLabels = pset.get<std::vector<art::InputTag>>("ClusterModuleLabels");
58  fPFParticleLabels = pset.get<std::vector<art::InputTag>>("PFParticleModuleLabels");
59  fEdgeLabels = pset.get<std::vector<art::InputTag>>("EdgeModuleLabels");
60  fExtremePointLabels = pset.get<std::vector<art::InputTag>>("ExtremeModuleLabels");
61  fTrackLabels = pset.get<std::vector<art::InputTag>>("TrackModuleLabels");
62  fShowerLabels = pset.get<std::vector<art::InputTag>>("ShowerModuleLabels");
63  fVertexLabels = pset.get<std::vector<art::InputTag>>("VertexModuleLabels");
64  fOpHitLabels = pset.get<std::vector<art::InputTag>>("OpHitModuleLabels");
65  fOpFlashLabels = pset.get<std::vector<art::InputTag>>("OpFlashModuleLabels");
66  fSeedLabels = pset.get<std::vector<art::InputTag>>("SeedModuleLabels");
67  fTrkVtxTrackLabels = pset.get<std::vector<art::InputTag>>("TrkVtxTrackLabels");
68  fTrkVtxCosmicLabels = pset.get<std::vector<art::InputTag>>("TrkVtxCosmicLabels");
69  fTrkVtxFilterLabels = pset.get<std::vector<art::InputTag>>("TrkVtxFilterLabels");
70 
71  fEventLabels = pset.get<std::vector<art::InputTag>>("EventModuleLabels");
72  fWireLabels = pset.get<std::vector<art::InputTag>>("WireModuleLabels");
73  fColorProngsByLabel = pset.get<int>("ColorProngsByLabel");
74  fColorSpacePointsByChisq = pset.get<int>("ColorSpacePointsByChisq");
75  fCaloPSet = pset.get<fhicl::ParameterSet>("CalorimetryAlgorithm");
76  // fSeedPSet = pset.get< fhicl::ParameterSet >("SeedAlgorithm");
77 
79  pset.get<std::vector<art::InputTag>>("CosmicTagLabels", std::vector<art::InputTag>());
80  fDrawCosmicTags = pset.get<int>("DrawCosmicTags");
81  fFlashMinPE = pset.get<double>("FlashMinPE", 0.0);
82  fFlashTMin = pset.get<double>("FlashTMin", -1e9);
83  fFlashTMax = pset.get<double>("FlashTMax", 1e9);
84 
85  fHitDrawerParams = pset.get<fhicl::ParameterSet>("HitDrawer");
86  fWireDrawerParams = pset.get<fhicl::ParameterSet>("WireDrawer");
87 
88  fSpacePointDrawerParams = pset.get<fhicl::ParameterSet>("SpacePointDrawer");
89  fAllSpacePointDrawerParams = pset.get<fhicl::ParameterSet>("AllSpacePointDrawer");
90 
91  f3DDrawerParams = pset.get<fhicl::ParameterSet>("Reco3DDrawers");
92  }
93 
94 } // namespace evd
fhicl::ParameterSet fSpacePointDrawerParams
FHICL parameters for SpacePoint drawing.
int fColorProngsByLabel
< parameterset for seed algorithm
std::vector< art::InputTag > fEndPoint2DLabels
module labels that produced end point 2d objects
void reconfigure(fhicl::ParameterSet const &pset)
RecoDrawingOptions(fhicl::ParameterSet const &pset)
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?
Manage all things related to colors for the event display.
double fFlashTMin
Minimal time for a flash to be displayed.
std::vector< art::InputTag > fExtremePointLabels
module labels that produced Extreme Points
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
LArSoft includes.
std::vector< art::InputTag > fPFParticleLabels
module labels that produced PFParticles
std::vector< art::InputTag > fVertexLabels
module labels that produced vertices
T get(std::string const &key) const
Definition: ParameterSet.h:314
std::vector< art::InputTag > fEdgeLabels
module labels that produced Edge objects
fhicl::ParameterSet fWireDrawerParams
FHICL parameters for the wire drawing.
fhicl::ParameterSet fAllSpacePointDrawerParams
FHICL parameters for SpacePoint drawing.
std::vector< art::InputTag > fSliceLabels
module labels that produced slices
fhicl::ParameterSet f3DDrawerParams
FHICL paramegers for the 3D drawers.
bool has_key(std::string const &key) const
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
fhicl::ParameterSet fHitDrawerParams
FHICL parameters for the hit drawing.
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 > fOpHitLabels
module labels that produced events
std::vector< art::InputTag > fEventLabels
module labels that produced events
std::vector< art::InputTag > fProngLabels
module labels that produced prongs