CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HeavyIonsAnalysis/Configuration/python/collisionEventSelection_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Coincidence of HF towers above threshold
00004 from HeavyIonsAnalysis.Configuration.hfCoincFilter_cff import *
00005 
00006 # Selection of at least a two-track fitted vertex
00007 primaryVertexFilter = cms.EDFilter("VertexSelector",
00008     src = cms.InputTag("hiSelectedVertex"),
00009     cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2 && tracksSize >= 2"), 
00010     filter = cms.bool(True),   # otherwise it won't filter the events
00011 )
00012 
00013 # Cluster-shape filter re-run offline
00014 from RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi import *
00015 from HLTrigger.special.hltPixelClusterShapeFilter_cfi import *
00016 hltPixelClusterShapeFilter.inputTag = "SiPixelRecHits"
00017 
00018 # Reject BSC beam halo L1 technical bits
00019 from L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff import *
00020 from HLTrigger.HLTfilters.hltLevel1GTSeed_cfi import hltLevel1GTSeed
00021 noBSChalo = hltLevel1GTSeed.clone(
00022     L1TechTriggerSeeding = cms.bool(True),
00023     L1SeedsLogicalExpression = cms.string('NOT (36 OR 37 OR 38 OR 39)')
00024 )
00025 
00026 collisionEventSelection = cms.Sequence(noBSChalo *
00027                                        hfCoincFilter3 *
00028                                        primaryVertexFilter *
00029                                        SiPixelRecHits *
00030                                        hltPixelClusterShapeFilter)