CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
FastObjects Namespace Reference

Functions

def AddPhysObj (x)
 
def AddPhysObjAndCallInit (x)
 
def decorate (orig, deco)
 

Function Documentation

def FastObjects.AddPhysObj (   x)

Definition at line 2 of file FastObjects.py.

2 def AddPhysObj(x):
3  x.physObj = x
4  return x
def AddPhysObj(x)
Definition: FastObjects.py:2
def FastObjects.AddPhysObjAndCallInit (   x)

Definition at line 5 of file FastObjects.py.

6  x.physObj = x
7  x._physObjInit()
8  return x
9 
10 
def AddPhysObjAndCallInit(x)
Definition: FastObjects.py:5
def FastObjects.decorate (   orig,
  deco 
)

Definition at line 11 of file FastObjects.py.

Referenced by timeout.timed_out().

11 def decorate(orig,deco):
12  for b in deco.__bases__ :
13  decorate(orig,b)
14  for m in deco.__dict__ :
15  if m[0] != "_" or m[1] != "_" :
16  setattr(orig,m,deco.__dict__[m])
17  #print m
18 
19 
20 #$ef decorate(oldstyle):
21 # cmssw=eval("ROOT.pat.%s"%oldstyle.__name__)
22 # for ty in tuple([oldstyle])+oldstyle.__bases__:
23 # print ty
24 # for m in ty.__dict__ :
25 # if m[0] != "_" or m[1] != "_":
26 # setattr(cmssw,m,ty.__dict__[m])
27 # print m
28 
29 # decorate(o)
30 # o=AddPhysObj
31 
def decorate(orig, deco)
Definition: FastObjects.py:11