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 # Set the HLT paths
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOSiStripCalMinBiasHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007 ##     HLTPaths = [
0008 ##     #Minimum Bias
0009 ##     "HLT_MinBias*"
0010 ##     ],
0011     eventSetupPathsKey = 'SiStripCalMinBias',
0012     throw = False # tolerate triggers stated above, but not available
0013     )
0014 
0015 # Select only events where tracker had HV on (according to DCS bit information)
0016 # AND respective partition is in the run (according to FED information)
0017 import CalibTracker.SiStripCommon.SiStripDCSFilter_cfi
0018 DCSStatusForSiStripCalMinBias = CalibTracker.SiStripCommon.SiStripDCSFilter_cfi.siStripDCSFilter.clone()
0019 
0020 # Select only good tracks
0021 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0022 ALCARECOSiStripCalMinBias = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0023 
0024 ALCARECOSiStripCalMinBias.filter         = True ##do not store empty events 
0025 ALCARECOSiStripCalMinBias.src            = 'generalTracks'
0026 ALCARECOSiStripCalMinBias.applyBasicCuts = True
0027 ALCARECOSiStripCalMinBias.ptMin          = 0.8 ##GeV
0028 ALCARECOSiStripCalMinBias.nHitMin        = 6 ## at least 6 hits required
0029 ALCARECOSiStripCalMinBias.chi2nMax       = 10.
0030 
0031 ALCARECOSiStripCalMinBias.GlobalSelector.applyIsolationtest    = False
0032 ALCARECOSiStripCalMinBias.GlobalSelector.applyGlobalMuonFilter = False
0033 ALCARECOSiStripCalMinBias.GlobalSelector.applyJetCountFilter   = False
0034 
0035 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyMassrangeFilter    = False
0036 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyChargeFilter       = False
0037 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0038 ALCARECOSiStripCalMinBias.TwoBodyDecaySelector.applyMissingETFilter    = False
0039 
0040 # Sequence #
0041 seqALCARECOSiStripCalMinBias = cms.Sequence(ALCARECOSiStripCalMinBiasHLT*DCSStatusForSiStripCalMinBias*ALCARECOSiStripCalMinBias)
0042 
0043 ## customizations for the pp_on_AA eras
0044 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0045 pp_on_XeXe_2017.toModify(ALCARECOSiStripCalMinBiasHLT,
0046                          eventSetupPathsKey='SiStripCalMinBiasHI')
0047 
0048 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0049 import HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi
0050 ALCARECOSiStripCalMinBiasTriggerResultsHI = HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi.triggerResultsFilterFromDB.clone(
0051     eventSetupPathsKey = 'SiStripCalMinBiasHI',
0052     usePathStatus = False,
0053     hltResults = 'TriggerResults::HLT',
0054     l1tResults = '', # leaving empty (not interested in L1T results)
0055     throw = False # tolerate triggers stated above, but not available
0056 )
0057 
0058 seqALCARECOSiStripCalMinBiasHI = cms.Sequence(ALCARECOSiStripCalMinBiasTriggerResultsHI*DCSStatusForSiStripCalMinBias*ALCARECOSiStripCalMinBias)
0059 pp_on_AA.toReplaceWith(seqALCARECOSiStripCalMinBias,seqALCARECOSiStripCalMinBiasHI)