test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
collisionEventSelection_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Coincidence of HF towers above threshold
5 
6 # Selection of at least a two-track fitted vertex
7 primaryVertexFilter = cms.EDFilter("VertexSelector",
8  src = cms.InputTag("hiSelectedVertex"),
9  cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2 && tracksSize >= 2"),
10  filter = cms.bool(True), # otherwise it won't filter the events
11 )
12 
13 # Cluster-shape filter re-run offline
16 hltPixelClusterShapeFilter.inputTag = "siPixelRecHits"
17 
18 # Reject BSC beam halo L1 technical bits
20 from HLTrigger.HLTfilters.hltLevel1GTSeed_cfi import hltLevel1GTSeed
21 noBSChalo = hltLevel1GTSeed.clone(
22  L1TechTriggerSeeding = cms.bool(True),
23  L1SeedsLogicalExpression = cms.string('NOT (36 OR 37 OR 38 OR 39)')
24 )
25 
26 collisionEventSelection = cms.Sequence(noBSChalo *
27  hfCoincFilter3 *
28  primaryVertexFilter *
29  siPixelRecHits *
30  hltPixelClusterShapeFilter)