CMS 3D CMS Logo

clctParams.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Parameters for CLCT processors: 2007 and later
4 clctPhase1 = cms.PSet(
5  clctFifoTbins = cms.uint32(12),
6  clctFifoPretrig = cms.uint32(7),
7  clctHitPersist = cms.uint32(4),
8  clctDriftDelay = cms.uint32(2),
9  clctNplanesHitPretrig = cms.uint32(3),
10  clctNplanesHitPattern = cms.uint32(4),
11  clctPidThreshPretrig = cms.uint32(2),
12  clctMinSeparation = cms.uint32(10),
13  # Debug
14  verbosity = cms.int32(0),
15 
16  # BX to start CLCT finding (poor man's dead-time shortening):
17  clctStartBxShift = cms.int32(0),
18 )
19 
20 # Parameters for upgrade CLCT processors
21 clctPhase2 = clctPhase1.clone(
22  # decrease possible minimal #HS distance between two CLCTs in a BX from 10 to 5:
23  clctMinSeparation = 5,
24 
25  # Turns on algorithms of localized dead-time zones:
26  useDeadTimeZoning = cms.bool(True),
27 
28  # Width (in #HS) of a fixed dead zone around a key HS:
29  clctStateMachineZone = cms.uint32(4),
30 
31  # Enables the algo which instead of using the fixed dead zone width,
32  # varies it depending on the width of a triggered CLCT pattern
33  # (if True, the clctStateMachineZone is ignored):
34  useDynamicStateMachineZone = cms.bool(False),
35 
36  # Pretrigger HS +- clctPretriggerTriggerZone sets the trigger matching zone
37  # which defines how far from pretrigger HS the TMB may look for a trigger HS
38  # (it becomes important to do so with localized dead-time zoning):
39  # not implemented yet, 2018-10-18, Tao
40  clctPretriggerTriggerZone = cms.uint32(224),
41 
42  # whether to store the "corrected" CLCT stub time
43  # (currently it is median time of all hits in a pattern) into the CSCCLCTDigi bx,
44  # and temporary store the regular "key layer hit" time into the CSCCLCTDigi fullBX:
45  # not feasible --Tao
46  clctUseCorrectedBx = cms.bool(False),
47 )
48 
49 clctPhase2GEM = clctPhase2.clone(
50  clctNplanesHitPattern = 3
51 )
52 
53 clctPSets = cms.PSet(
54  clctPhase1 = clctPhase1.clone(),
55  clctPhase2 = clctPhase2.clone(),
56  clctPhase2GEM = clctPhase2GEM.clone()
57 )