Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##################################################################
0004 # AlCaReco for track based calibration using single muon events
0005 ##################################################################
0006 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
0007 ALCARECOSiPixelCalSingleMuonLooseHLTFilter = hltHighLevel.clone()
0008 ALCARECOSiPixelCalSingleMuonLooseHLTFilter.andOr = True ## choose logical OR between Triggerbits
0009 ALCARECOSiPixelCalSingleMuonLooseHLTFilter.throw = False ## dont throw on unknown path names
0010 ALCARECOSiPixelCalSingleMuonLooseHLTFilter.eventSetupPathsKey = 'SiPixelCalSingleMuon'
0011 
0012 ##################################################################
0013 # Basic track selection
0014 ##################################################################
0015 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0016 ALCARECOSiPixelCalSingleMuonLoose = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0017 ALCARECOSiPixelCalSingleMuonLoose.filter         = True ##do not store empty events
0018 ALCARECOSiPixelCalSingleMuonLoose.applyBasicCuts = True
0019 ALCARECOSiPixelCalSingleMuonLoose.ptMin = 3.0 #GeV
0020 ALCARECOSiPixelCalSingleMuonLoose.etaMin = -3.5
0021 ALCARECOSiPixelCalSingleMuonLoose.etaMax = 3.5
0022 
0023 ##################################################################
0024 # Prescale events
0025 ##################################################################
0026 import CalibTracker.SiStripCommon.prescaleEvent_cfi
0027 scalerForSiPixelCalSingleMuonLoose = CalibTracker.SiStripCommon.prescaleEvent_cfi.prescaleEvent.clone(prescale = 10)
0028 
0029 ##################################################################
0030 # Loose Sequence
0031 ##################################################################
0032 seqALCARECOSiPixelCalSingleMuonLoose = cms.Sequence(ALCARECOSiPixelCalSingleMuonLooseHLTFilter+
0033                                                     scalerForSiPixelCalSingleMuonLoose+
0034                                                     ALCARECOSiPixelCalSingleMuonLoose)
0035 
0036 ## customizations for the pp_on_AA eras
0037 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0038 pp_on_AA.toModify(ALCARECOSiPixelCalSingleMuonLooseHLTFilter,
0039                   eventSetupPathsKey='SiPixelCalSingleMuonHI'
0040 )