Exemple #1
0
    def __init__(self, energy_in_GeV, energy_spread, current, electrons_per_bunch,
                 moment_xx, moment_xxp, moment_xpxp,
                 moment_yy, moment_yyp, moment_ypyp):

        DriverSettingManager.__init__(self)

        self._energy_in_GeV       = energy_in_GeV
        #self.__info_energy_in_GeV = {"unit" : "GeV", "help" : "Photon energy"}
        #self.addInfo("energy_in_GeV", "GeV", "Photon energy")
        #self.addInfo(self._energy_in_GeV, "GeV", "Photon energy")

        self._energy_spread       = energy_spread
        self._current             = current
        self._electrons_per_bunch = electrons_per_bunch

        self._moment_xx           = moment_xx
        self._moment_xxp          = moment_xxp
        self._moment_xpxp         = moment_xpxp
        self._moment_yy           = moment_yy
        self._moment_yyp          = moment_yyp
        self._moment_ypyp         = moment_ypyp
 def __init__(self):
     DriverSettingManager.__init__(self)
 def __init__(self, name):
     self._name = name
     DriverSettingManager.__init__(self)