CMS 3D CMS Logo

linpuppi_bits.h
Go to the documentation of this file.
1 #ifndef FIRMWARE_LINPUPPI_BITS_H
2 #define FIRMWARE_LINPUPPI_BITS_H
3 
4 #define LINPUPPI_ptLSB 0.25
5 #define LINPUPPI_DR2LSB 1.9e-5
6 #define LINPUPPI_dzLSB 0.05
7 #define LINPUPPI_pt2LSB LINPUPPI_ptLSB* LINPUPPI_ptLSB
8 #define LINPUPPI_pt2DR2_scale LINPUPPI_ptLSB* LINPUPPI_ptLSB / LINPUPPI_DR2LSB
9 
10 #define LINPUPPI_sum_bitShift 15
11 #define LINPUPPI_x2_bits 6 // decimal bits the discriminator values
12 #define LINPUPPI_alpha_bits 5 // decimal bits of the alpha values
13 #define LINPUPPI_alphaSlope_bits 5 // decimal bits of the alphaSlope values
14 #define LINPUPPI_ptSlope_bits 6 // decimal bits of the ptSlope values
15 #define LINPUPPI_weight_bits 8
16 
17 #endif