CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LumiConstants.py
Go to the documentation of this file.
1 # This extracts the constants formerly used in lumiQueryAPI.py so that they can be used in the pileup
2 # scripts.
3 
4 class ParametersObject(object):
5 
6  def __init__ (self):
7  self.NBX = 3564
8  self.bunchSpacing = 24.95e-9
9  self.orbitLength = self.NBX*self.bunchSpacing
10  self.orbitFrequency = 1.0/self.orbitLength
11  self.orbitsPerLS = 2**18