CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 discused here:
10 #
11 # https://indico.cern.ch/event/536881/contributions/2219856/
12 #
13 
14 # Tab2013 hit matching algorithm
15 TTStubAlgorithm_official_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_official_Phase2TrackerDigi_",
16  zMatchingPS = cms.bool(False),
17  zMatching2S = cms.bool(True),
18  BarrelCut = cms.vdouble( 0, 1.5, 1.5, 2.5, 4.0, 5.0, 6.5), #Use 0 as dummy to have direct access using DetId to the correct element
19  NTiltedRings = cms.vdouble( 0., 11., 12., 13., 0., 0., 0.), #Number of tilted rings per side in barrel layers (for tilted geom only)
20  TiltedBarrelCutSet = cms.VPSet(
21  cms.PSet( TiltedCut = cms.vdouble( 0 ) ),
22  cms.PSet( TiltedCut = cms.vdouble( 0, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1, 1, 1, 1, 1) ), #TBPS L1 rings
23  cms.PSet( TiltedCut = cms.vdouble( 0, 2, 2, 2, 2, 2, 1.5, 1.5, 2, 2, 1.5, 1.5, 1.5) ), #TBPS L2 rings
24  cms.PSet( TiltedCut = cms.vdouble( 0, 2.5, 2.5, 2.5, 2.5, 2, 2, 2, 2, 2, 2, 2, 2, 1.5) ), #TBPS L3 rings
25  ),
26  EndcapCutSet = cms.VPSet(
27  cms.PSet( EndcapCut = cms.vdouble( 0 ) ),
28  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3, 4, 2.5, 3, 3.5, 4, 5) ),
29  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1, 1, 1.5, 1.5, 2, 2, 2.5, 2.5, 3.5, 2, 2.5, 3, 3.5, 4) ), #D1
30  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 3, 3.5, 2, 2.5, 3, 3.5) ), #D2 ...
31  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1, 1, 1, 1, 1.5, 2, 2, 2, 2.5, 3, 2, 2, 2.5, 3) ),
32  cms.PSet( EndcapCut = cms.vdouble( 0, 1, 1, 1, 1, 1, 1.5, 1.5, 2, 2, 2, 3, 3, 2, 2, 2.5) ),
33  )
34 )
35 
36 # CBC3 hit matching algorithm
37 TTStubAlgorithm_cbc3_Phase2TrackerDigi_ = cms.ESProducer("TTStubAlgorithm_cbc3_Phase2TrackerDigi_",
38  zMatchingPS = cms.bool(False),
39  zMatching2S = cms.bool(True),
40 )
41 
42 
43 # Set the preferred hit matching algorithms.
44 # We prefer the global geometry algorithm for now in order not to break
45 # anything. Override with process.TTStubAlgorithm_PSimHit_ = ...,
46 # etc. in your configuration.
47 TTStubAlgorithm_Phase2TrackerDigi_ = cms.ESPrefer("TTStubAlgorithm_official_Phase2TrackerDigi_")
48