File indexing completed on 2024-04-06 12:32:00
0001 #ifndef Validation_DTRecHits_DTSegment2DSLPhiQuality_h
0002 #define Validation_DTRecHits_DTSegment2DSLPhiQuality_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include <map>
0012 #include <string>
0013 #include <vector>
0014
0015 #include "DQMServices/Core/interface/DQMGlobalEDAnalyzer.h"
0016 #include "DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h"
0017 #include "Geometry/Records/interface/MuonGeometryRecord.h"
0018 #include "FWCore/Utilities/interface/InputTag.h"
0019 #include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
0020
0021 namespace edm {
0022 class ParameterSet;
0023 class Event;
0024 class EventSetup;
0025 }
0026
0027 class HRes2DHit;
0028 class HEff2DHit;
0029 namespace dtsegment2dsl {
0030 struct Histograms;
0031 }
0032
0033 class DTSegment2DSLPhiQuality : public DQMGlobalEDAnalyzer<dtsegment2dsl::Histograms> {
0034 public:
0035
0036 DTSegment2DSLPhiQuality(const edm::ParameterSet &pset);
0037
0038 private:
0039
0040 void bookHistograms(DQMStore::IBooker &,
0041 edm::Run const &,
0042 edm::EventSetup const &,
0043 dtsegment2dsl::Histograms &) const override;
0044
0045
0046 void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtsegment2dsl::Histograms const &) const override;
0047
0048 private:
0049
0050 edm::InputTag simHitLabel_;
0051 edm::InputTag segment4DLabel_;
0052 edm::EDGetTokenT<edm::PSimHitContainer> simHitToken_;
0053 edm::EDGetTokenT<DTRecSegment4DCollection> segment4DToken_;
0054
0055
0056 edm::ESGetToken<DTGeometry, MuonGeometryRecord> muonGeomToken_;
0057
0058
0059 double sigmaResPos_;
0060
0061
0062 double sigmaResAngle_;
0063
0064 bool doall_;
0065 bool local_;
0066
0067
0068 bool debug_;
0069 };
0070
0071 #endif