2 from PhysicsTools.Heppy.physicsobjects.Particle
import Particle
5 '''Wrapper to particle-like C++ objects.'''
12 '''Very dirty trick, the physObj is deepcopied...'''
13 physObj = copy.deepcopy( self.
physObj )
14 newone = type(self)(physObj)
15 newone.__dict__.update(self.__dict__)
16 newone.physObj = physObj
26 '''Makes all attributes and methods of the wrapped physObj
27 directly available.'''
28 return getattr(self.
physObj, name)