Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Parameters for ALCT processors: 2007 and later
0004 alctPhase1 = cms.PSet(
0005     # total number of time bins in the DAQ readout
0006     alctFifoTbins   = cms.uint32(16),
0007     alctFifoPretrig = cms.uint32(10),
0008     # time that is required for the electrons to drift to the
0009     # anode wires. 15ns drift time --> 45 ns is 3 sigma for the delay
0010     # this corresponds to 2bx
0011     alctDriftDelay  = cms.uint32(2),
0012     # min. number of layers hit for pre-trigger
0013     alctNplanesHitPretrig = cms.uint32(3),
0014     # min. number of layers hit for trigger
0015     alctNplanesHitPattern = cms.uint32(4),
0016     # min. number of layers hit for pre-trigger
0017     alctNplanesHitAccelPretrig = cms.uint32(3),
0018     # min. number of layers hit for trigger
0019     alctNplanesHitAccelPattern = cms.uint32(4),
0020     # 0: both collision and accelerator tracks
0021     # 1: only accelerator tracks
0022     # 2: only collision tracks
0023     # 3: prefer accelerator tracks
0024     alctTrigMode       = cms.uint32(2),
0025     # preference to collision/accelerator tracks
0026     alctAccelMode      = cms.uint32(0),
0027     # L1Accept window width, in 25 ns bins
0028      alctL1aWindowWidth = cms.uint32(7),
0029     verbosity = cms.int32(0),
0030 
0031     # Configure early_tbins instead of hardcoding it
0032     alctEarlyTbins = cms.int32(4),
0033 
0034     # Use narrow pattern mask for ring 1 chambers
0035     alctNarrowMaskForR1 = cms.bool(False),
0036 
0037     # duration of signal pulse, in 25 ns bins
0038    alctHitPersist  = cms.uint32(6),
0039 
0040     # configure, not hardcode, up to how many BXs in the past
0041     # ghost cancellation in neighboring WGs may happen
0042     alctGhostCancellationBxDepth = cms.int32(4),
0043 
0044     # whether to compare the quality of stubs in neighboring WGs in the past
0045     # to the quality of a stub in current WG
0046     # when doing ghost cancellation
0047     alctGhostCancellationSideQuality = cms.bool(False),
0048 
0049     # how soon after pretrigger and alctDriftDelay can next pretrigger happen?
0050     alctPretrigDeadtime = cms.uint32(4),
0051 
0052     # whether to store the "corrected" ALCT stub time
0053     # (currently it is median time of particular hits in a pattern) into the CSCCLCTDigi bx,
0054     # and temporary store the regular "key layer hit" time into the CSCCLCTDigi fullBX:
0055     alctUseCorrectedBx = cms.bool(False)
0056 )
0057 
0058 # Parameters for upgrade ALCT processors
0059 alctPhase2 = alctPhase1.clone(
0060     alctNarrowMaskForR1 = True,
0061     alctGhostCancellationBxDepth = 1,
0062     alctGhostCancellationSideQuality = True,
0063     alctPretrigDeadtime = 0,
0064     alctUseCorrectedBx = True,
0065 )
0066 
0067 alctPhase2GEM = alctPhase2.clone(
0068     alctNplanesHitPattern = 4
0069 )
0070 
0071 alctPSets = cms.PSet(
0072     alctPhase1 = alctPhase1.clone(),
0073     alctPhase2 = alctPhase2.clone(),
0074     alctPhase2GEM = alctPhase2GEM.clone()
0075 )