CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BeamSpotObj.py
Go to the documentation of this file.
1 class BeamSpot:
2  def __init__(self):
3  self.Type = -1
4  self.X = 0.
5  self.Xerr = 0.
6  self.Y = 0.
7  self.Yerr = 0.
8  self.Z = 0.
9  self.Zerr = 0.
10  self.sigmaZ = 0.
11  self.sigmaZerr = 0.
12  self.dxdz = 0.
13  self.dxdzerr = 0.
14  self.dydz = 0.
15  self.dydzerr = 0.
16  self.beamWidthX = 0.
17  self.beamWidthXerr = 0.
18  self.beamWidthY = 0.
19  self.beamWidthYerr = 0.
20  self.EmittanceX = 0.
21  self.EmittanceY = 0.
22  self.betastar = 0.
23  self.IOVfirst = 0
24  self.IOVlast = 0
25  self.IOVBeginTime = 0
26  self.IOVEndTime = 0
27  self.Run = 0
28  def Reset(self):
29  self.Type = -1
30  self.X = self.Y = self.Z = 0.
31  self.Xerr = self.Yerr = self.Zerr = 0.
32  self.sigmaZ = self.sigmaZerr = 0.
33  self.dxdz = self.dydz = 0.
34  self.dxdzerr = self.dydzerr = 0.
35  self.beamWidthX = self.beamWidthY = 0.
36  self.beamWidthXerr = self.beamWidthYerr = 0.
37  self.EmittanceX = self.EmittanceY = self.betastar = 0.
38  self.IOVfirst = self.IOVlast = 0
39  self.Run = 0