CMS 3D CMS Logo

alctParams.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Parameters for ALCT processors: 2007 and later
4 alctPhase1 = cms.PSet(
5  alctFifoTbins = cms.uint32(16),
6  alctFifoPretrig = cms.uint32(10),
7  alctDriftDelay = cms.uint32(2),
8  alctNplanesHitPretrig = cms.uint32(3),
9  alctNplanesHitPattern = cms.uint32(4),
10  alctNplanesHitAccelPretrig = cms.uint32(3),
11  alctNplanesHitAccelPattern = cms.uint32(4),
12  alctTrigMode = cms.uint32(2),
13  alctAccelMode = cms.uint32(0),
14  alctL1aWindowWidth = cms.uint32(7),
15  verbosity = cms.int32(0),
16 
17  # Configure early_tbins instead of hardcoding it
18  alctEarlyTbins = cms.int32(4),
19 
20  # Use narrow pattern mask for ring 1 chambers
21  alctNarrowMaskForR1 = cms.bool(False),
22 
23  # configured, not hardcoded, hit persistency
24  alctHitPersist = cms.uint32(6),
25 
26  # configure, not hardcode, up to how many BXs in the past
27  # ghost cancellation in neighboring WGs may happen
28  alctGhostCancellationBxDepth = cms.int32(4),
29 
30  # whether to compare the quality of stubs in neighboring WGs in the past
31  # to the quality of a stub in current WG
32  # when doing ghost cancellation
33  alctGhostCancellationSideQuality = cms.bool(False),
34 
35  # how soon after pretrigger and alctDriftDelay can next pretrigger happen?
36  alctPretrigDeadtime = cms.uint32(4),
37 
38  # whether to store the "corrected" ALCT stub time
39  # (currently it is median time of particular hits in a pattern) into the CSCCLCTDigi bx,
40  # and temporary store the regular "key layer hit" time into the CSCCLCTDigi fullBX:
41  alctUseCorrectedBx = cms.bool(False)
42 )
43 
44 # Parameters for upgrade ALCT processors
45 alctPhase2 = alctPhase1.clone(
46  alctNarrowMaskForR1 = True,
47  alctGhostCancellationBxDepth = 1,
48  alctGhostCancellationSideQuality = True,
49  alctPretrigDeadtime = 0,
50  alctUseCorrectedBx = True,
51 )
52 
53 alctPhase2GEM = alctPhase2.clone(
54  alctNplanesHitPattern = 3
55 )
56 
57 alctPSets = cms.PSet(
58  alctPhase1 = alctPhase1.clone(),
59  alctPhase2 = alctPhase2.clone(),
60  alctPhase2GEM = alctPhase2GEM.clone()
61 )