RecoDrawingOptions_service.cc
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file RecoDrawingOption_plugin.cc
3 ///
4 /// \version $Id: RecoDrawingOptions_plugin.cc,v 1.1 2010/11/11 18:11:22 p-novaart Exp $
5 /// \author brebel@fnal.gov
6 
7 // Framework includes
8 
9 /// GArSoft includes
11 
12 #include <iostream>
13 
14 namespace gar {
15 namespace evd {
16 
17 //......................................................................
19  art::ActivityRegistry& /* reg */)
20  : evdb::Reconfigurable{pset}
21 {
22  this->reconfigure(pset);
23 }
24 
25 //......................................................................
27 {
28 }
29 
30 //......................................................................
32 {
33  fDrawHits = pset.get< int >("DrawHits" );
34  fDrawTPCClusters = pset.get< int >("DrawTPCClusters" );
35  fTPCClusterMarker = pset.get< int >("TPCClusterMarker" );
36  fTPCClusterMarkerSize = pset.get< int >("TPCClusterMarkerSize" );
37  fDrawCaloClusters = pset.get< int >("DrawCaloClusters" );
38  fDrawCaloHits = pset.get< int >("DrawCaloHits" );
39  fDrawTracks = pset.get< int >("DrawTracks" );
40  fTrackWidth = pset.get< int >("TrackWidth" );
41  fDrawTrackTrajectoryPoints = pset.get< int >("DrawTrackTrajectoryPoints");
42  fDrawShowers = pset.get< int >("DrawShowers" );
43  fDrawVecHits = pset.get< int >("DrawVecHits" );
44  fDrawVertices = pset.get< int >("DrawVertices" );
45  fDrawEvents = pset.get< int >("DrawEvents" );
46  fHitLabels = pset.get< std::vector<std::string> >("HitModuleLabels" );
47  fTPCClusterLabels = pset.get< std::vector<std::string> >("TPCClusterModuleLabels" );
48  fCaloClusterLabels = pset.get< std::vector<std::string> >("CaloClusterModuleLabels" );
49  fCaloHitLabels = pset.get< std::vector<std::string> >("CaloHitModuleLabels" );
50  fTrackLabels = pset.get< std::vector<std::string> >("TrackModuleLabels" );
51  fShowerLabels = pset.get< std::vector<std::string> >("ShowerModuleLabels" );
52  fVecHitLabels = pset.get< std::vector<std::string> >("VecHitModuleLabels" );
53  fVertexLabels = pset.get< std::vector<std::string> >("VertexModuleLabels" );
54  fEventLabels = pset.get< std::vector<std::string> >("EventModuleLabels" );
55  fCaloClusterScale = pset.get< float >("CaloClusterScale" );
56  fCaloHitScale = pset.get< float >("CaloHitScale" );
57  }
58 
59 }
60 
61 namespace evd {
62 
64 
65 } // namespace evd
66 }
67 ////////////////////////////////////////////////////////////////////////
RecoDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
std::vector< std::string > fEventLabels
module labels that produced events
std::vector< std::string > fCaloHitLabels
module labels that produced Calorimeter Hits
std::vector< std::string > fHitLabels
module labels that produced hits
std::vector< std::string > fVecHitLabels
module labels that produced vechits
LArSoft includes.
Definition: InfoTransfer.h:33
void reconfigure(fhicl::ParameterSet const &pset)
T get(std::string const &key) const
Definition: ParameterSet.h:271
std::vector< std::string > fVertexLabels
module labels that produced vertices
General GArSoft Utilities.
#define DEFINE_ART_SERVICE(svc)
std::vector< std::string > fShowerLabels
module labels that produced showers
std::vector< std::string > fCaloClusterLabels
module labels that produced Calorimeter Clusters
std::vector< std::string > fTrackLabels
module labels that produced tracks
std::vector< std::string > fTPCClusterLabels
module labels that produced TPC Clusters