Warning, /L1Trigger/CSCTriggerPrimitives/test/README.md is written in an unsupported language. File is not indexed.
0001 CSC Trigger Primitives: Test Modules
0002 ====================================
0003
0004 runCSCTriggerPrimitiveProducer
0005 ------------------------------
0006
0007 Configuration to run the CSC trigger primitive producer. Option available to unpack RAW data - useful for data vs emulator comparisons.
0008
0009
0010 runCSCL1TDQMClient
0011 ------------
0012
0013 Configuration to run the module `l1tdeCSCTPGClient` on a data file. Will produce a DQM file onto which the runCSCTriggerPrimitiveAnalyzer can be run
0014
0015
0016 runCSCTriggerPrimitiveAnalyzer
0017 ------------------------------
0018
0019 Configuration to run analysis on CSC trigger primitives. Choose from options to analyze data vs emulator comparison, MC resolution or MC efficiency.
0020
0021 For data vs emulator comparison, first run `runCSCTriggerPrimitiveProducer` on RAW data with the dqm enabled, followed by `runCSCL1TDQMClient`.
0022
0023
0024 runL1CSCTPEmulatorConfigAnalyzer
0025 --------------------------------
0026
0027 Compare configuration from DB with Python for CSC trigger primitives. Typically not necessary to do; all configuration is by default loaded from Python, not the configuration DB.
0028
0029
0030 runGEMCSCLUTAnalyzer
0031 --------------------
0032
0033 Makes the lookup tables for the GEM-CSC integrated local trigger in simulation and firmware. Current lookup tables can be found at https://github.com/cms-data/L1Trigger-CSCTriggerPrimitives/tree/master/GEMCSC
0034
0035
0036 CCLUTLinearFitWriter
0037 --------------------
0038
0039 The macro CCLUTLinearFitWriter.cpp produces look-up tables for the Run-3 CSC trigger using the comparator code logic.
0040
0041 * 10 LUTs will be created for CMSSW (5 for position offset, 5 for slope). 5 LUTs will be created for the Verilog firmware. 5 additional LUTs will be created that convert the Run-3 comparator code & pattern ID to a Run-1/2 pattern ID. The LUTs used in the simulation require at least 3 layers. The macro also produces fits with at least four layers.
0042
0043 <PRE>
0044 mkdir output_3layers
0045 mkdir output_4layers
0046 mkdir figures_3layers
0047 mkdir figures_4layers
0048 root -l -q -b CCLUTLinearFitWriter.cpp++(3)
0049 root -l -q -b CCLUTLinearFitWriter.cpp++(4)
0050 </PRE>
0051
0052 * Convention for 4-bit position offset word:
0053
0054 | Value | Half-Strip Offset | Delta Half-Strip | Quarter-Strip Bit | Eighth-Strip Bit |
0055 |-------|--------------------|-------------------|--------------------|------------------|
0056 | 0 | -7/4 | -2 | 0 | 1 |
0057 | 1 | -3/2 | -2 | 1 | 0 |
0058 | 2 | -5/4 | -2 | 1 | 1 |
0059 | 3 | -1 | -1 | 0 | 0 |
0060 | 4 | -3/4 | -1 | 0 | 1 |
0061 | 5 | -1/2 | -1 | 1 | 0 |
0062 | 6 | -1/4 | -1 | 1 | 1 |
0063 | 7 | 0 | 0 | 0 | 0 |
0064 | 8 | 1/4 | 0 | 0 | 1 |
0065 | 9 | 1/2 | 0 | 1 | 0 |
0066 | 10 | 3/4 | 0 | 1 | 1 |
0067 | 11 | 1 | 1 | 0 | 0 |
0068 | 12 | 5/4 | 1 | 0 | 1 |
0069 | 13 | 3/2 | 1 | 1 | 0 |
0070 | 14 | 7/4 | 1 | 1 | 1 |
0071 | 15 | 2 | 2 | 0 | 0 |
0072
0073 * Convention for 4-bit slope:
0074
0075 Slope is in units [half-strip offset/layer]. The sign of the bending is interpreted as in Run-1 and Run-2.
0076
0077 | Value | Slope |
0078 |-------|-------|
0079 | 0 | 1/8 |
0080 | 1 | 2/8 |
0081 | 2 | 3/8 |
0082 | 3 | 4/8 |
0083 | 4 | 5/8 |
0084 | 5 | 6/8 |
0085 | 6 | 7/8 |
0086 | 7 | 1 |
0087 | 8 | 9/8 |
0088 | 9 | 10/8 |
0089 | 10 | 11/8 |
0090 | 11 | 12/8 |
0091 | 12 | 13/8 |
0092 | 13 | 14/8 |
0093 | 14 | 2 |
0094 | 15 | 20/8 |
0095
0096 The LUTs can be found at https://github.com/cms-data/L1Trigger-CSCTriggerPrimitives/tree/master/CCLUT