CMS 3D CMS Logo

DTChamberEfficiency.h
Go to the documentation of this file.
1 #ifndef DTCHAMBEREFFICIENCY_H
2 #define DTCHAMBEREFFICIENCY_H
3 
22 
25 
27 
29 
31 
33 
34 #include <string>
35 #include <vector>
36 
37 namespace reco {
38  class TransientTrack;
39 }
40 
42 class MuonServiceProxy;
43 
45 class DetLayer;
46 class DetId;
47 class NavigationSchool;
48 
50 public:
51  //Constructor
53 
54  //Destructor
55  ~DTChamberEfficiency() override;
56 
57  //Operations
58  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
59  void dqmBeginRun(const edm::Run&, const edm::EventSetup&) override;
60 
61 protected:
62  // Book the histograms
63  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
64 
65 private:
66  //functions
67  std::vector<const DetLayer*> compatibleLayers(const NavigationSchool& navigationSchool,
68  const DetLayer* initialLayer,
69  const FreeTrajectoryState& fts,
70  PropagationDirection propDir);
71 
73  bool chamberSelection(const DetId& idDetLay, reco::TransientTrack& trans_track) const;
75 
76  //data members
77  bool debug;
78 
81 
85 
86  double theMaxChi2;
87  double theNSigma;
89 
91 
95 
96  std::vector<std::vector<MonitorElement*> > histosPerW;
97 };
98 
99 #endif // DTANALYZER_H
100 
101 /* Local Variables: */
102 /* show-trailing-whitespace: t */
103 /* truncate-lines: t */
104 /* End: */
MuonDetLayerMeasurements * theMeasurementExtractor
MuonServiceProxy * theService
edm::InputTag thecscSegments
std::vector< std::vector< MonitorElement * > > histosPerW
DTChamberEfficiency(const edm::ParameterSet &pset)
bool chamberSelection(const DetId &idDetLay, reco::TransientTrack &trans_track) const
MeasurementContainer segQualityCut(const MeasurementContainer &seg_list) const
PropagationDirection
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
edm::InputTag labelRPCRecHits
edm::EDGetTokenT< reco::TrackCollection > theTracksToken_
edm::InputTag thedt4DSegments
edm::ESHandle< Propagator > propagator() const
std::vector< const DetLayer * > compatibleLayers(const NavigationSchool &navigationSchool, const DetLayer *initialLayer, const FreeTrajectoryState &fts, PropagationDirection propDir)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DetId.h:17
edm::InputTag theTracksLabel_
std::vector< TrajectoryMeasurement > MeasurementContainer
fixed size matrix
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Chi2MeasurementEstimator * theEstimator
Definition: event.py:1
Definition: Run.h:45