All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RecoDrawingOptions.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file RecoDrawingOptions_service.cc
3 ///
4 /// \author brebel@fnal.gov
5 
6 /// LArSoft includes
8 
9 
10 namespace evd {
11 
12 //......................................................................
13 RecoDrawingOptions::RecoDrawingOptions(fhicl::ParameterSet const& pset)
14  : evdb::Reconfigurable{pset}
15 {
16  this->reconfigure(pset);
17 }
18 
19 //......................................................................
20 void RecoDrawingOptions::reconfigure(fhicl::ParameterSet const& pset)
21 {
22  fDrawHits = pset.get< int >("DrawHits" );
23  fDrawClusters = pset.get< int >("DrawClusters" );
24  fDrawSlices = pset.get< int >("DrawSlices", 0);
25  fDrawSliceSpacePoints = pset.get< int >("DrawSliceSpacePoints", 0);
26  fDrawPFParticles = pset.get< int >("DrawPFParticles" );
27  fDrawEdges = pset.get< int >("DrawEdges" );
28  fDrawSpacePoints = pset.get< int >("DrawSpacePoints" );
29  fDrawProngs = pset.get< int >("DrawProngs" );
30  fDrawTracks = pset.get< int >("DrawTracks" );
31  fDrawTrackTrajectoryPoints = pset.get< int >("DrawTrackTrajectoryPoints");
32  fDrawTrackSegments = pset.get< int >("DrawTrackSegments" );
33  fDrawTrackSpacePoints = pset.get< int >("DrawTrackSpacePoints" );
34  fDrawShowers = pset.get< int >("DrawShowers" );
35  fDrawVertices = pset.get< int >("DrawVertices" );
36  fDrawOpHits = pset.get< int >("DrawOpHits" );
37  fDrawOpFlashes = pset.get< int >("DrawOpFlashes" );
38  fDrawSeeds = pset.get< int >("DrawSeeds" );
39  fDrawEvents = pset.get< int >("DrawEvents" );
40  fDraw2DEndPoints = pset.get< int >("Draw2DEndPoints" );
41  fDraw2DSlopeEndPoints = pset.get< int >("Draw2DSlopeEndPoints" );
42  fSelectedHitColor = pset.get< int >("SelectedHitColor" );
43  fUseHitSelector = pset.get< bool >("UseHitSelector" );
44  fSkeletonOnly = pset.get< bool >("DrawSkeleton3DHitsOnly" );
45  fBestPCAAxisOnly = pset.get< bool >("DrawBestPCAAxisOnly" );
46  fDrawTrackVertexAssns = pset.get< bool >("DrawTrackVertexAssns" );
47  fDraw3DSpacePoints = pset.get< bool >("Draw3DSpacePoints" );
48  fDraw3DSpacePointHeatMap = pset.get< bool >("Draw3DSpacePointHeatMap" );
49  fDraw3DEdges = pset.get< bool >("Draw3DEdges" );
50  fDraw3DPCAAxes = pset.get< bool >("Draw3DPCAAxes" );
51  fDrawAllWireIDs = pset.get< bool >("DrawAllWireIDs" );
52  fHitLabels = pset.get< std::vector<art::InputTag> >("HitModuleLabels" );
53  if(pset.has_key("SliceModuleLabels")) 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 
78  fCosmicTagLabels = pset.get< std::vector<art::InputTag> >("CosmicTagLabels", std::vector<art::InputTag>() );
79  fDrawCosmicTags = pset.get< int >("DrawCosmicTags" );
80  fFlashMinPE = pset.get< double >("FlashMinPE", 0.0 );
81  fFlashTMin = pset.get< double >("FlashTMin", -1e9 );
82  fFlashTMax = pset.get< double >("FlashTMax", 1e9 );
83 
84  fHitDrawerParams = pset.get< fhicl::ParameterSet >("HitDrawer" );
85  fWireDrawerParams = pset.get< fhicl::ParameterSet >("WireDrawer" );
86 
87  fSpacePointDrawerParams = pset.get< fhicl::ParameterSet >("SpacePointDrawer" );
88  fAllSpacePointDrawerParams = pset.get< fhicl::ParameterSet >("AllSpacePointDrawer" );
89 
90  f3DDrawerParams = pset.get< fhicl::ParameterSet >("Reco3DDrawers" );
91  }
92 
93 } // namespace evd
94 ////////////////////////////////////////////////////////////////////////
fhicl::ParameterSet fSpacePointDrawerParams
FHICL parameters for SpacePoint drawing.
int fColorProngsByLabel
&lt; 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?
for pfile in ack l reconfigure(.*) override"` do echo "checking $
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
std::vector< art::InputTag > fPFParticleLabels
module labels that produced PFParticles
std::vector< art::InputTag > fVertexLabels
module labels that produced vertices
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.
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