CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTSegment4DQuality.h
Go to the documentation of this file.
1 #ifndef Validation_DTRecHits_DTSegment4DQuality_h
2 #define Validation_DTRecHits_DTSegment4DQuality_h
3 
24 #include <map>
25 #include <string>
26 #include <vector>
27 
33 
34 namespace edm {
35  class ParameterSet;
36  class Event;
37  class EventSetup;
38 } // namespace edm
39 
40 class HRes4DHit;
41 class HEff4DHit;
42 namespace dtsegment4d {
43  struct Histograms;
44 }
45 
46 class DTSegment4DQuality : public DQMGlobalEDAnalyzer<dtsegment4d::Histograms> {
47 public:
50 
51 private:
54  edm::Run const &,
55  edm::EventSetup const &,
56  dtsegment4d::Histograms &) const override;
57 
59  void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment4d::Histograms const &) const override;
60 
61 private:
62  // Labels to read from event
67 
68  //Get DT Geometry
70 
71  // Sigma resolution on position
72  double sigmaResX_;
73  double sigmaResY_;
74 
75  // Sigma resolution on angle
77  double sigmaResBeta_;
78 
79  bool doall_;
80  bool local_;
81 
82  // Switch for debug output
83  bool debug_;
84 };
85 
86 #endif
void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment4d::Histograms const &) const override
Perform the real analysis.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
edm::InputTag segment4DLabel_
edm::InputTag simHitLabel_
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
DTSegment4DQuality(const edm::ParameterSet &pset)
Constructor.
A set of histograms for efficiency 4D RecHits (producer)
Definition: Histograms.h:940
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtsegment4d::Histograms &) const override
Book the DQM plots.
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
Definition: Run.h:45