CMS 3D CMS Logo

ALCARECOPPSCalTrackBasedSel_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # define the HLT base path
4 from HLTrigger.HLTfilters.hltHighLevel_cfi import hltHighLevel as _hlt
5 ALCARECOPPSCalTrackBasedSelHLT = _hlt.clone(
6  andOr = True,
7  HLTPaths = ['HLT_ZeroBias_v*'],
8  #eventSetupPathKey = 'SiStripCalZeroBias', # in case we have a proper base key
9  throw = False
10 )
11 
12 # perform basic PPS reconstruction
15 
16 # select events passing the filter on pixel tracks
17 from HLTrigger.special.hltPPSPerPotTrackFilter_cfi import hltPPSPerPotTrackFilter as _filter
18 hltPPSPerPotTrackFilter_45 = _filter.clone(
19  pixelFilter = cms.VPSet(
20  cms.PSet( # sector 45, near pot
21  detid = cms.uint32(2022703104),
22  minTracks = cms.int32(1),
23  maxTracks = cms.int32(1),
24  ),
25  cms.PSet( # sector 45, far pot
26  detid = cms.uint32(2023227392),
27  minTracks = cms.int32(1),
28  maxTracks = cms.int32(1),
29  ),
30  )
31 )
32 hltPPSPerPotTrackFilter_56 = _filter.clone(
33  pixelFilter = cms.VPSet(
34  cms.PSet( # sector 56, near pot
35  detid = cms.uint32(2039480320),
36  minTracks = cms.int32(1),
37  maxTracks = cms.int32(1),
38  ),
39  cms.PSet( # sector 56, far pot
40  detid = cms.uint32(2040004608),
41  minTracks = cms.int32(1),
42  maxTracks = cms.int32(1),
43  ),
44  )
45 )
46 
47 seqALCARECOPPSCalTrackBasedSel = cms.Sequence(
48  ctppsRawToDigi *
49  recoCTPPS *
50  ALCARECOPPSCalTrackBasedSelHLT *
51  (hltPPSPerPotTrackFilter_45 + hltPPSPerPotTrackFilter_56)
52 )