Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:01

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 for PU200 events
0006 # We use by default the tight tuning
0007 #
0008 # Definition is presented here:
0009 #
0010 # https://indico.cern.ch/event/681577/#4-update-of-the-track-trigger
0011 #
0012 # This script is adapted to the very last Tilted Tracker geometry to date (tracker T5)
0013 # This version was tested on CMSSW 10_0_0_pre1
0014 # 
0015 
0016 TTStubAlgorithm_official_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_official_Phase2TrackerDigi_",
0017    zMatchingPS  = cms.bool(True),
0018    zMatching2S  = cms.bool(True),
0019    #Number of tilted rings per side in barrel layers (for tilted geom only)
0020    NTiltedRings = cms.vdouble( 0., 12., 12., 12., 0., 0., 0.), 
0021    # PU200 tight tuning, optimized for muons
0022    BarrelCut    = cms.vdouble( 0, 2, 2.5, 3.5, 4.5, 5.5, 7),
0023    TiltedBarrelCutSet = cms.VPSet(
0024         cms.PSet( TiltedCut = cms.vdouble( 0 ) ),
0025         cms.PSet( TiltedCut = cms.vdouble( 0, 3, 3, 2.5, 3, 3, 2.5, 2.5, 2, 1.5, 1.5, 1, 1) ),
0026         cms.PSet( TiltedCut = cms.vdouble( 0, 3.5, 3, 3, 3, 3, 2.5, 2.5, 3, 3, 2.5, 2.5, 2.5) ),
0027         cms.PSet( TiltedCut = cms.vdouble( 0, 4, 4, 4, 3.5, 3.5, 3.5, 3.5, 3, 3, 3, 3, 3) ),
0028     ),
0029    EndcapCutSet = cms.VPSet(
0030         cms.PSet( EndcapCut = cms.vdouble( 0 ) ),
0031         cms.PSet( EndcapCut = cms.vdouble( 0, 1, 2.5, 2.5, 3, 2.5, 3, 3.5, 4, 4, 4.5, 3.5, 4, 4.5, 5, 5.5) ),
0032         cms.PSet( EndcapCut = cms.vdouble( 0, 0.5, 2.5, 2.5, 3, 2.5, 3, 3, 3.5, 3.5, 4, 3.5, 3.5, 4, 4.5, 5) ),
0033         cms.PSet( EndcapCut = cms.vdouble( 0, 1, 3, 3, 2.5, 3.5, 3.5, 3.5, 4, 3.5, 3.5, 4, 4.5) ),
0034         cms.PSet( EndcapCut = cms.vdouble( 0, 1, 2.5, 3, 2.5, 3.5, 3, 3, 3.5, 3.5, 3.5, 4, 4) ),
0035         cms.PSet( EndcapCut = cms.vdouble( 0, 0.5, 1.5, 3, 2.5, 3.5, 3, 3, 3.5, 4, 3.5, 4, 3.5) ),
0036         )
0037 
0038    # PU200 loose tuning, optimized for robustness (uncomment if you want to use it)
0039    #BarrelCut    = cms.vdouble( 0, 2.0, 3, 4.5, 6, 6.5, 7.0),
0040    #TiltedBarrelCutSet = cms.VPSet(
0041    #     cms.PSet( TiltedCut = cms.vdouble( 0 ) ),
0042    #     cms.PSet( TiltedCut = cms.vdouble( 0, 3, 3., 2.5, 3., 3., 2.5, 2.5, 2., 1.5, 1.5, 1, 1) ),
0043    #     cms.PSet( TiltedCut = cms.vdouble( 0, 4., 4, 4, 4, 4., 4., 4.5, 5, 4., 3.5, 3.5, 3) ),
0044    #     cms.PSet( TiltedCut = cms.vdouble( 0, 5, 5, 5, 5, 5, 5, 5.5, 5, 5, 5.5, 5.5, 5.5) ),
0045    #    ),
0046    #EndcapCutSet = cms.VPSet(
0047    #     cms.PSet( EndcapCut = cms.vdouble( 0 ) ),
0048    #     cms.PSet( EndcapCut = cms.vdouble( 0, 1., 2.5, 2.5, 3.5, 5.5, 5.5, 6, 6.5, 6.5, 6.5, 6.5, 6.5, 6.5, 7, 7) ),
0049    #     cms.PSet( EndcapCut = cms.vdouble( 0, 0.5, 2.5, 2.5, 3, 5, 6, 6, 6.5, 6.5, 6.5, 6.5, 6.5, 6.5, 7, 7) ),
0050    #     cms.PSet( EndcapCut = cms.vdouble( 0, 1, 3., 4.5, 6., 6.5, 6.5, 6.5, 7, 7, 7, 7, 7) ),
0051    #     cms.PSet( EndcapCut = cms.vdouble( 0, 1., 2.5, 3.5, 6., 6.5, 6.5, 6.5, 6.5, 7, 7, 7, 7) ),
0052    #     cms.PSet( EndcapCut = cms.vdouble( 0, 0.5, 1.5, 3., 4.5, 6.5, 6.5, 7, 7, 7, 7, 7, 7) ),
0053    #     )
0054 )
0055 
0056 # CBC3 hit matching algorithm
0057 TTStubAlgorithm_cbc3_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_cbc3_Phase2TrackerDigi_",
0058    zMatchingPS = cms.bool(True),
0059    zMatching2S = cms.bool(True),
0060 )
0061 
0062 
0063 # Set the preferred hit matching algorithms.
0064 # We prefer the global geometry algorithm for now in order not to break
0065 # anything. Override with process.TTStubAlgorithm_PSimHit_ = ...,
0066 # etc. in your configuration.
0067 TTStubAlgorithm_Phase2TrackerDigi_ = cms.ESPrefer("TTStubAlgorithm_official_Phase2TrackerDigi_")
0068