LArSoft  v07_13_02
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  fDrawSlices = pset.get<int>("DrawSlices", 0);
34  fDrawSliceSpacePoints = pset.get< int >("DrawSliceSpacePoints",0);
35  fDrawPFParticles = pset.get< int >("DrawPFParticles" );
36  fDrawSpacePoints = pset.get< int >("DrawSpacePoints" );
37  fDrawProngs = pset.get< int >("DrawProngs" );
38  fDrawTracks = pset.get< int >("DrawTracks" );
39  fDrawTrackTrajectoryPoints = pset.get< int >("DrawTrackTrajectoryPoints");
40  fDrawTrackSegments = pset.get< int >("DrawTrackSegments" );
41  fDrawTrackSpacePoints = pset.get< int >("DrawTrackSpacePoints" );
42  fDrawShowers = pset.get< int >("DrawShowers" );
43  fDrawVertices = pset.get< int >("DrawVertices" );
44  fDrawOpFlashes = pset.get< int >("DrawOpFlashes" );
45  fDrawSeeds = pset.get< int >("DrawSeeds" );
46  fDrawBezierTracks = pset.get< int >("DrawBezierTracks" );
47  fDrawEvents = pset.get< int >("DrawEvents" );
48  fDraw2DEndPoints = pset.get< int >("Draw2DEndPoints" );
49  fDraw2DSlopeEndPoints = pset.get< int >("Draw2DSlopeEndPoints" );
50  fSelectedHitColor = pset.get< int >("SelectedHitColor" );
51  fUseHitSelector = pset.get< bool >("UseHitSelector" );
52  fSkeletonOnly = pset.get< bool >("DrawSkeleton3DHitsOnly" );
53  fBestPCAAxisOnly = pset.get< bool >("DrawBestPCAAxisOnly" );
54  fDrawTrackVertexAssns = pset.get< bool >("DrawTrackVertexAssns" );
55  fDraw3DSpacePointHeatMap = pset.get< bool >("Draw3DSpacePointHeatMap" );
56  fHitLabels = pset.get< std::vector<art::InputTag> >("HitModuleLabels" );
57  if(pset.has_key("SliceModuleLabels")) fSliceLabels = pset.get< std::vector<art::InputTag> >("SliceModuleLabels");
58  fSpacePointLabels = pset.get< std::vector<art::InputTag> >("SpacePointModuleLabels" );
59  fProngLabels = pset.get< std::vector<art::InputTag> >("ProngModuleLabels" );
60  fEndPoint2DLabels = pset.get< std::vector<art::InputTag> >("EndPoint2DModuleLabels" );
61  fClusterLabels = pset.get< std::vector<art::InputTag> >("ClusterModuleLabels" );
62  fPFParticleLabels = pset.get< std::vector<art::InputTag> >("PFParticleModuleLabels" );
63  fTrackLabels = pset.get< std::vector<art::InputTag> >("TrackModuleLabels" );
64  fShowerLabels = pset.get< std::vector<art::InputTag> >("ShowerModuleLabels" );
65  fVertexLabels = pset.get< std::vector<art::InputTag> >("VertexModuleLabels" );
66  fOpFlashLabels = pset.get< std::vector<art::InputTag> >("OpFlashModuleLabels" );
67  fSeedLabels = pset.get< std::vector<art::InputTag> >("SeedModuleLabels" );
68  fBezierTrackLabels = pset.get< std::vector<art::InputTag> >("BezierTrackModuleLabels" );
69  fTrkVtxTrackLabels = pset.get< std::vector<art::InputTag> >("TrkVtxTrackLabels" );
70  fTrkVtxCosmicLabels = pset.get< std::vector<art::InputTag> >("TrkVtxCosmicLabels" );
71  fTrkVtxFilterLabels = pset.get< std::vector<art::InputTag> >("TrkVtxFilterLabels" );
72 
73  fEventLabels = pset.get< std::vector<art::InputTag> >("EventModuleLabels" );
74  fWireLabels = pset.get< std::vector<art::InputTag> >("WireModuleLabels" );
75  fColorProngsByLabel = pset.get< int >("ColorProngsByLabel" );
76  fColorSpacePointsByChisq = pset.get< int >("ColorSpacePointsByChisq" );
77  fCaloPSet = pset.get< fhicl::ParameterSet >("CalorimetryAlgorithm" );
78  // fSeedPSet = pset.get< fhicl::ParameterSet >("SeedAlgorithm");
79 
80  fCosmicTagLabels = pset.get< std::vector<art::InputTag> >("CosmicTagLabels", std::vector<art::InputTag>() );
81  fDrawCosmicTags = pset.get< int >("DrawCosmicTags" );
82  fFlashMinPE = pset.get< double >("FlashMinPE", 0.0 );
83  fFlashTMin = pset.get< double >("FlashTMin", -1e9 );
84  fFlashTMax = pset.get< double >("FlashTMax", 1e9 );
85  }
86 
87 }
88 
89 namespace evd {
90 
92 
93 } // 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
std::vector< art::InputTag > fSliceLabels
module labels that produced slices
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
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