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: */
DTChamberEfficiency::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: DTChamberEfficiency.cc:92
DTChamberEfficiency::chamberSelection
bool chamberSelection(const DetId &idDetLay, reco::TransientTrack &trans_track) const
Definition: DTChamberEfficiency.cc:231
Chi2MeasurementEstimator
Definition: Chi2MeasurementEstimator.h:15
ESHandle.h
DetLayer
Definition: DetLayer.h:21
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< reco::TrackCollection >
MuonDetLayerMeasurements
Definition: MuonDetLayerMeasurements.h:41
DTChamberEfficiency::theEstimator
Chi2MeasurementEstimator * theEstimator
Definition: DTChamberEfficiency.h:94
DTChamberEfficiency::theNSigma
double theNSigma
Definition: DTChamberEfficiency.h:87
DTChamberEfficiency::theMinNrec
int theMinNrec
Definition: DTChamberEfficiency.h:88
DQMStore.h
NavigationSchool
Definition: NavigationSchool.h:18
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
DTChamberEfficiency
Definition: DTChamberEfficiency.h:49
DTChamberEfficiency::thedt4DSegments
edm::InputTag thedt4DSegments
Definition: DTChamberEfficiency.h:83
MeasurementContainer
std::vector< TrajectoryMeasurement > MeasurementContainer
Definition: RPCRecHitFilter.h:55
DetId
Definition: DetId.h:17
DTChamberEfficiency::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: DTChamberEfficiency.cc:119
Track.h
TrackFwd.h
DTChamberEfficiency::dqmBeginRun
void dqmBeginRun(const edm::Run &, const edm::EventSetup &) override
Definition: DTChamberEfficiency.cc:90
DTChamberEfficiency::DTChamberEfficiency
DTChamberEfficiency(const edm::ParameterSet &pset)
Definition: DTChamberEfficiency.cc:49
edm::ESHandle< Propagator >
DTChamberEfficiency::~DTChamberEfficiency
~DTChamberEfficiency() override
Definition: DTChamberEfficiency.cc:81
DQMEDAnalyzer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
DTChamberEfficiency::theMeasurementExtractor
MuonDetLayerMeasurements * theMeasurementExtractor
Definition: DTChamberEfficiency.h:93
edm::ParameterSet
Definition: ParameterSet.h:36
DTChamberEfficiency::debug
bool debug
Definition: DTChamberEfficiency.h:77
FrameworkfwdMostUsed.h
DTChamberEfficiency::theService
MuonServiceProxy * theService
Definition: DTChamberEfficiency.h:92
edm::EventSetup
Definition: EventSetup.h:57
DTChamberEfficiency::propagator
edm::ESHandle< Propagator > propagator() const
Definition: DTChamberEfficiency.cc:293
DTChamberEfficiency::theNavigationType
std::string theNavigationType
Definition: DTChamberEfficiency.h:90
DTChamberEfficiency::labelRPCRecHits
edm::InputTag labelRPCRecHits
Definition: DTChamberEfficiency.h:82
InputTag.h
DTChamberEfficiency::theMaxChi2
double theMaxChi2
Definition: DTChamberEfficiency.h:86
reco::TransientTrack
Definition: TransientTrack.h:19
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
MuonDetLayerMeasurements.h
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
DTChamberEfficiency::theTracksLabel_
edm::InputTag theTracksLabel_
Definition: DTChamberEfficiency.h:79
dqm::implementation::IBooker
Definition: DQMStore.h:43
MuonServiceProxy
Definition: MuonServiceProxy.h:38
event
Definition: event.py:1
DTChamberEfficiency::theTracksToken_
edm::EDGetTokenT< reco::TrackCollection > theTracksToken_
Definition: DTChamberEfficiency.h:80
edm::Event
Definition: Event.h:73
DTChamberEfficiency::segQualityCut
MeasurementContainer segQualityCut(const MeasurementContainer &seg_list) const
Definition: DTChamberEfficiency.cc:243
edm::InputTag
Definition: InputTag.h:15
DTChamberEfficiency::compatibleLayers
std::vector< const DetLayer * > compatibleLayers(const NavigationSchool &navigationSchool, const DetLayer *initialLayer, const FreeTrajectoryState &fts, PropagationDirection propDir)
Definition: DTChamberEfficiency.cc:270
DTChamberEfficiency::thecscSegments
edm::InputTag thecscSegments
Definition: DTChamberEfficiency.h:84
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
DTChamberEfficiency::histosPerW
std::vector< std::vector< MonitorElement * > > histosPerW
Definition: DTChamberEfficiency.h:96