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  # local shower zone
33  clctLocalShowerZone = cms.int32(25),
34  # local shower thresh
35  clctLocalShowerThresh = cms.int32(12),
36 )
37 
38 # Parameters for upgrade CLCT processors
39 clctPhase2 = clctPhase1.clone(
40  # decrease possible minimal #HS distance between two CLCTs in a BX from 10 to 5:
41  clctMinSeparation = 5,
42 
43  # Turns on algorithms of localized dead-time zones:
44  useDeadTimeZoning = True,
45 
46  # Width (in #HS) of a fixed dead zone around a key HS:
47  clctStateMachineZone = cms.uint32(5),
48 
49  # Pretrigger HS +- clctPretriggerTriggerZone sets the trigger matching zone
50  # which defines how far from pretrigger HS the TMB may look for a trigger HS
51  clctPretriggerTriggerZone = cms.uint32(5),
52 )
53 
54 # CLCT threshold still set to 4 for now
55 clctPhase2GEM = clctPhase2.clone(
56  clctNplanesHitPattern = 4
57 )
58 
59 clctPSets = cms.PSet(
60  clctPhase1 = clctPhase1.clone(),
61  clctPhase2 = clctPhase2.clone(),
62  clctPhase2GEM = clctPhase2GEM.clone()
63 )