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 has been optimized for PU200 events
6 # We use by default the new modified tight tuning
7 # more details can be found in the following detector note: CMS DN-2020/005
8 
9 # This script is adapted to the very last Tilted Tracker geometry (D76)
10 # This version was tested on CMSSW_13_3_0_pre2
11 
12  # PU200 new modified tight tuning
13 TTStubAlgorithm_official_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_official_Phase2TrackerDigi_",
14  zMatchingPS = cms.bool(True),
15  zMatching2S = cms.bool(True),
16  NTiltedRings = cms.vdouble( 0., 12., 12., 12., 0., 0., 0.),
17  BarrelCut = cms.vdouble(0, 2.0, 2.5, 3.5, 4.0, 5.5, 6.5),
18  TiltedBarrelCutSet = cms.VPSet(
19  cms.PSet( TiltedCut = cms.vdouble( 0 ) ),
20  cms.PSet( TiltedCut = cms.vdouble( 0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 1.5, 1.5, 1.5, 1.0, 1.0) ),
21  cms.PSet( TiltedCut = cms.vdouble( 0, 3.0, 3.0, 3.0, 3.0, 3.0, 2.5, 2.5, 3.0, 3.0, 2.5, 2.5, 2.5) ),
22  cms.PSet( TiltedCut = cms.vdouble(0, 4.0, 4.0, 4.0, 3.5, 3.5, 3.5, 3.0, 3.0, 2.5, 2.5, 2.5, 2.5) ),
23  ),
24  EndcapCutSet = cms.VPSet(
25  cms.PSet( EndcapCut = cms.vdouble( 0 ) ),
26  cms.PSet( EndcapCut = cms.vdouble(0, 1.0, 1.5, 1.5, 2.0, 2.0, 2.5, 2.5, 3.0, 4.0, 4.0, 2.5, 3.0, 3.5, 4.0, 5.0) ),
27  cms.PSet( EndcapCut = cms.vdouble(0, 0.5, 1.5, 1.5, 2.0, 2.0, 2.0, 2.5, 2.5, 3.0, 3.5, 2.0, 2.5, 3.0, 4.0, 4.0) ),
28  cms.PSet( EndcapCut = cms.vdouble(0, 1.5, 2.0, 2.0, 2.0, 2.0, 2.5, 3.0, 3.5, 2.5, 2.5, 3.0, 3.5) ),
29  cms.PSet( EndcapCut = cms.vdouble(0, 1.0, 1.5, 1.5, 2.0, 2.0, 2.0, 2.0, 3.0, 2.0, 2.0, 3.0, 3.0) ),
30  cms.PSet( EndcapCut = cms.vdouble(0, 1.0, 1.5, 1.5, 2.0, 2.0, 2.0, 2.0, 2.5, 3.0, 2.0, 2.0, 2.5) ),
31  )
32 )
33 
34 # CBC3 hit matching algorithm
35 TTStubAlgorithm_cbc3_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_cbc3_Phase2TrackerDigi_",
36  zMatchingPS = cms.bool(True),
37  zMatching2S = cms.bool(True),
38 )
39 
40 
41 # Set the preferred hit matching algorithms.
42 # We prefer the global geometry algorithm for now in order not to break
43 # anything. Override with process.TTStubAlgorithm_PSimHit_ = ...,
44 # etc. in your configuration.
45 TTStubAlgorithm_Phase2TrackerDigi_ = cms.ESPrefer("TTStubAlgorithm_official_Phase2TrackerDigi_")
46