Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import HLTrigger.HLTfilters.hltHighLevel_cfi
0004 ALCARECOMuAlCalIsolatedMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0005     andOr = True, ## choose logical OR between Triggerbits
0006     eventSetupPathsKey = 'MuAlCalIsolatedMu',
0007     throw = False # tolerate triggers not available
0008 )
0009 
0010 # DCS partitions
0011 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC" 
0012 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0013 # "BPIX","FPIX","ESp","ESm"
0014 import DPGAnalysis.Skims.skim_detstatus_cfi
0015 ALCARECOMuAlCalIsolatedDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0016     DetectorType = cms.vstring('DT0','DTp','DTm','CSCp','CSCm'),
0017     ApplyFilter  = cms.bool(True),
0018     AndOr        = cms.bool(False), # False = at least one detector from DetectorType map above is ON
0019     DebugOn      = cms.untracked.bool(False),
0020 )
0021 
0022 #________________________________Muon selection____________________________________
0023 # AlCaReco selected muons for track based muon alignment
0024 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
0025 ALCARECOMuAlCalIsolatedMu = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
0026     src    = cms.InputTag("muons"),
0027     filter = cms.bool(True), # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics
0028     ptMin  = cms.double(10.0),
0029     pMin   = cms.double(20.0),
0030     etaMin = cms.double(-2.6),
0031     etaMax = cms.double(2.6),
0032 )
0033 
0034 #________________________________Track selection____________________________________
0035 # AlCaReco selected general tracks for track based muon alignment
0036 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0037 ALCARECOMuAlCalIsolatedMuGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0038     src     = cms.InputTag("generalTracks"),
0039     filter  = cms.bool(True),
0040     ptMin   = cms.double(8.0),
0041     pMin    = cms.double(18.0),
0042     etaMin  = cms.double(-2.6),
0043     etaMax  = cms.double(2.6),
0044     nHitMin = cms.double(7),
0045 )
0046 
0047 #________________________________Sequences____________________________________
0048 seqALCARECOMuAlCalIsolatedMu = cms.Sequence(ALCARECOMuAlCalIsolatedMuHLT + ALCARECOMuAlCalIsolatedDCSFilter + ALCARECOMuAlCalIsolatedMu)
0049 
0050 seqALCARECOMuAlCalIsolatedMuGeneralTracks = cms.Sequence(ALCARECOMuAlCalIsolatedMuGeneralTracks)