Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:21

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # ------------------------------------------------------------------------------
0004 # configure a filter to run only on the events selected by TkAlMinBias AlcaReco
0005 import copy
0006 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
0007 ALCARECOTkAlMinBiasFilterForBSHP = copy.deepcopy(hltHighLevel)
0008 ALCARECOTkAlMinBiasFilterForBSHP.HLTPaths = ['pathALCARECOTkAlMinBias']
0009 ALCARECOTkAlMinBiasFilterForBSHP.throw = True ## dont throw on unknown path names
0010 ALCARECOTkAlMinBiasFilterForBSHP.TriggerResultsTag = cms.InputTag("TriggerResults","","RECO")
0011 #process.TkAlMinBiasFilterForBS.eventSetupPathsKey = 'pathALCARECOTkAlMinBias:RECO'
0012 #ALCARECODtCalibHLTFilter.andOr = True ## choose logical OR between Triggerbits
0013 
0014 
0015 # ------------------------------------------------------------------------------
0016 # configure the beam-spot production
0017 from Calibration.TkAlCaRecoProducers.AlcaBeamSpotProducerHP_cff import *
0018 
0019 
0020 # ------------------------------------------------------------------------------
0021 # this is for filtering on L1 technical trigger bit
0022 # Set the HLT paths
0023 import HLTrigger.HLTfilters.hltHighLevel_cfi
0024 ALCARECOHltFilterForBSHP = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0025     andOr = True, ## choose logical OR between Triggerbits
0026 ##     HLTPaths = [
0027 ##     #Minimum Bias
0028 ##     "HLT_MinBias*"
0029 ##     ],
0030     eventSetupPathsKey = 'PromptCalibProd',
0031     throw = False # tolerate triggers stated above, but not available
0032     )
0033 
0034 seqALCARECOPromptCalibProdBeamSpotHP = cms.Sequence(ALCARECOTkAlMinBiasFilterForBSHP *
0035                                                     ALCARECOHltFilterForBSHP *
0036                                                     alcaBeamSpotProducerHP)