CMS 3D CMS Logo

MuonIdVal.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Validation/MuonIdentification
4 // Class: MuonIdVal
5 //
6 /*
7 
8  Description: Makes and fills lots of histograms using the various reco::Muon
9  methods.
10 
11 
12 */
13 //
14 // Original Author: Jacob Ribnik
15 // Created: Wed Apr 18 13:48:08 CDT 2007
16 //
17 //
18 
19 #ifndef Validation_MuonIdentification_MuonIdVal_h
20 #define Validation_MuonIdentification_MuonIdVal_h
21 
22 // system include files
23 #include <string>
24 
25 // user include files
40 
49 
55 
56 //class MuonIdVal : public edm::EDAnalyzer {
57 class MuonIdVal : public DQMEDAnalyzer {
58  public:
59  explicit MuonIdVal(const edm::ParameterSet&);
60  ~MuonIdVal() override;
61 
62  private:
63  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
64  void analyze(const edm::Event&, const edm::EventSetup&) override;
65  virtual void Fill(MonitorElement*, float);
66 
71 
72  // ----------member data ---------------------------
98 
99 
109 
110  // trackerMuon == 0; globalMuon == 1
111  // energy deposits
117 
118  // time information
139 
140  // muonid
165 
166  //cosmic compatibilities
171 
172  // by station
173 
174  //shower information
180 
197 
198  // by chamber, trackerMuons only
199  // DT: [station][wheel][sector]
200  // CSC: [endcap][station][ring][chamber]
213 
214  // segment matching "efficiency"
223 };
224 
225 #endif
MonitorElement * hDTChamberEdgeXWithSegment[4][5][14]
Definition: MuonIdVal.h:203
~MuonIdVal() override
Definition: MuonIdVal.cc:36
MonitorElement * hMuonAllHits[4][4]
Definition: MuonIdVal.h:177
edm::EDGetTokenT< CSCSegmentCollection > inputCSCSegmentCollectionToken_
Definition: MuonIdVal.h:81
MonitorElement * hDTDistWithNoSegment[4][4]
Definition: MuonIdVal.h:186
MonitorElement * hMuonTimeExtraDTTimeAtIpInOut[4]
Definition: MuonIdVal.h:135
MonitorElement * hDTDistWithSegment[4][4]
Definition: MuonIdVal.h:185
bool makeShowerInformationPlots_
Definition: MuonIdVal.h:96
MonitorElement * hCSCChamberEdgeXWithNoSegment[2][4][4][36]
Definition: MuonIdVal.h:210
MonitorElement * hDTPulldYdZPropErr[4][3]
Definition: MuonIdVal.h:184
MonitorElement * hDTChamberEdgeXWithNoSegment[4][5][14]
Definition: MuonIdVal.h:204
MonitorElement * hSegmentCompat[4]
Definition: MuonIdVal.h:142
MonitorElement * hMuonTimeTimeAtIpInOut[4]
Definition: MuonIdVal.h:120
MonitorElement * hMuonTimeTimeAtIpOutIn[4]
Definition: MuonIdVal.h:122
edm::Handle< reco::MuonTimeExtraMap > cscMuonTimeExtraValueMapH_
Definition: MuonIdVal.h:104
MonitorElement * hSegmentIsAssociatedXY
Definition: MuonIdVal.h:216
edm::EDGetTokenT< reco::MuonCollection > inputMuonCollectionToken_
Definition: MuonIdVal.h:79
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: MuonIdVal.cc:295
bool makeTimePlots_
Definition: MuonIdVal.h:92
MonitorElement * hTMLastStationOptimizedLowPtLooseBool[4]
Definition: MuonIdVal.h:154
MonitorElement * hTMLastStationLooseBool[4]
Definition: MuonIdVal.h:148
MonitorElement * hMuonUncorrelatedHits[4][4]
Definition: MuonIdVal.h:179
MonitorElement * hEnergyHAEndcap[4]
Definition: MuonIdVal.h:116
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: MuonIdVal.cc:39
MonitorElement * hDTPullDistWithNoSegment[4][4]
Definition: MuonIdVal.h:188
MonitorElement * hCSCChamberEdgeYWithNoSegment[2][4][4][36]
Definition: MuonIdVal.h:212
edm::EDGetTokenT< edm::ValueMap< reco::MuonCosmicCompatibility > > inputMuonCosmicCompatibilityValueMapToken_
Definition: MuonIdVal.h:85
MonitorElement * hSegmentIsBestDrNotAssociatedRZ
Definition: MuonIdVal.h:221
MonitorElement * hMuonTimeExtraCombinedTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:126
MonitorElement * hMuonTimeTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:121
MonitorElement * hB2BCosmicCompat[4]
Definition: MuonIdVal.h:169
bool makeEnergyPlots_
Definition: MuonIdVal.h:91
virtual void Fill(MonitorElement *, float)
Definition: MuonIdVal.cc:644
edm::Handle< DTRecSegment4DCollection > dtSegmentCollectionH_
Definition: MuonIdVal.h:101
MonitorElement * hCSCChamberDy[2][4][4][36]
Definition: MuonIdVal.h:208
edm::InputTag inputMuonTimeExtraValueMap_
Definition: MuonIdVal.h:76
MonitorElement * hEnergyEMEndcap[4]
Definition: MuonIdVal.h:115
MonitorElement * hTMLastStationOptimizedBarrelLowPtLooseBool[4]
Definition: MuonIdVal.h:163
MonitorElement * hCSCPullxPropErr[4][4]
Definition: MuonIdVal.h:189
MonitorElement * hMuonTimeExtraDTNDOF[4]
Definition: MuonIdVal.h:134
edm::EDGetTokenT< reco::MuonTimeExtraMap > inputMuonTimeExtraValueMapDTToken_
Definition: MuonIdVal.h:83
MonitorElement * hMuonTimeExtraCSCTimeAtIpOutIn[4]
Definition: MuonIdVal.h:132
MonitorElement * hCSCPulldXdZPropErr[4][4]
Definition: MuonIdVal.h:190
MonitorElement * hEnergyHABarrel[4]
Definition: MuonIdVal.h:113
MonitorElement * hCSCPulldYdZPropErr[4][4]
Definition: MuonIdVal.h:192
edm::ParameterSet parameters_
Definition: MuonIdVal.h:68
MonitorElement * hMuonTimeExtraCSCTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:133
MonitorElement * hTMLastStationAngLooseBool[4]
Definition: MuonIdVal.h:159
MonitorElement * hMuonTimeExtraDTTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:138
MonitorElement * hMuonTimeNDOF[4]
Definition: MuonIdVal.h:119
MonitorElement * hMuonTimeExtraCSCTimeAtIpInOut[4]
Definition: MuonIdVal.h:130
MonitorElement * hTMOneStationAngTightBool[4]
Definition: MuonIdVal.h:162
MonitorElement * hMuonTimeExtraCombinedNDOF[4]
Definition: MuonIdVal.h:124
MonitorElement * hMuonTimeTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:123
MonitorElement * hGMStaChiCompatibilityBool[4]
Definition: MuonIdVal.h:157
std::string baseFolder_
Definition: MuonIdVal.h:97
MonitorElement * hDTChamberDx[4][5][14]
Definition: MuonIdVal.h:201
MonitorElement * hGMTkChiCompatibilityBool[4]
Definition: MuonIdVal.h:156
edm::ESHandle< GlobalTrackingGeometry > geometry_
Definition: MuonIdVal.h:108
MonitorElement * hSegmentIsBestDrNotAssociatedXY
Definition: MuonIdVal.h:222
MonitorElement * hTMLastStationTightBool[4]
Definition: MuonIdVal.h:149
edm::EDGetTokenT< reco::MuonTimeExtraMap > inputMuonTimeExtraValueMapCSCToken_
Definition: MuonIdVal.h:84
edm::Handle< CSCSegmentCollection > cscSegmentCollectionH_
Definition: MuonIdVal.h:102
edm::EDGetTokenT< edm::ValueMap< reco::MuonShower > > inputMuonShowerInformationValueMapToken_
Definition: MuonIdVal.h:86
edm::InputTag inputMuonCosmicCompatibilityValueMap_
Definition: MuonIdVal.h:77
bool useTrackerMuons_
Definition: MuonIdVal.h:87
MonitorElement * hTMLastStationOptimizedBarrelLowPtTightBool[4]
Definition: MuonIdVal.h:164
MonitorElement * hDTPulldXdZPropErr[4][4]
Definition: MuonIdVal.h:182
MonitorElement * hCombinedCosmicCompat[4]
Definition: MuonIdVal.h:167
edm::EDGetTokenT< DTRecSegment4DCollection > inputDTRecSegment4DCollectionToken_
Definition: MuonIdVal.h:80
edm::Handle< reco::MuonCollection > muonCollectionH_
Definition: MuonIdVal.h:100
edm::Handle< reco::MuonTimeExtraMap > combinedMuonTimeExtraValueMapH_
Definition: MuonIdVal.h:103
MonitorElement * hOverlapCosmicCompat[4]
Definition: MuonIdVal.h:170
MonitorElement * hCSCDistWithNoSegment[4][4]
Definition: MuonIdVal.h:194
MonitorElement * hSegmentIsBestDrAssociatedXY
Definition: MuonIdVal.h:220
MonitorElement * hCSCChamberEdgeYWithSegment[2][4][4][36]
Definition: MuonIdVal.h:211
edm::Handle< edm::ValueMap< reco::MuonShower > > muonShowerInformationValueMapH_
Definition: MuonIdVal.h:107
MonitorElement * hCSCChamberDx[2][4][4][36]
Definition: MuonIdVal.h:207
MonitorElement * hTMLastStationAngTightBool[4]
Definition: MuonIdVal.h:160
MonitorElement * hMuonQualityStaRelChi2[4]
Definition: MuonIdVal.h:145
MonitorElement * hMuonQualityTrkKink[4]
Definition: MuonIdVal.h:146
MonitorElement * hSegmentIsNotAssociatedXY
Definition: MuonIdVal.h:218
MonitorElement * hTM2DCompatibilityLooseBool[4]
Definition: MuonIdVal.h:150
MonitorElement * hMuonTimeExtraCSCTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:131
MonitorElement * hCaloSegmentCompat[4]
Definition: MuonIdVal.h:143
MonitorElement * hGMTkKinkTightBool[4]
Definition: MuonIdVal.h:158
MonitorElement * hMuonTimeExtraCombinedTimeAtIpInOut[4]
Definition: MuonIdVal.h:125
bool useGlobalMuons_
Definition: MuonIdVal.h:88
bool makeAllChamberPlots_
Definition: MuonIdVal.h:94
edm::Handle< edm::ValueMap< reco::MuonCosmicCompatibility > > muonCosmicCompatibilityValueMapH_
Definition: MuonIdVal.h:106
MonitorElement * hMuonShowerDeltaR[4][4]
Definition: MuonIdVal.h:176
MonitorElement * hGlobalMuonPromptTightBool[4]
Definition: MuonIdVal.h:147
MonitorElement * hDTChamberEdgeYWithSegment[4][5][14]
Definition: MuonIdVal.h:205
MonitorElement * hMuonTimeExtraCombinedTimeAtIpOutIn[4]
Definition: MuonIdVal.h:127
MonitorElement * hSegmentIsAssociatedRZ
Definition: MuonIdVal.h:215
std::string subsystemname_
Definition: MuonIdVal.h:70
MonitorElement * hDTPullDistWithSegment[4][4]
Definition: MuonIdVal.h:187
edm::EDGetTokenT< reco::MuonTimeExtraMap > inputMuonTimeExtraValueMapCombToken_
Definition: MuonIdVal.h:82
MonitorElement * hCSCPullDistWithSegment[4][4]
Definition: MuonIdVal.h:195
bool makeCosmicCompatibilityPlots_
Definition: MuonIdVal.h:95
edm::InputTag inputDTRecSegment4DCollection_
Definition: MuonIdVal.h:74
MonitorElement * hMuonHitsFromSegments[4][4]
Definition: MuonIdVal.h:178
MonitorElement * hCSCDistWithSegment[4][4]
Definition: MuonIdVal.h:193
edm::ParameterSet iConfig
Definition: MuonIdVal.h:67
MuonIdVal(const edm::ParameterSet &)
Definition: MuonIdVal.cc:3
MonitorElement * hTMOneStationTightBool[4]
Definition: MuonIdVal.h:153
std::string eventInfoFolder_
Definition: MuonIdVal.h:69
MonitorElement * hTM2DCompatibilityTightBool[4]
Definition: MuonIdVal.h:151
edm::Handle< reco::MuonTimeExtraMap > dtMuonTimeExtraValueMapH_
Definition: MuonIdVal.h:105
MonitorElement * hMuonTimeExtraDTTimeAtIpOutIn[4]
Definition: MuonIdVal.h:137
MonitorElement * hSegmentIsNotAssociatedRZ
Definition: MuonIdVal.h:217
MonitorElement * hSegmentIsBestDrAssociatedRZ
Definition: MuonIdVal.h:219
MonitorElement * hTMOneStationLooseBool[4]
Definition: MuonIdVal.h:152
MonitorElement * hCSCChamberEdgeXWithSegment[2][4][4][36]
Definition: MuonIdVal.h:209
MonitorElement * hDTChamberDy[3][5][14]
Definition: MuonIdVal.h:202
MonitorElement * hTMOneStationAngLooseBool[4]
Definition: MuonIdVal.h:161
edm::InputTag inputCSCSegmentCollection_
Definition: MuonIdVal.h:75
MonitorElement * hDTPullyPropErr[4][3]
Definition: MuonIdVal.h:183
bool make2DPlots_
Definition: MuonIdVal.h:93
MonitorElement * hMuonQualityTrkRelChi2[4]
Definition: MuonIdVal.h:144
MonitorElement * hCSCPullyPropErr[4][4]
Definition: MuonIdVal.h:191
MonitorElement * hEnergyEMBarrel[4]
Definition: MuonIdVal.h:112
MonitorElement * hMuonTimeExtraCombinedTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:128
bool useGlobalMuonsNotTrackerMuons_
Definition: MuonIdVal.h:90
edm::InputTag inputMuonCollection_
Definition: MuonIdVal.h:73
MonitorElement * hTMLastStationOptimizedLowPtTightBool[4]
Definition: MuonIdVal.h:155
MonitorElement * hCaloCompat[4]
Definition: MuonIdVal.h:141
bool useTrackerMuonsNotGlobalMuons_
Definition: MuonIdVal.h:89
MonitorElement * hMuonTimeExtraDTTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:136
MonitorElement * hDTPullxPropErr[4][4]
Definition: MuonIdVal.h:181
MonitorElement * hMuonShowerSizeT[4][4]
Definition: MuonIdVal.h:175
MonitorElement * hDTChamberEdgeYWithNoSegment[4][5][14]
Definition: MuonIdVal.h:206
MonitorElement * hTimeCosmicCompat[4]
Definition: MuonIdVal.h:168
Definition: Run.h:44
MonitorElement * hCSCPullDistWithNoSegment[4][4]
Definition: MuonIdVal.h:196
MonitorElement * hMuonTimeExtraCSCNDOF[4]
Definition: MuonIdVal.h:129
MonitorElement * hEnergyHO[4]
Definition: MuonIdVal.h:114
edm::InputTag inputMuonShowerInformationValueMap_
Definition: MuonIdVal.h:78