Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:28

0001 #ifndef L1TriggerScouting_Utilities_scales_h
0002 #define L1TriggerScouting_Utilities_scales_h
0003 
0004 #include <cstdint>
0005 #include <cmath>
0006 
0007 namespace l1ScoutingRun3 {
0008 
0009   // Scaled used to convert scouting hw values to physical quantities
0010 
0011   namespace ugmt {
0012     struct scales {
0013       static constexpr float pt_scale = 0.5;
0014       static constexpr float ptunconstrained_scale = 1.0;
0015       static constexpr float phi_scale = 2. * M_PI / 576.;
0016       static constexpr float eta_scale = 0.0870 / 8;
0017       static constexpr float phi_range = M_PI;
0018     };
0019   }  // namespace ugmt
0020 
0021   namespace demux {
0022     struct scales {
0023       static constexpr float phi_scale = 0.0435;
0024       static constexpr float eta_scale = 0.0435;
0025       static constexpr float et_scale = 0.5;
0026     };
0027   }  // namespace demux
0028 
0029 }  // namespace l1ScoutingRun3
0030 #endif  // L1TriggerScouting_Utilities_scales_h