Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:47

0001 # AlCaReco for muon based alignment using ZMuMu events
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOMuAlZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007     eventSetupPathsKey = 'MuAlZMuMu',
0008     throw = False # tolerate triggers not available
0009 )
0010 
0011 # DCS partitions
0012 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0013 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0014 # "BPIX","FPIX","ESp","ESm"
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOMuAlZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0017     DetectorType = cms.vstring('TIBTID','TOB','DT0','DTp','DTm','CSCp','CSCm'),
0018     ApplyFilter  = cms.bool(True),
0019     AndOr        = cms.bool(True),
0020     DebugOn      = cms.untracked.bool(False)
0021 )
0022 
0023 #________________________________Muon selection____________________________________
0024 # AlCaReco selected muons for track based muon alignment
0025 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
0026 ALCARECOMuAlZMuMu = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
0027     src                 = cms.InputTag("muons"),
0028     ptMin               = cms.double(5.0),
0029     etaMin              = cms.double(-2.6),
0030     etaMax              = cms.double(2.6),
0031     applyMassPairFilter = cms.bool(True),
0032     minMassPair         = cms.double(81.0),  # 91 GeV - 10 GeV
0033     maxMassPair         = cms.double(101.0), # 91 GeV + 10 GeV
0034 )
0035 
0036 #________________________________Track selection____________________________________
0037 # AlCaReco selected general tracks for track based muon alignment
0038 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0039 ALCARECOMuAlZMuMuGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0040     src     = cms.InputTag("generalTracks"),
0041     filter  = cms.bool(True),
0042     ptMin   = cms.double(5.0),
0043     etaMin  = cms.double(-2.6),
0044     etaMax  = cms.double(2.6),
0045     nHitMin = cms.double(7),
0046 )
0047 
0048 #________________________________Sequences____________________________________
0049 seqALCARECOMuAlZMuMu = cms.Sequence(ALCARECOMuAlZMuMuHLT+ALCARECOMuAlZMuMuDCSFilter+ALCARECOMuAlZMuMu)
0050 
0051 seqALCARECOMuAlZMuMuGeneralTracks = cms.Sequence(ALCARECOMuAlZMuMuGeneralTracks)