Esempio n. 1
0
	def __init__(self, name = "none"):
		"""
		Constructor. Creates the base linac element. This is a superclass for all linac elements.
		"""
		AccNodeBunchTracker.__init__(self,name)
		self.setType("baseLinacNode")
		self.__linacSeqence = None
Esempio n. 2
0
	def __init__(self, name = "none"):
		"""
		Constructor. Creates the base linac element. This is a superclass for all linac elements.
		"""
		AccNodeBunchTracker.__init__(self,name)
		self.setType("baseLinacNode")
		self.__linacSeqence = None
Esempio n. 3
0
	def __init__(self, name = "no name"):
		"""
		Constructor. Creates the base MATRIX element.
		"""
		AccNodeBunchTracker.__init__(self,name)
		self.setType("base matrix")
		self.matrix = Matrix(7,7)
Esempio n. 4
0
	def __init__(self, sc_calculator, name = "no name"):			
		"""
		Constructor. Creates the Space Charge (SC) accelerator node element.
		"""
		AccNodeBunchTracker.__init__(self,name)
		self.setType("SC_Base")
		self.sc_length = 0.
		self.switcher = True
		self.sc_calculator = sc_calculator
Esempio n. 5
0
    def __init__(self, sc_calculator, name="no name"):
        """
		Constructor. Creates the Space Charge (SC) accelerator node element.
		"""
        AccNodeBunchTracker.__init__(self, name)
        self.setType("SC_Base")
        self.sc_length = 0.
        self.switcher = True
        self.sc_calculator = sc_calculator
Esempio n. 6
0
    def __init__(self, name="none"):
        """
		Constructor. Creates the base linac element. This is a superclass for all linac elements.
		"""
        AccNodeBunchTracker.__init__(self, name)
        self.setType("baseLinacNode")
        self.setParam("pos", 0.)
        self.__linacSeqence = None
        # by default we use the TEAPOT tracker module
        self.tracking_module = TPB
	def __init__(self,name = "no_name", type_in = "Base_Error_Controller"):
		AccNodeBunchTracker.__init__(self,name,type_in)
		self.error_controller_params_func = None
Esempio n. 8
0
    def __init__(self, name="no name"):
        """
		Constructor. Creates the base TEAPOT element. This is a superclass for all TEAPOT elements.
		"""
        AccNodeBunchTracker.__init__(self, name)
        self.setType("base teapot")
Esempio n. 9
0
 def __init__(self, spacecharge=0.0, length=0.0):
     AccNodeBunchTracker.__init__(self, name="no name TiltSol Node")
     self.setType("Tilt_EnvSolver")
     self.dLen = length
     self.SC = spacecharge
Esempio n. 10
0
 def __init__(self, dL=0.0, Disp=0.0):
     AccNodeBunchTracker.__init__(self, name="no name BS Node")
     self.setType("Basic_EnvSolver")
     self.dLen = dL
     self.Dispersion = Disp
     self.SC = 0.0
Esempio n. 11
0
	def __init__(self, name = "no name"):
		"""
		Constructor. Creates the base TEAPOT element. This is a superclass for all TEAPOT elements.
		"""
		AccNodeBunchTracker.__init__(self,name)
		self.setType("base teapot")