test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PA_MinBiasSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # HLT dimuon trigger
5 hltMinBiasHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6 hltMinBiasHI.HLTPaths = ["HLT_PAL1MinimumBiasHF_OR_SinglePixelTrack_ForSkim_v*"]
7 hltMinBiasHI.throw = False
8 hltMinBiasHI.andOr = True
9 
10 # selection of valid vertex
11 primaryVertexFilterForMinBias = cms.EDFilter("VertexSelector",
12  src = cms.InputTag("offlinePrimaryVertices"),
13  cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2"),
14  filter = cms.bool(True), # otherwise it won't filter the events
15  )
16 
17 # MinBias skim sequence
18 minBiasSkimSequence = cms.Sequence(
19  hltMinBiasHI *
20  primaryVertexFilterForMinBias
21 )