Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Coincidence of HF towers above threshold
0004 from HeavyIonsAnalysis.Configuration.hfCoincFilter_cff import *
0005 
0006 # Selection of at least a two-track fitted vertex
0007 primaryVertexFilter = cms.EDFilter("VertexSelector",
0008     src = cms.InputTag("hiSelectedVertex"),
0009     cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2 && tracksSize >= 2"), 
0010     filter = cms.bool(True),   # otherwise it won't filter the events
0011 )
0012 
0013 # Cluster-shape filter re-run offline
0014 from RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi import *
0015 from HLTrigger.special.hltPixelClusterShapeFilter_cfi import *
0016 hltPixelClusterShapeFilter.inputTag = "siPixelRecHits"
0017 
0018 # Reject BSC beam halo L1 technical bits
0019 from L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff import *
0020 from HLTrigger.HLTfilters.hltLevel1GTSeed_cfi import hltLevel1GTSeed
0021 noBSChalo = hltLevel1GTSeed.clone(
0022     L1TechTriggerSeeding = cms.bool(True),
0023     L1SeedsLogicalExpression = cms.string('NOT (36 OR 37 OR 38 OR 39)')
0024 )
0025 
0026 collisionEventSelection = cms.Sequence(noBSChalo *
0027                                        hfCoincFilter3 *
0028                                        primaryVertexFilter *
0029                                        siPixelRecHits *
0030                                        hltPixelClusterShapeFilter)