CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MonitorTrackInnerTrackMuons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 muonsPt10 = cms.EDFilter("MuonSelector",
5  src = cms.InputTag('muons'),
6  cut = cms.string(
7  'isGlobalMuon &'
8  'isTrackerMuon &'
9  'numberOfMatches > 1 &'
10  'globalTrack.hitPattern.numberOfValidMuonHits > 0 &'
11  'abs(eta) < 2.5 &'
12  'pt > 10'
13  ),
14  filter = cms.bool(False)
15 )
16 
17 
19 muonInnerTrack = muonTrackProducer.clone(
20  #muonsTag = "muons",
21  muonsTag = "muonsPt10",
22  selectionTags = ('All',),
23  trackType = "innerTrack"
24 )
25 
27 MonitorTrackMuonsInnerTrack = TrackMon.clone(
28  TrackProducer = 'muonInnerTrack',
29  AlgoName = 'inner',
30  FolderName = 'Muons/Tracking/innerTrack',
31  doBeamSpotPlots = True,
32  BSFolderName = 'Muons/Tracking/innerTrack/BeamSpotParameters',
33  doSeedParameterHistos = False,
34  doProfilesVsLS = False,
35  doAllPlots = False,
36  doGeneralPropertiesPlots = True,
37  doHitPropertiesPlots = True,
38  doTrackerSpecific = True,
39  doDCAPlots = True,
40  doDCAwrtPVPlots = True,
41  doDCAwrt000Plots = False,
42  doSIPPlots = True,
43  doEffFromHitPatternVsPU = True,
44  doEffFromHitPatternVsBX = False,
45  TkSizeBin = 10,
46  TkSizeMax = 10.,
47  phiErrMax = 0.001,
48  etaErrMax = 0.001,
49  PVBin = 40,
50  PVMin = -0.5,
51  PVMax = 79.5, ## it might need to be adjust if CMS asks to have lumi levelling at lower values
52  doRecHitVsPhiVsEtaPerTrack = True,
53  doRecHitVsPtVsEtaPerTrack = True,
54  #doGoodTrackRecHitVsPhiVsEtaPerTrack = True,
55  doLayersVsPhiVsEtaPerTrack = True,
56  #doGoodTrackLayersVsPhiVsEtaPerTrack = True,
57  Eta2DBin = 16,
58  Phi2DBin = 16,
59  TrackPtBin = 50
60 )
61 
62 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
63 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
64 phase1Pixel.toModify(MonitorTrackMuonsInnerTrack, EtaBin=31, EtaMin=-3., EtaMax=3.)
65 phase2_tracker.toModify(MonitorTrackMuonsInnerTrack, EtaBin=46, EtaMin=-4.5, EtaMax=4.5)
66 phase2_tracker.toModify(MonitorTrackMuonsInnerTrack, PVBin=125, PVMin=-0.5, PVMax=249.5)
67 
68 
69 #MonitorTrackINNMuons = cms.Sequence(muonInnerTrack+MonitorTrackMuonsInnerTrack)
70 MonitorTrackINNMuons = cms.Sequence(cms.ignore(muonsPt10)+muonInnerTrack+MonitorTrackMuonsInnerTrack)