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  # total number of time bins in the DAQ readout
6  clctFifoTbins = cms.uint32(12),
7  # start time of cathode raw hits in DAQ readout
8  clctFifoPretrig = cms.uint32(7),
9  # duration of signal pulse, in 25 ns bins
10  clctHitPersist = cms.uint32(4),
11  # time that is required for the electrons to drift to the
12  # cathode strips. 15ns drift time --> 45 ns is 3 sigma for the delay
13  # this corresponds to 2bx
14  clctDriftDelay = cms.uint32(2),
15  # min. number of layers hit for pre-trigger
16  clctNplanesHitPretrig = cms.uint32(3),
17  # min. number of layers hit for trigger
18  clctNplanesHitPattern = cms.uint32(4),
19  # lower threshold on pattern id
20  clctPidThreshPretrig = cms.uint32(2),
21  # region of busy key strips
22  clctMinSeparation = cms.uint32(10),
23 
24  # Turns on algorithms of localized dead-time zones:
25  useDeadTimeZoning = cms.bool(False),
26 
27  # Debug
28  verbosity = cms.int32(0),
29 
30  # BX to start CLCT finding (poor man's dead-time shortening):
31  clctStartBxShift = cms.int32(0),
32 )
33 
34 # Parameters for upgrade CLCT processors
35 clctPhase2 = clctPhase1.clone(
36  # decrease possible minimal #HS distance between two CLCTs in a BX from 10 to 5:
37  clctMinSeparation = 5,
38 
39  # Turns on algorithms of localized dead-time zones:
40  useDeadTimeZoning = True,
41 
42  # Width (in #HS) of a fixed dead zone around a key HS:
43  clctStateMachineZone = cms.uint32(4),
44 
45  # Pretrigger HS +- clctPretriggerTriggerZone sets the trigger matching zone
46  # which defines how far from pretrigger HS the TMB may look for a trigger HS
47  # (it becomes important to do so with localized dead-time zoning):
48  # not implemented yet, 2018-10-18, Tao Huang
49  clctPretriggerTriggerZone = cms.uint32(224),
50 )
51 
52 # CLCT threshold still set to 4 for now
53 clctPhase2GEM = clctPhase2.clone(
54  clctNplanesHitPattern = 4
55 )
56 
57 clctPSets = cms.PSet(
58  clctPhase1 = clctPhase1.clone(),
59  clctPhase2 = clctPhase2.clone(),
60  clctPhase2GEM = clctPhase2GEM.clone()
61 )