CMS 3D CMS Logo

Public Member Functions | Public Attributes

lumiParameters::ParametersObject Class Reference

List of all members.

Public Member Functions

def __init__
def calculateTimeParameters
def lslengthsec
def setNumBx
def setNumOrbit
def setRotationRate

Public Attributes

 lumiSectionLen
 NBX
 numorbit
 rotationRate
 rotationTime

Detailed Description

collection of constants used in lumi related calculation

Definition at line 1 of file lumiParameters.py.


Constructor & Destructor Documentation

def lumiParameters::ParametersObject::__init__ (   self)

Definition at line 5 of file lumiParameters.py.

00006                        :
00007         self.NBX             = 3564  # number beam crossings
00008         self.numorbit        = 2**18 # 262144
00009         self.rotationRate    = 11245.613 # for 3.5 TeV Beam energy
00010         self.rotationTime    = 1 / self.rotationRate
00011         self.lumiSectionLen  = self.numorbit * self.rotationTime
00012         ##self.minBiasXsec   = 71300 # unit: microbarn
00013 
        

Member Function Documentation

def lumiParameters::ParametersObject::calculateTimeParameters (   self)
Given the rotation rate, calculate lumi section length and
rotation time.  This should be called if rotationRate is
updated.

Definition at line 31 of file lumiParameters.py.

00032                                      :
00033         '''Given the rotation rate, calculate lumi section length and
00034         rotation time.  This should be called if rotationRate is
00035         updated.
00036         '''
00037         self.rotationTime    = 1 / self.rotationRate
00038         self.lumiSectionLen  = self.numorbit * self.rotationTime
        
def lumiParameters::ParametersObject::lslengthsec (   self)
Calculate lslength in sec from number of orbit and BX

Definition at line 39 of file lumiParameters.py.

00040                          :
00041         '''
00042         Calculate lslength in sec from number of orbit and BX
00043         '''
00044         return self.lumiSectionLen 
00045        
00046 #=======================================================
00047 #   Unit Test
#=======================================================
def lumiParameters::ParametersObject::setNumBx (   self,
  numbx 
)
update the default number of BX

Definition at line 25 of file lumiParameters.py.

00026                             :
00027         '''
00028         update the default number of BX
00029         '''
00030         self.NBX = numbx
        
def lumiParameters::ParametersObject::setNumOrbit (   self,
  numorbit 
)

Definition at line 22 of file lumiParameters.py.

00023                                   :
00024         self.numorbit=numorbit
        
def lumiParameters::ParametersObject::setRotationRate (   self,
  rate 
)
update the default LHC orbit frequency
Single beam energy of 450GeV:  11245.589
Single beam energy of 3.5TeV: 11245.613

Definition at line 14 of file lumiParameters.py.

00015                                   :
00016         '''
00017         update the default LHC orbit frequency
00018         Single beam energy of 450GeV:  11245.589
00019         Single beam energy of 3.5TeV: 11245.613
00020         '''
00021         self.rotationRate =rate
        

Member Data Documentation

Definition at line 5 of file lumiParameters.py.

Definition at line 5 of file lumiParameters.py.

Definition at line 5 of file lumiParameters.py.

Definition at line 5 of file lumiParameters.py.

Definition at line 5 of file lumiParameters.py.