Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:10

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # First register all the hit matching algorithms, then specify preferred ones at end.
0004 
0005 # The stub windows used has been optimized for PU200 events
0006 # We use by default the new modified tight tuning
0007 # more details can be found in the following detector note: CMS DN-2020/005
0008 
0009 # This script is adapted to the very last Tilted Tracker geometry (D76)
0010 # This version was tested on CMSSW_13_3_0_pre2
0011 
0012    # PU200 new modified tight tuning
0013 TTStubAlgorithm_official_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_official_Phase2TrackerDigi_",
0014        zMatchingPS  = cms.bool(True),
0015        zMatching2S  = cms.bool(True),
0016        NTiltedRings = cms.vdouble( 0., 12., 12., 12., 0., 0., 0.),
0017        BarrelCut    = cms.vdouble(0, 2.0, 2.5, 3.5, 4.0, 5.5, 6.5),
0018        TiltedBarrelCutSet = cms.VPSet(
0019            cms.PSet( TiltedCut = cms.vdouble( 0 ) ),
0020            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) ),
0021            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) ),
0022            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) ),
0023        ),
0024        EndcapCutSet = cms.VPSet(
0025            cms.PSet( EndcapCut = cms.vdouble( 0 ) ),
0026            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) ),
0027            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) ),
0028            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) ),
0029            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) ),
0030            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) ),
0031        )
0032 )
0033 
0034 # CBC3 hit matching algorithm
0035 TTStubAlgorithm_cbc3_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_cbc3_Phase2TrackerDigi_",
0036    zMatchingPS = cms.bool(True),
0037    zMatching2S = cms.bool(True),
0038 )
0039 
0040 
0041 # Set the preferred hit matching algorithms.
0042 # We prefer the global geometry algorithm for now in order not to break
0043 # anything. Override with process.TTStubAlgorithm_PSimHit_ = ...,
0044 # etc. in your configuration.
0045 TTStubAlgorithm_Phase2TrackerDigi_ = cms.ESPrefer("TTStubAlgorithm_official_Phase2TrackerDigi_")
0046