CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTSegment2DQuality.h
Go to the documentation of this file.
1 #ifndef Validation_DTRecHits_DTSegment2DQuality_h
2 #define Validation_DTRecHits_DTSegment2DQuality_h
3 
11 #include <map>
12 #include <string>
13 #include <vector>
14 
20 
21 namespace edm {
22  class ParameterSet;
23  class Event;
24  class EventSetup;
25 } // namespace edm
26 
27 class HRes2DHit;
28 class HEff2DHit;
29 namespace dtsegment2d {
30  struct Histograms;
31 }
32 
33 class DTSegment2DQuality : public DQMGlobalEDAnalyzer<dtsegment2d::Histograms> {
34 public:
37 
38 private:
41  edm::Run const &,
42  edm::EventSetup const &,
43  dtsegment2d::Histograms &) const override;
44 
46  void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment2d::Histograms const &) const override;
47 
48 private:
49  // Labels to read from event
54 
55  //Get DT Geometry
57 
58  // Sigma resolution on position
59  double sigmaResPos_;
60 
61  // Sigma resolution on angle
63 
64  // Switch for debug output
65  bool debug_;
66 };
67 
68 #endif // Validation_DTRecHits_DTSegment2DQuality_h
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtsegment2d::Histograms &) const override
Book the DQM plots.
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
DTSegment2DQuality(const edm::ParameterSet &pset)
Constructor.
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
edm::InputTag simHitLabel_
void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment2d::Histograms const &) const override
Perform the real analysis.
edm::InputTag segment2DLabel_
Definition: Run.h:45