CMS 3D CMS Logo

DTChamberEfficiency.h
Go to the documentation of this file.
1 #ifndef DTCHAMBEREFFICIENCY_H
2 #define DTCHAMBEREFFICIENCY_H
3 
21 
22 
25 
29 
31 
35 
37 
41 
43 #include <vector>
44 
45 namespace reco {
46  class TransientTrack;
47 }
48 
49 
51 class MuonServiceProxy;
52 
53 class DQMStore;
54 class MonitorElement;
56 class DetLayer;
57 class DetId;
58 class NavigationSchool;
59 
61 {
62 
63  public:
64  //Constructor
66 
67  //Destructor
68  ~DTChamberEfficiency() override ;
69 
70  //Operations
71  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup) override;
72  void dqmBeginRun(const edm::Run& , const edm::EventSetup&) override;
73 
74  protected:
75 // Book the histograms
76 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
77 
78  private:
79 
80  //functions
81  std::vector<const DetLayer*> compatibleLayers(const NavigationSchool& navigationSchool, const DetLayer *initialLayer,
82  const FreeTrajectoryState& fts, PropagationDirection propDir);
83 
84  MeasurementContainer segQualityCut(const MeasurementContainer& seg_list) const;
85  bool chamberSelection(const DetId& idDetLay, reco::TransientTrack& trans_track) const;
87 
88  //data members
89  bool debug;
90 
93 
97 
98  double theMaxChi2;
99  double theNSigma;
101 
103 
105 
109 
112 
113  std::vector<std::vector<MonitorElement*> > histosPerW;
114 
115  protected:
116 
117 };
118 
119 #endif // DTANALYZER_H
120 
121 /* Local Variables: */
122 /* show-trailing-whitespace: t */
123 /* truncate-lines: t */
124 /* End: */
MuonDetLayerMeasurements * theMeasurementExtractor
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
edm::ESHandle< DTGeometry > dtGeom
MuonServiceProxy * theService
edm::InputTag thecscSegments
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< std::vector< MonitorElement * > > histosPerW
PropagationDirection
edm::InputTag labelRPCRecHits
edm::EDGetTokenT< reco::TrackCollection > theTracksToken_
edm::InputTag thedt4DSegments
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
edm::ESHandle< MagneticField > magfield
Definition: DetId.h:18
edm::InputTag theTracksLabel_
std::vector< TrajectoryMeasurement > MeasurementContainer
fixed size matrix
Chi2MeasurementEstimator * theEstimator
Definition: event.py:1
Definition: Run.h:43