def __init__(self, name = "tilt no name", angle = 0.): """ Constructor. Creates the Tilt element. """ AccNode.__init__(self,name) self.__angle = angle self.setType("tilt teapot")
def __init__(self, parentNode, trackFunction = None , name = "fringe field no name"): """ Constructor. Creates the Fringe Field element. """ AccNode.__init__(self,name) self.setParamsDict(parentNode.getParamsDict()) self.__trackFunc = trackFunction self.__usage = False self.setType("fringeField teapot")
def __init__(self, name="no name", type_in="bunch tracker"): """ Constructor. Creates an empty bunch tracker accelerator node. """ AccNode.__init__(self, name, type_in)
def __init__(self, name="no name"): AccNode.__init__(self, name) self.setType("end node")