ATLAS Offline Software
Classes | Functions | Variables
drawFromPickle Namespace Reference

Classes

class  BaseClassFromDict
 
class  PadWithHits
 
class  SectorTriggerCandidate
 
class  SingleWedgePadTrigger
 

Functions

def midSectorPhi (sec)
 
def average (lst)
 
def eta2theta (eta)
 
def xyFromEtaPhiZ (eta, phi, z)
 
def tuple2vec (tpl)
 
def formatPadMaster (h)
 

Variables

 IgnoreCommandLineOptions
 
 mm
 
 cm
 
 cm2mm
 
 mm2cm
 
 repv
 
 xyzv
 
 sectorDphi
 
 sin
 
 cos
 
 tan
 
 atan
 
 exp
 
 filename
 
 candidates
 
 outputBaseName
 
 xRangeMin
 
 xRangeMax
 
 yRangeMin
 
 yRangeMax
 
 zRangeMin
 
 zRangeMax
 
 hRangeMin
 
 hRangeMax
 
 phiRangeMin
 
 phiRangeMax
 
 padMasterYx
 
 padMasterHz
 
 padMasterZphi
 
 can
 
 sCan
 
 view
 
 padMaster
 
 onlyPivot
 
 onlyConfirm
 

Function Documentation

◆ average()

def drawFromPickle.average (   lst)

Definition at line 38 of file drawFromPickle.py.

38 def average(lst) : return sum(lst)/len(lst)

◆ eta2theta()

def drawFromPickle.eta2theta (   eta)

Definition at line 39 of file drawFromPickle.py.

39 def eta2theta(eta) : return 2.0*atan(exp(-eta))

◆ formatPadMaster()

def drawFromPickle.formatPadMaster (   h)

Definition at line 283 of file drawFromPickle.py.

283  def formatPadMaster(h) :
284  h.SetStats(0)
285  h.GetXaxis().CenterTitle()
286  h.GetYaxis().CenterTitle()

◆ midSectorPhi()

def drawFromPickle.midSectorPhi (   sec)

Definition at line 37 of file drawFromPickle.py.

37 def midSectorPhi(sec) : return (sec-1)*sectorDphi # sector N starts from 1

◆ tuple2vec()

def drawFromPickle.tuple2vec (   tpl)

Definition at line 44 of file drawFromPickle.py.

44 def tuple2vec(tpl) : return xyzv(tpl[0], tpl[1], tpl[2])
45 #_________________________________________________

◆ xyFromEtaPhiZ()

def drawFromPickle.xyFromEtaPhiZ (   eta,
  phi,
  z 
)

Definition at line 40 of file drawFromPickle.py.

40 def xyFromEtaPhiZ(eta, phi, z) :
41  theta = eta2theta(eta)
42  r = z*tan(theta)
43  return r*cos(phi), r*sin(phi)

Variable Documentation

◆ atan

drawFromPickle.atan

Definition at line 36 of file drawFromPickle.py.

◆ can

drawFromPickle.can

Definition at line 282 of file drawFromPickle.py.

◆ candidates

drawFromPickle.candidates

Definition at line 271 of file drawFromPickle.py.

◆ cm

drawFromPickle.cm

Definition at line 29 of file drawFromPickle.py.

◆ cm2mm

drawFromPickle.cm2mm

Definition at line 30 of file drawFromPickle.py.

◆ cos

drawFromPickle.cos

Definition at line 36 of file drawFromPickle.py.

◆ exp

drawFromPickle.exp

Definition at line 36 of file drawFromPickle.py.

◆ filename

drawFromPickle.filename

Definition at line 270 of file drawFromPickle.py.

◆ hRangeMax

drawFromPickle.hRangeMax

Definition at line 277 of file drawFromPickle.py.

◆ hRangeMin

drawFromPickle.hRangeMin

Definition at line 277 of file drawFromPickle.py.

◆ IgnoreCommandLineOptions

drawFromPickle.IgnoreCommandLineOptions

Definition at line 21 of file drawFromPickle.py.

◆ mm

drawFromPickle.mm

Definition at line 28 of file drawFromPickle.py.

◆ mm2cm

drawFromPickle.mm2cm

Definition at line 31 of file drawFromPickle.py.

◆ onlyConfirm

drawFromPickle.onlyConfirm

Definition at line 308 of file drawFromPickle.py.

◆ onlyPivot

drawFromPickle.onlyPivot

Definition at line 306 of file drawFromPickle.py.

◆ outputBaseName

drawFromPickle.outputBaseName

Definition at line 272 of file drawFromPickle.py.

◆ padMaster

drawFromPickle.padMaster

Definition at line 294 of file drawFromPickle.py.

◆ padMasterHz

drawFromPickle.padMasterHz

Definition at line 280 of file drawFromPickle.py.

◆ padMasterYx

drawFromPickle.padMasterYx

Definition at line 279 of file drawFromPickle.py.

◆ padMasterZphi

drawFromPickle.padMasterZphi

Definition at line 281 of file drawFromPickle.py.

◆ phiRangeMax

drawFromPickle.phiRangeMax

Definition at line 278 of file drawFromPickle.py.

◆ phiRangeMin

drawFromPickle.phiRangeMin

Definition at line 278 of file drawFromPickle.py.

◆ repv

drawFromPickle.repv

Definition at line 32 of file drawFromPickle.py.

◆ sCan

drawFromPickle.sCan

Definition at line 289 of file drawFromPickle.py.

◆ sectorDphi

drawFromPickle.sectorDphi

Definition at line 35 of file drawFromPickle.py.

◆ sin

drawFromPickle.sin

Definition at line 36 of file drawFromPickle.py.

◆ tan

drawFromPickle.tan

Definition at line 36 of file drawFromPickle.py.

◆ view

drawFromPickle.view

Definition at line 294 of file drawFromPickle.py.

◆ xRangeMax

drawFromPickle.xRangeMax

Definition at line 274 of file drawFromPickle.py.

◆ xRangeMin

drawFromPickle.xRangeMin

Definition at line 274 of file drawFromPickle.py.

◆ xyzv

drawFromPickle.xyzv

Definition at line 33 of file drawFromPickle.py.

◆ yRangeMax

drawFromPickle.yRangeMax

Definition at line 275 of file drawFromPickle.py.

◆ yRangeMin

drawFromPickle.yRangeMin

Definition at line 275 of file drawFromPickle.py.

◆ zRangeMax

drawFromPickle.zRangeMax

Definition at line 276 of file drawFromPickle.py.

◆ zRangeMin

drawFromPickle.zRangeMin

Definition at line 276 of file drawFromPickle.py.

drawFromPickle.tuple2vec
def tuple2vec(tpl)
Definition: drawFromPickle.py:44
drawFromPickle.average
def average(lst)
Definition: drawFromPickle.py:38
drawFromPickle.eta2theta
def eta2theta(eta)
Definition: drawFromPickle.py:39
drawFromPickle.cos
cos
Definition: drawFromPickle.py:36
drawFromPickle.exp
exp
Definition: drawFromPickle.py:36
drawFromPickle.atan
atan
Definition: drawFromPickle.py:36
drawFromPickle.tan
tan
Definition: drawFromPickle.py:36
drawFromPickle.midSectorPhi
def midSectorPhi(sec)
Definition: drawFromPickle.py:37
drawFromPickle.formatPadMaster
def formatPadMaster(h)
Definition: drawFromPickle.py:283
drawFromPickle.sin
sin
Definition: drawFromPickle.py:36
drawFromPickle.xyFromEtaPhiZ
def xyFromEtaPhiZ(eta, phi, z)
Definition: drawFromPickle.py:40