test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
lumiQueryAPI.ParametersObject Class Reference

==============temporarilly here======### More...

Inheritance diagram for lumiQueryAPI.ParametersObject:

Public Member Functions

def __init__
 
def calculateTimeParameters
 
def defaultfrontierConfigString
 

Public Attributes

 beammode
 
 lumidetailname
 
 lumischema
 
 lumiSectionLen
 
 lumisummaryname
 
 lumiversion
 
 lumiXing
 
 maxPileupBin
 
 minBiasXsec
 
 NBX
 
 norm
 
 normFactor
 
 noWarnings
 
 pileupHistName
 
 rotationRate
 
 rotationTime
 
 verbose
 
 xingIndex
 
 xingMinLum
 

Detailed Description

==============temporarilly here======###

Definition at line 22 of file lumiQueryAPI.py.

Constructor & Destructor Documentation

def lumiQueryAPI.ParametersObject.__init__ (   self)

Definition at line 24 of file lumiQueryAPI.py.

24 
25  def __init__ (self):
26  self.norm = 1.0
27  self.lumiversion = '0001'
28  self.NBX = 3564 # number beam crossings
29  self.rotationRate = 11245.613 # for 3.5 TeV Beam energy
30  self.normFactor = 6.37
31  self.beammode = '' #possible choices stable, quiet, either
32  self.verbose = False
33  self.noWarnings = False
34  self.lumischema = 'CMS_LUMI_PROD'
35  #self.lumidb = 'oracle://cms_orcoff_prod/cms_lumi_prod'
36  self.lumisummaryname = 'LUMISUMMARY'
37  self.lumidetailname = 'LUMIDETAIL'
38  self.lumiXing = False
39  self.xingMinLum = 1.0e-4
40  self.xingIndex = 5
41  self.minBiasXsec = 71300 # unit: microbarn
42  self.pileupHistName = 'pileup'
43  self.maxPileupBin = 10

Member Function Documentation

def lumiQueryAPI.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 45 of file lumiQueryAPI.py.

45 
46  def calculateTimeParameters (self):
47  '''Given the rotation rate, calculate lumi section length and
48  rotation time. This should be called if rotationRate is
49  updated.'''
50  self.rotationTime = 1 / self.rotationRate
51  self.lumiSectionLen = 2**18 * self.rotationTime
def lumiQueryAPI.ParametersObject.defaultfrontierConfigString (   self)

Definition at line 52 of file lumiQueryAPI.py.

52 
53  def defaultfrontierConfigString (self):
54  return '''<frontier-connect><proxy url = "http://cmst0frontier.cern.ch:3128"/><proxy url = "http://cmst0frontier.cern.ch:3128"/><proxy url = "http://cmst0frontier1.cern.ch:3128"/><proxy url = "http://cmst0frontier2.cern.ch:3128"/><server url = "http://cmsfrontier.cern.ch:8000/FrontierInt"/><server url = "http://cmsfrontier.cern.ch:8000/FrontierInt"/><server url = "http://cmsfrontier1.cern.ch:8000/FrontierInt"/><server url = "http://cmsfrontier2.cern.ch:8000/FrontierInt"/><server url = "http://cmsfrontier3.cern.ch:8000/FrontierInt"/><server url = "http://cmsfrontier4.cern.ch:8000/FrontierInt"/></frontier-connect>'''

Member Data Documentation

lumiQueryAPI.ParametersObject.beammode

Definition at line 30 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumidetailname

Definition at line 36 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumischema

Definition at line 33 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumiSectionLen

Definition at line 50 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumisummaryname

Definition at line 35 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumiversion

Definition at line 26 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumiXing

Definition at line 37 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.maxPileupBin

Definition at line 42 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.minBiasXsec

Definition at line 40 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.NBX

Definition at line 27 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.norm

Definition at line 25 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.normFactor

Definition at line 29 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.noWarnings

Definition at line 32 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.pileupHistName

Definition at line 41 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.rotationRate

Definition at line 28 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.rotationTime

Definition at line 49 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.verbose

Definition at line 31 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.xingIndex

Definition at line 39 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.xingMinLum

Definition at line 38 of file lumiQueryAPI.py.