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 
108 
109  // trackerMuon == 0; globalMuon == 1
110  // energy deposits
116 
117  // time information
138 
139  // muonid
164 
165  // cosmic compatibilities
170 
171  // by station
172 
173  // shower information
179 
196 
197  // by chamber, trackerMuons only
198  // DT: [station][wheel][sector]
199  // CSC: [endcap][station][ring][chamber]
212 
213  // segment matching "efficiency"
222 };
223 
224 #endif
MonitorElement * hDTChamberEdgeXWithSegment[4][5][14]
Definition: MuonIdVal.h:202
~MuonIdVal() override
Definition: MuonIdVal.cc:40
MonitorElement * hMuonAllHits[4][4]
Definition: MuonIdVal.h:176
edm::EDGetTokenT< CSCSegmentCollection > inputCSCSegmentCollectionToken_
Definition: MuonIdVal.h:81
MonitorElement * hDTDistWithNoSegment[4][4]
Definition: MuonIdVal.h:185
MonitorElement * hMuonTimeExtraDTTimeAtIpInOut[4]
Definition: MuonIdVal.h:134
MonitorElement * hDTDistWithSegment[4][4]
Definition: MuonIdVal.h:184
bool makeShowerInformationPlots_
Definition: MuonIdVal.h:96
MonitorElement * hCSCChamberEdgeXWithNoSegment[2][4][4][36]
Definition: MuonIdVal.h:209
MonitorElement * hDTPulldYdZPropErr[4][3]
Definition: MuonIdVal.h:183
MonitorElement * hDTChamberEdgeXWithNoSegment[4][5][14]
Definition: MuonIdVal.h:203
MonitorElement * hSegmentCompat[4]
Definition: MuonIdVal.h:141
MonitorElement * hMuonTimeTimeAtIpInOut[4]
Definition: MuonIdVal.h:119
MonitorElement * hMuonTimeTimeAtIpOutIn[4]
Definition: MuonIdVal.h:121
edm::Handle< reco::MuonTimeExtraMap > cscMuonTimeExtraValueMapH_
Definition: MuonIdVal.h:103
MonitorElement * hSegmentIsAssociatedXY
Definition: MuonIdVal.h:215
edm::EDGetTokenT< reco::MuonCollection > inputMuonCollectionToken_
Definition: MuonIdVal.h:79
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: MuonIdVal.cc:415
bool makeTimePlots_
Definition: MuonIdVal.h:92
MonitorElement * hTMLastStationOptimizedLowPtLooseBool[4]
Definition: MuonIdVal.h:153
MonitorElement * hTMLastStationLooseBool[4]
Definition: MuonIdVal.h:147
MonitorElement * hMuonUncorrelatedHits[4][4]
Definition: MuonIdVal.h:178
MonitorElement * hEnergyHAEndcap[4]
Definition: MuonIdVal.h:115
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: MuonIdVal.cc:42
MonitorElement * hDTPullDistWithNoSegment[4][4]
Definition: MuonIdVal.h:187
MonitorElement * hCSCChamberEdgeYWithNoSegment[2][4][4][36]
Definition: MuonIdVal.h:211
edm::EDGetTokenT< edm::ValueMap< reco::MuonCosmicCompatibility > > inputMuonCosmicCompatibilityValueMapToken_
Definition: MuonIdVal.h:85
MonitorElement * hSegmentIsBestDrNotAssociatedRZ
Definition: MuonIdVal.h:220
MonitorElement * hMuonTimeExtraCombinedTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:125
MonitorElement * hMuonTimeTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:120
MonitorElement * hB2BCosmicCompat[4]
Definition: MuonIdVal.h:168
bool makeEnergyPlots_
Definition: MuonIdVal.h:91
virtual void Fill(MonitorElement *, float)
Definition: MuonIdVal.cc:781
edm::Handle< DTRecSegment4DCollection > dtSegmentCollectionH_
Definition: MuonIdVal.h:100
MonitorElement * hCSCChamberDy[2][4][4][36]
Definition: MuonIdVal.h:207
edm::InputTag inputMuonTimeExtraValueMap_
Definition: MuonIdVal.h:76
MonitorElement * hEnergyEMEndcap[4]
Definition: MuonIdVal.h:114
MonitorElement * hTMLastStationOptimizedBarrelLowPtLooseBool[4]
Definition: MuonIdVal.h:162
MonitorElement * hCSCPullxPropErr[4][4]
Definition: MuonIdVal.h:188
MonitorElement * hMuonTimeExtraDTNDOF[4]
Definition: MuonIdVal.h:133
edm::EDGetTokenT< reco::MuonTimeExtraMap > inputMuonTimeExtraValueMapDTToken_
Definition: MuonIdVal.h:83
MonitorElement * hMuonTimeExtraCSCTimeAtIpOutIn[4]
Definition: MuonIdVal.h:131
MonitorElement * hCSCPulldXdZPropErr[4][4]
Definition: MuonIdVal.h:189
MonitorElement * hEnergyHABarrel[4]
Definition: MuonIdVal.h:112
MonitorElement * hCSCPulldYdZPropErr[4][4]
Definition: MuonIdVal.h:191
edm::ParameterSet parameters_
Definition: MuonIdVal.h:68
MonitorElement * hMuonTimeExtraCSCTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:132
MonitorElement * hTMLastStationAngLooseBool[4]
Definition: MuonIdVal.h:158
MonitorElement * hMuonTimeExtraDTTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:137
MonitorElement * hMuonTimeNDOF[4]
Definition: MuonIdVal.h:118
MonitorElement * hMuonTimeExtraCSCTimeAtIpInOut[4]
Definition: MuonIdVal.h:129
MonitorElement * hTMOneStationAngTightBool[4]
Definition: MuonIdVal.h:161
MonitorElement * hMuonTimeExtraCombinedNDOF[4]
Definition: MuonIdVal.h:123
MonitorElement * hMuonTimeTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:122
MonitorElement * hGMStaChiCompatibilityBool[4]
Definition: MuonIdVal.h:156
std::string baseFolder_
Definition: MuonIdVal.h:97
MonitorElement * hDTChamberDx[4][5][14]
Definition: MuonIdVal.h:200
MonitorElement * hGMTkChiCompatibilityBool[4]
Definition: MuonIdVal.h:155
edm::ESHandle< GlobalTrackingGeometry > geometry_
Definition: MuonIdVal.h:107
MonitorElement * hSegmentIsBestDrNotAssociatedXY
Definition: MuonIdVal.h:221
MonitorElement * hTMLastStationTightBool[4]
Definition: MuonIdVal.h:148
edm::EDGetTokenT< reco::MuonTimeExtraMap > inputMuonTimeExtraValueMapCSCToken_
Definition: MuonIdVal.h:84
edm::Handle< CSCSegmentCollection > cscSegmentCollectionH_
Definition: MuonIdVal.h:101
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:163
MonitorElement * hDTPulldXdZPropErr[4][4]
Definition: MuonIdVal.h:181
MonitorElement * hCombinedCosmicCompat[4]
Definition: MuonIdVal.h:166
edm::EDGetTokenT< DTRecSegment4DCollection > inputDTRecSegment4DCollectionToken_
Definition: MuonIdVal.h:80
edm::Handle< reco::MuonCollection > muonCollectionH_
Definition: MuonIdVal.h:99
edm::Handle< reco::MuonTimeExtraMap > combinedMuonTimeExtraValueMapH_
Definition: MuonIdVal.h:102
MonitorElement * hOverlapCosmicCompat[4]
Definition: MuonIdVal.h:169
MonitorElement * hCSCDistWithNoSegment[4][4]
Definition: MuonIdVal.h:193
MonitorElement * hSegmentIsBestDrAssociatedXY
Definition: MuonIdVal.h:219
MonitorElement * hCSCChamberEdgeYWithSegment[2][4][4][36]
Definition: MuonIdVal.h:210
edm::Handle< edm::ValueMap< reco::MuonShower > > muonShowerInformationValueMapH_
Definition: MuonIdVal.h:106
MonitorElement * hCSCChamberDx[2][4][4][36]
Definition: MuonIdVal.h:206
MonitorElement * hTMLastStationAngTightBool[4]
Definition: MuonIdVal.h:159
MonitorElement * hMuonQualityStaRelChi2[4]
Definition: MuonIdVal.h:144
MonitorElement * hMuonQualityTrkKink[4]
Definition: MuonIdVal.h:145
MonitorElement * hSegmentIsNotAssociatedXY
Definition: MuonIdVal.h:217
MonitorElement * hTM2DCompatibilityLooseBool[4]
Definition: MuonIdVal.h:149
MonitorElement * hMuonTimeExtraCSCTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:130
MonitorElement * hCaloSegmentCompat[4]
Definition: MuonIdVal.h:142
MonitorElement * hGMTkKinkTightBool[4]
Definition: MuonIdVal.h:157
MonitorElement * hMuonTimeExtraCombinedTimeAtIpInOut[4]
Definition: MuonIdVal.h:124
bool useGlobalMuons_
Definition: MuonIdVal.h:88
bool makeAllChamberPlots_
Definition: MuonIdVal.h:94
edm::Handle< edm::ValueMap< reco::MuonCosmicCompatibility > > muonCosmicCompatibilityValueMapH_
Definition: MuonIdVal.h:105
MonitorElement * hMuonShowerDeltaR[4][4]
Definition: MuonIdVal.h:175
MonitorElement * hGlobalMuonPromptTightBool[4]
Definition: MuonIdVal.h:146
MonitorElement * hDTChamberEdgeYWithSegment[4][5][14]
Definition: MuonIdVal.h:204
MonitorElement * hMuonTimeExtraCombinedTimeAtIpOutIn[4]
Definition: MuonIdVal.h:126
MonitorElement * hSegmentIsAssociatedRZ
Definition: MuonIdVal.h:214
std::string subsystemname_
Definition: MuonIdVal.h:70
MonitorElement * hDTPullDistWithSegment[4][4]
Definition: MuonIdVal.h:186
edm::EDGetTokenT< reco::MuonTimeExtraMap > inputMuonTimeExtraValueMapCombToken_
Definition: MuonIdVal.h:82
MonitorElement * hCSCPullDistWithSegment[4][4]
Definition: MuonIdVal.h:194
bool makeCosmicCompatibilityPlots_
Definition: MuonIdVal.h:95
edm::InputTag inputDTRecSegment4DCollection_
Definition: MuonIdVal.h:74
MonitorElement * hMuonHitsFromSegments[4][4]
Definition: MuonIdVal.h:177
MonitorElement * hCSCDistWithSegment[4][4]
Definition: MuonIdVal.h:192
edm::ParameterSet iConfig
Definition: MuonIdVal.h:67
MuonIdVal(const edm::ParameterSet &)
Definition: MuonIdVal.cc:3
MonitorElement * hTMOneStationTightBool[4]
Definition: MuonIdVal.h:152
std::string eventInfoFolder_
Definition: MuonIdVal.h:69
MonitorElement * hTM2DCompatibilityTightBool[4]
Definition: MuonIdVal.h:150
edm::Handle< reco::MuonTimeExtraMap > dtMuonTimeExtraValueMapH_
Definition: MuonIdVal.h:104
MonitorElement * hMuonTimeExtraDTTimeAtIpOutIn[4]
Definition: MuonIdVal.h:136
MonitorElement * hSegmentIsNotAssociatedRZ
Definition: MuonIdVal.h:216
MonitorElement * hSegmentIsBestDrAssociatedRZ
Definition: MuonIdVal.h:218
MonitorElement * hTMOneStationLooseBool[4]
Definition: MuonIdVal.h:151
MonitorElement * hCSCChamberEdgeXWithSegment[2][4][4][36]
Definition: MuonIdVal.h:208
MonitorElement * hDTChamberDy[3][5][14]
Definition: MuonIdVal.h:201
MonitorElement * hTMOneStationAngLooseBool[4]
Definition: MuonIdVal.h:160
edm::InputTag inputCSCSegmentCollection_
Definition: MuonIdVal.h:75
MonitorElement * hDTPullyPropErr[4][3]
Definition: MuonIdVal.h:182
bool make2DPlots_
Definition: MuonIdVal.h:93
MonitorElement * hMuonQualityTrkRelChi2[4]
Definition: MuonIdVal.h:143
MonitorElement * hCSCPullyPropErr[4][4]
Definition: MuonIdVal.h:190
MonitorElement * hEnergyEMBarrel[4]
Definition: MuonIdVal.h:111
MonitorElement * hMuonTimeExtraCombinedTimeAtIpOutInErr[4]
Definition: MuonIdVal.h:127
bool useGlobalMuonsNotTrackerMuons_
Definition: MuonIdVal.h:90
edm::InputTag inputMuonCollection_
Definition: MuonIdVal.h:73
MonitorElement * hTMLastStationOptimizedLowPtTightBool[4]
Definition: MuonIdVal.h:154
MonitorElement * hCaloCompat[4]
Definition: MuonIdVal.h:140
bool useTrackerMuonsNotGlobalMuons_
Definition: MuonIdVal.h:89
MonitorElement * hMuonTimeExtraDTTimeAtIpInOutErr[4]
Definition: MuonIdVal.h:135
MonitorElement * hDTPullxPropErr[4][4]
Definition: MuonIdVal.h:180
MonitorElement * hMuonShowerSizeT[4][4]
Definition: MuonIdVal.h:174
MonitorElement * hDTChamberEdgeYWithNoSegment[4][5][14]
Definition: MuonIdVal.h:205
MonitorElement * hTimeCosmicCompat[4]
Definition: MuonIdVal.h:167
Definition: Run.h:45
MonitorElement * hCSCPullDistWithNoSegment[4][4]
Definition: MuonIdVal.h:195
MonitorElement * hMuonTimeExtraCSCNDOF[4]
Definition: MuonIdVal.h:128
MonitorElement * hEnergyHO[4]
Definition: MuonIdVal.h:113
edm::InputTag inputMuonShowerInformationValueMap_
Definition: MuonIdVal.h:78