CMS 3D CMS Logo

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__ (self)
 
def calculateTimeParameters (self)
 
def defaultfrontierConfigString (self)
 

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

Constructor & Destructor Documentation

def lumiQueryAPI.ParametersObject.__init__ (   self)

Definition at line 28 of file lumiQueryAPI.py.

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

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

50  '''Given the rotation rate, calculate lumi section length and
51  rotation time. This should be called if rotationRate is
52  updated.'''
53  self.rotationTime = 1 / self.rotationRate
54  self.lumiSectionLen = 2**18 * self.rotationTime
55 
def lumiQueryAPI.ParametersObject.defaultfrontierConfigString (   self)

Definition at line 56 of file lumiQueryAPI.py.

57  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>'''
58 

Member Data Documentation

lumiQueryAPI.ParametersObject.beammode

Definition at line 34 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumidetailname

Definition at line 40 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumischema

Definition at line 37 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumiSectionLen

Definition at line 54 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumisummaryname

Definition at line 39 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumiversion

Definition at line 30 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.lumiXing

Definition at line 41 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.maxPileupBin

Definition at line 46 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.minBiasXsec

Definition at line 44 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.NBX

Definition at line 31 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.norm

Definition at line 29 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.normFactor

Definition at line 33 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.noWarnings

Definition at line 36 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.pileupHistName

Definition at line 45 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.rotationRate

Definition at line 32 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.rotationTime

Definition at line 53 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.verbose

Definition at line 35 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.xingIndex

Definition at line 43 of file lumiQueryAPI.py.

lumiQueryAPI.ParametersObject.xingMinLum

Definition at line 42 of file lumiQueryAPI.py.