All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RecoDrawingOptions.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 //
3 // Display parameters for the raw data
4 //
5 // \author brebel@fnal.gov
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef RECODRAWINGOPTIONS_H
8 #define RECODRAWINGOPTIONS_H
9 #ifndef __CINT__
10 #include <string>
11 #include <vector>
12 
13 #include "fhiclcpp/ParameterSet.h"
14 #include "art/Framework/Services/Registry/ServiceDeclarationMacros.h"
15 #include "nuevdb/EventDisplayBase/Reconfigurable.h"
16 #include "canvas/Utilities/InputTag.h"
17 
18 namespace evd {
19 
20  class RecoDrawingOptions : public evdb::Reconfigurable
21 {
22 public:
23  explicit RecoDrawingOptions(fhicl::ParameterSet const& pset);
24 
25  void reconfigure(fhicl::ParameterSet const& pset) ;
26 
27  int fDrawHits;
58 
59  std::vector<art::InputTag> fWireLabels; ///< module labels that produced wires
60  std::vector<art::InputTag> fHitLabels; ///< module labels that produced hits
61  std::vector<art::InputTag> fSliceLabels; ///< module labels that produced slices
62  std::vector<art::InputTag> fEndPoint2DLabels; ///< module labels that produced end point 2d objects
63  std::vector<art::InputTag> fClusterLabels; ///< module labels that produced clusters
64  std::vector<art::InputTag> fPFParticleLabels; ///< module labels that produced PFParticles
65  std::vector<art::InputTag> fEdgeLabels; ///< module labels that produced Edge objects
66  std::vector<art::InputTag> fExtremePointLabels; ///< module labels that produced Extreme Points
67  std::vector<art::InputTag> fSpacePointLabels; ///< module labels that produced space points
68  std::vector<art::InputTag> fProngLabels; ///< module labels that produced prongs
69  std::vector<art::InputTag> fTrackLabels; ///< module labels that produced tracks
70  std::vector<art::InputTag> fShowerLabels; ///< module labels that produced showers
71  std::vector<art::InputTag> fVertexLabels; ///< module labels that produced vertices
72  std::vector<art::InputTag> fEventLabels; ///< module labels that produced events
73  std::vector<art::InputTag> fOpHitLabels; ///< module labels that produced events
74  std::vector<art::InputTag> fOpFlashLabels; ///< module labels that produced events
75  std::vector<art::InputTag> fSeedLabels; ///< module labels that produced events
76  std::vector<art::InputTag> fCosmicTagLabels; ///< module labels that produced cosmic tags
77  std::vector<art::InputTag> fTrkVtxTrackLabels; ///< module labels that produced tracks (Track/Vertex module)
78  std::vector<art::InputTag> fTrkVtxCosmicLabels; ///< module labels that tagged track as CR (Track/Vertex module)
79  std::vector<art::InputTag> fTrkVtxFilterLabels; ///< module labels that filtered event (Track/Vertex module)
80 
81  ///\todo Why are calorimetry related drawing options in RecoDrawingOptions instead of a separate service?
82  fhicl::ParameterSet fCaloPSet; /// < parameterset for calorimetry algorithm
83  fhicl::ParameterSet fSeedPSet; /// < parameterset for seed algorithm
84 
85  int fColorProngsByLabel; ///< Generate prong colors by label or id?
86  int fColorSpacePointsByChisq; ///< Generate space point colors by chisquare?
87 
88  double fFlashMinPE; ///< Minimal PE for a flash to be displayed.
89  double fFlashTMin; ///< Minimal time for a flash to be displayed.
90  double fFlashTMax; ///< Maximum time for a flash to be displayed.
91 
92  fhicl::ParameterSet fHitDrawerParams; ///< FHICL parameters for the hit drawing
93  fhicl::ParameterSet fWireDrawerParams; ///< FHICL parameters for the wire drawing
94 
95  fhicl::ParameterSet fSpacePointDrawerParams; ///< FHICL parameters for SpacePoint drawing
96  fhicl::ParameterSet fAllSpacePointDrawerParams; ///< FHICL parameters for SpacePoint drawing
97 
98  fhicl::ParameterSet f3DDrawerParams; ///< FHICL paramegers for the 3D drawers
99  };
100 }//namespace
101 #endif // __CINT__
102 DECLARE_ART_SERVICE(evd::RecoDrawingOptions, LEGACY)
103 #endif
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
fhicl::ParameterSet fSeedPSet
&lt; parameterset for calorimetry algorithm
std::vector< art::InputTag > fTrkVtxTrackLabels
module labels that produced tracks (Track/Vertex module)
int fColorSpacePointsByChisq
Generate space point colors by chisquare?
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