src
RecoLuminosity
LumiDB
python
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
12
self.
lumiSectionLength
= self.
orbitsPerLS
*self.
orbitLength
LumiConstants.ParametersObject.lumiSectionLength
lumiSectionLength
Definition:
LumiConstants.py:12
LumiConstants.ParametersObject
Definition:
LumiConstants.py:4
LumiConstants.ParametersObject.orbitsPerLS
orbitsPerLS
Definition:
LumiConstants.py:11
LumiConstants.ParametersObject.__init__
def __init__(self)
Definition:
LumiConstants.py:6
LumiConstants.ParametersObject.orbitLength
orbitLength
Definition:
LumiConstants.py:9
LumiConstants.ParametersObject.orbitFrequency
orbitFrequency
Definition:
LumiConstants.py:10
LumiConstants.ParametersObject.bunchSpacing
bunchSpacing
Definition:
LumiConstants.py:8
default_text_conditions_cfi.object
object
Definition:
default_text_conditions_cfi.py:8
LumiConstants.ParametersObject.NBX
NBX
Definition:
LumiConstants.py:7
Generated for CMSSW Reference Manual by
1.8.14