Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:11

0001 #include "DQM/RCTMonitor/interface/RCTMonitor.h"
0002 
0003 #include <cmath>
0004 
0005 // Define statics for bins etc.
0006 const unsigned int RCTMonitor::ETABINS = 22;
0007 const float RCTMonitor::ETAMIN = -0.5;
0008 const float RCTMonitor::ETAMAX = 21.5;
0009 const unsigned int RCTMonitor::METPHIBINS = 72;
0010 const float RCTMonitor::METPHIMIN = -0.5;
0011 const float RCTMonitor::METPHIMAX = 71.5;
0012 const unsigned int RCTMonitor::PHIBINS = 18;
0013 const float RCTMonitor::PHIMIN = -0.5;
0014 const float RCTMonitor::PHIMAX = 17.5;
0015 const unsigned int RCTMonitor::TPPHIBINS = 72;
0016 const float RCTMonitor::TPPHIMIN = 0.5;
0017 const float RCTMonitor::TPPHIMAX = 72.5;
0018 const unsigned int RCTMonitor::TPETABINS = 65;
0019 const float RCTMonitor::TPETAMIN = -32.5;
0020 const float RCTMonitor::TPETAMAX = 32.5;
0021 const unsigned int RCTMonitor::L1EETABINS = 22;
0022 const float RCTMonitor::L1EETAMIN = -5;
0023 const float RCTMonitor::L1EETAMAX = 5;
0024 const unsigned int RCTMonitor::L1EPHIBINS = 18;
0025 const float RCTMonitor::L1EPHIMIN = -M_PI;
0026 const float RCTMonitor::L1EPHIMAX = M_PI;
0027 
0028 // Ranks 6, 10 and 12 bits
0029 const unsigned int RCTMonitor::R6BINS = 64;
0030 const float RCTMonitor::R6MIN = -0.5;
0031 const float RCTMonitor::R6MAX = 63.5;
0032 const unsigned int RCTMonitor::R10BINS = 1024;
0033 const float RCTMonitor::R10MIN = -0.5;
0034 const float RCTMonitor::R10MAX = 1023.5;
0035 const unsigned int RCTMonitor::R12BINS = 4096;
0036 const float RCTMonitor::R12MIN = -0.5;
0037 const float RCTMonitor::R12MAX = 4095.5;
0038 
0039 // Normalize Trigger Towers according to physical extent.
0040 const float ScaleINNER = 1.000000;
0041 const float ScaleOUT = 0.423358;
0042 const float ScaleIN = 0.794521;
0043 
0044 // Something for the trigger primitives
0045 const unsigned int RCTMonitor::RTPBINS = 101;
0046 const float RCTMonitor::RTPMIN = -0.5;
0047 const float RCTMonitor::RTPMAX = 100.5;
0048 
0049 // Physical bins 1 Gev - 1 TeV in 1 GeV steps
0050 const unsigned int RCTMonitor::TEVBINS = 1001;
0051 const float RCTMonitor::TEVMIN = -0.5;
0052 const float RCTMonitor::TEVMAX = 1000.5;