CMS 3D CMS Logo

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