==============temporarilly here======### More...
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 |
==============temporarilly here======###
Definition at line 22 of file lumiQueryAPI.py.
def lumiQueryAPI::ParametersObject::__init__ | ( | self | ) |
Definition at line 24 of file lumiQueryAPI.py.
00025 : 00026 self.norm = 1.0 00027 self.lumiversion = '0001' 00028 self.NBX = 3564 # number beam crossings 00029 self.rotationRate = 11245.613 # for 3.5 TeV Beam energy 00030 self.normFactor = 6.37 00031 self.beammode = '' #possible choices stable, quiet, either 00032 self.verbose = False 00033 self.noWarnings = False 00034 self.lumischema = 'CMS_LUMI_PROD' 00035 #self.lumidb = 'oracle://cms_orcoff_prod/cms_lumi_prod' 00036 self.lumisummaryname = 'LUMISUMMARY' 00037 self.lumidetailname = 'LUMIDETAIL' 00038 self.lumiXing = False 00039 self.xingMinLum = 1.0e-4 00040 self.xingIndex = 5 00041 self.minBiasXsec = 71300 # unit: microbarn 00042 self.pileupHistName = 'pileup' 00043 self.maxPileupBin = 10 00044 self.calculateTimeParameters()
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.
00046 : 00047 '''Given the rotation rate, calculate lumi section length and 00048 rotation time. This should be called if rotationRate is 00049 updated.''' 00050 self.rotationTime = 1 / self.rotationRate 00051 self.lumiSectionLen = 2**18 * self.rotationTime
def lumiQueryAPI::ParametersObject::defaultfrontierConfigString | ( | self | ) |
Definition at line 52 of file lumiQueryAPI.py.
00053 : 00054 return '''<frontier-connect><proxy url = "https://cmst0frontier.cern.ch:3128"/><proxy url = "https://cmst0frontier.cern.ch:3128"/><proxy url = "https://cmst0frontier1.cern.ch:3128"/><proxy url = "https://cmst0frontier2.cern.ch:3128"/><server url = "https://cmsfrontier.cern.ch:8000/FrontierInt"/><server url = "https://cmsfrontier.cern.ch:8000/FrontierInt"/><server url = "https://cmsfrontier1.cern.ch:8000/FrontierInt"/><server url = "https://cmsfrontier2.cern.ch:8000/FrontierInt"/><server url = "https://cmsfrontier3.cern.ch:8000/FrontierInt"/><server url = "https://cmsfrontier4.cern.ch:8000/FrontierInt"/></frontier-connect>'''
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 47 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 47 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.
Definition at line 24 of file lumiQueryAPI.py.