CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/RecoMuon/MuonIdentification/python/muons_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # -*-SH-*-
00004 from RecoMuon.MuonIdentification.isolation_cff import *
00005 from RecoMuon.MuonIdentification.caloCompatibility_cff import *
00006 from RecoMuon.MuonIdentification.MuonTimingFiller_cfi import *
00007 from TrackingTools.TrackAssociator.default_cfi import *
00008 muons = cms.EDProducer("MuonIdProducer",
00009     # MuonCaloCompatibility
00010     MuonCaloCompatibilityBlock,
00011     # TrackDetectorAssociator
00012     TrackAssociatorParameterBlock,
00013     # MuonIsolation
00014     MIdIsoExtractorPSetBlock,
00015     # MuonTiming
00016     TimingFillerBlock,
00017     fillEnergy = cms.bool(True),
00018     # OR
00019     maxAbsPullX = cms.double(4.0),
00020     maxAbsEta = cms.double(3.0),
00021 
00022     # Selection parameters
00023     minPt = cms.double(0.5),
00024     inputCollectionTypes = cms.vstring('inner tracks', 
00025         'links', 
00026         'outer tracks'),
00027     addExtraSoftMuons = cms.bool(False),
00028 
00029     # internal
00030     debugWithTruthMatching = cms.bool(False),
00031     # input tracks
00032     inputCollectionLabels = cms.VInputTag(cms.InputTag("generalTracks"), cms.InputTag("globalMuons"), cms.InputTag("standAloneMuons","UpdatedAtVtx")),
00033     fillCaloCompatibility = cms.bool(True),
00034     # OR
00035     maxAbsPullY = cms.double(9999.0),
00036     # AND
00037     maxAbsDy = cms.double(9999.0),
00038     minP = cms.double(2.5),
00039     minPCaloMuon = cms.double(1.0),
00040 
00041     # Match parameters
00042     maxAbsDx = cms.double(3.0),
00043     fillIsolation = cms.bool(True),
00044     writeIsoDeposits = cms.bool(True),
00045     minNumberOfMatches = cms.int32(1),
00046     fillMatching = cms.bool(True),
00047 
00048     # global fit for candidate p4 requirements
00049     ptThresholdToFillCandidateP4WithGlobalFit = cms.double(200.0),
00050     sigmaThresholdToFillCandidateP4WithGlobalFit = cms.double(2.0),
00051 
00052     # global quality
00053     fillGlobalTrackQuality = cms.bool(False), #input depends on external module output --> set to True where the sequence is defined
00054     globalTrackQualityInputTag = cms.InputTag('glbTrackQual'),
00055     
00056     # calo muons
00057     minCaloCompatibility = cms.double(0.6),
00058 
00059     # arbitration cleaning                       
00060     runArbitrationCleaner = cms.bool(True),
00061     arbitrationCleanerOptions = cms.PSet( ME1a = cms.bool(True),
00062                                           Overlap = cms.bool(True),
00063                                           Clustering = cms.bool(True),
00064                                           OverlapDPhi   = cms.double(0.0786), # 4.5 degrees
00065                                           OverlapDTheta = cms.double(0.02), # 1.14 degrees
00066                                           ClusterDPhi   = cms.double(0.6), # 34 degrees
00067                                           ClusterDTheta = cms.double(0.02) # 1.14
00068     )
00069 )
00070                        
00071 muonEcalDetIds = cms.EDProducer("InterestingEcalDetIdProducer",
00072     inputCollection = cms.InputTag("muons")
00073 )
00074 
00075