CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 hltMinBiasPA = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6 hltMinBiasPA.HLTPaths = ["HLT_PAL1MinimumBiasHF_OR_SinglePixelTrack_ForSkim_v*"]
7 hltMinBiasPA.throw = False
8 hltMinBiasPA.andOr = True
9 
10 # selection of valid vertex
11 primaryVertexFilterForMinBiasPA = 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 minBiasPASkimSequence = cms.Sequence(
19  hltMinBiasPA *
20  primaryVertexFilterForMinBiasPA
21 )