CMS 3D CMS Logo

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

Functions

def AddPhysObj
 
def AddPhysObjAndCallInit
 
def decorate
 

Function Documentation

def FastObjects.AddPhysObj (   x)

Definition at line 2 of file FastObjects.py.

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

Definition at line 5 of file FastObjects.py.

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

Definition at line 11 of file FastObjects.py.

Referenced by timeout.timed_out().

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