CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Validation/RecoMuon/python/RecoMuonValidator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from RecoMuon.TrackingTools.MuonServiceProxy_cff import MuonServiceProxy
00003 from Validation.RecoMuon.selectors_cff import muonTPSet
00004 
00005 RecoMuonValidator = cms.EDAnalyzer("RecoMuonValidator",
00006     MuonServiceProxy,
00007     tpSelector = muonTPSet,
00008 
00009     usePFMuon = cms.untracked.bool(False),
00010 
00011     simLabel = cms.InputTag("mergedtruth","MergedTrackTruth"),
00012     muonLabel = cms.InputTag("muons"),
00013 
00014     muAssocLabel = cms.InputTag("MuonAssociatorByHits"),
00015 
00016     doAssoc = cms.untracked.bool(True),
00017 
00018     outputFileName = cms.untracked.string(''),
00019     subDir = cms.untracked.string('muons/RecoMuonV/'),
00020     trackType = cms.string("global"),
00021     #string cut selection
00022     selection = cms.string("isTrackerMuon && muonID('TMLastStationAngTight')"),
00023 
00024     wantTightMuon = cms.bool(False),
00025     beamSpot = cms.InputTag("offlineBeamSpot"),
00026     primaryVertex = cms.InputTag('offlinePrimaryVertices'),
00027 
00028     #
00029     # Histogram dimensions     #
00030     #
00031     nBinP = cms.untracked.uint32(100),
00032     minP = cms.untracked.double(0.0),
00033     maxP = cms.untracked.double(500.0),
00034 
00035     nBinPt = cms.untracked.uint32(100),
00036     minPt = cms.untracked.double(0.0),
00037     maxPt = cms.untracked.double(500.0),
00038 
00039     doAbsEta = cms.untracked.bool(False),
00040 
00041     nBinEta = cms.untracked.uint32(50),
00042     minEta = cms.untracked.double(-2.5),
00043     maxEta = cms.untracked.double(2.5),
00044 
00045     nBinDxy = cms.untracked.uint32(100),
00046     minDxy = cms.untracked.double(-1.5),
00047     maxDxy = cms.untracked.double(1.5),
00048 
00049     nBinDz = cms.untracked.uint32(100),
00050     minDz = cms.untracked.double(-25.),
00051     maxDz = cms.untracked.double(25.),
00052 
00053     nBinPhi = cms.untracked.uint32(25),
00054 
00055     # Pull width     #
00056     nBinPull = cms.untracked.uint32(50),
00057     wPull = cms.untracked.double(5.0),
00058 
00059     nBinErr = cms.untracked.uint32(50),
00060 
00061     # |p| resolution     #
00062     minErrP = cms.untracked.double(-0.3),
00063     maxErrP = cms.untracked.double(0.3),
00064 
00065     # pT resolution     #
00066     minErrPt = cms.untracked.double(-0.3),
00067     maxErrPt = cms.untracked.double(0.3),
00068 
00069     # q/pT resolution     #
00070     minErrQPt = cms.untracked.double(-0.1),
00071     maxErrQPt = cms.untracked.double(0.1),
00072 
00073     # Eta resolution     #
00074     minErrEta = cms.untracked.double(-0.01),
00075     maxErrEta = cms.untracked.double(0.01),
00076 
00077     # Phi resolution     #
00078     minErrPhi = cms.untracked.double(-0.05),
00079     maxErrPhi = cms.untracked.double(0.05),
00080 
00081     # Dxy resolution     #
00082     minErrDxy = cms.untracked.double(-0.1),
00083     maxErrDxy = cms.untracked.double(0.1),
00084 
00085     # Dz resolution     #
00086     minErrDz = cms.untracked.double(-0.1),
00087     maxErrDz = cms.untracked.double(0.1),
00088 
00089     # Number of sim-reco associations     #
00090     nAssoc = cms.untracked.uint32(10),
00091 
00092     # Number of sim,reco Tracks     #
00093     nTrks = cms.untracked.uint32(50)
00094 )