LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
RecoDrawingOptions_service.cc
Go to the documentation of this file.
1 
6 // Framework includes
7 
10 
11 #include <iostream>
12 
13 namespace evd {
14 
15 //......................................................................
17  art::ActivityRegistry& /* reg */)
18  : evdb::Reconfigurable{pset}
19 {
20  this->reconfigure(pset);
21 }
22 
23 //......................................................................
25 {
26 }
27 
28 //......................................................................
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  }
83 
84 }
85 
86 namespace evd {
87 
89 
90 } // namespace evd
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)
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
#define DEFINE_ART_SERVICE(svc)
Definition: ServiceMacros.h:93
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 > 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 > 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)
RecoDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
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