CMS 3D CMS Logo

TTStubAlgorithmRegister_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # First register all the hit matching algorithms, then specify preferred ones at end.
4 
5 # The stub windows used here refer to the definition provided in this link:
6 #
7 # http://sviret.web.cern.ch/sviret/docs/CMS/SLHC/L1TT_XX1215.pdf
8 #
9 # Extension to the tilted geometry is discussed here:
10 #
11 # https://indico.cern.ch/event/536881/contributions/2219856/
12 #
13 # This script is adapted to the very last Tilted Tracker geometry to date (tracker T5)
14 #
15 #
16 
17 # The tuning is not yet fully validated
18 # But should enable a good turn-on at 2GeV with reasonable rates at PU200
19 
20 # Tab2013 hit matching algorithm
21 TTStubAlgorithm_official_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_official_Phase2TrackerDigi_",
22  zMatchingPS = cms.bool(True),
23  zMatching2S = cms.bool(True),
24  BarrelCut = cms.vdouble( 0, 2.0, 2.0, 3.5, 4.5, 5.5, 6.5), #Use 0 as dummy to have direct access using DetId to the correct element
25  NTiltedRings = cms.vdouble( 0., 12., 12., 12., 0., 0., 0.), #Number of tilted rings per side in barrel layers (for tilted geom only)
26  TiltedBarrelCutSet = cms.VPSet(
27  cms.PSet( TiltedCut = cms.vdouble( 0 ) ),
28  cms.PSet( TiltedCut = cms.vdouble( 0, 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2., 2., 1.5, 1.5, 1., 1.) ),
29  cms.PSet( TiltedCut = cms.vdouble( 0, 3., 3., 3., 3., 2.5, 2.5, 2.5, 2.5, 2.5, 2.5, 2, 2) ),
30  cms.PSet( TiltedCut = cms.vdouble( 0, 4.5, 4.5, 4, 4, 4, 4, 3.5, 3.5, 3.5, 3, 3, 3) ),
31  ),
32  EndcapCutSet = cms.VPSet(
33  cms.PSet( EndcapCut = cms.vdouble( 0 ) ),
34  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1.5, 1.5, 2, 2, 2.5, 3, 3, 3.5, 4, 2.5, 3, 3.5, 4.5, 5.5) ),
35  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1.5, 1.5, 2, 2, 2, 2.5, 3, 3, 3, 2, 3, 4, 5, 5.5) ),
36  cms.PSet( EndcapCut = cms.vdouble( 0, 1.5, 1.5, 2, 2, 2.5, 2.5, 2.5, 3.5, 2.5, 5, 5.5, 6) ),
37  cms.PSet( EndcapCut = cms.vdouble( 0, 1.0, 1.5, 1.5, 2, 2, 2, 2, 3, 3, 6, 6, 6.5) ),
38  cms.PSet( EndcapCut = cms.vdouble( 0, 1.0, 1.5, 1.5, 1.5, 2, 2, 2, 3, 3, 6, 6, 6.5) ),
39  )
40 )
41 
42 # CBC3 hit matching algorithm
43 TTStubAlgorithm_cbc3_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_cbc3_Phase2TrackerDigi_",
44  zMatchingPS = cms.bool(True),
45  zMatching2S = cms.bool(True),
46 )
47 
48 
49 # Set the preferred hit matching algorithms.
50 # We prefer the global geometry algorithm for now in order not to break
51 # anything. Override with process.TTStubAlgorithm_PSimHit_ = ...,
52 # etc. in your configuration.
53 TTStubAlgorithm_Phase2TrackerDigi_ = cms.ESPrefer("TTStubAlgorithm_official_Phase2TrackerDigi_")
54