28 #ifndef OPAL_MULTI_BUNCH_HANDLER_H
29 #define OPAL_MULTI_BUNCH_HANDLER_H
53 :
time(injection.time)
106 const std::string&
mode,
107 const std::string& binning);
121 bool& flagTransition);
125 void setMode(
const std::string& mbmode);
void setMode(const std::string &mbmode)
short numBunch_m
The number of bunches specified in TURNS of RUN command.
void saveBunch(PartBunchBase< double, 3 > *beam)
short injectBunch(PartBunchBase< double, 3 > *beam, const PartData &ref, bool &flagTransition)
short getNumBunch() const
void setNumBunch(short n)
std::vector< beaminfo_t > binfo_m
injection_t & getInjectionValues()
bool readBunch(PartBunchBase< double, 3 > *beam, const PartData &ref)
if write to the Free Software Temple MA USA Also add information on how to contact you by electronic and paper mail If the program is make it output a short notice like this when it starts in an interactive mode
void updateTime(const double &dt)
bool calcBunchBeamParameters(PartBunchBase< double, 3 > *beam, short bunchNr)
MultiBunchBinning binning_m
beaminfo_t & getBunchInfo(short bunchNr)
MultiBunchHandler(PartBunchBase< double, 3 > *beam, const int &numBunch, const double &eta, const double ¶, const std::string &mode, const std::string &binning)
void setRadiusTurns(const double &radius)
void setBinning(const std::string &binning)
void updateParticleBins(PartBunchBase< double, 3 > *beam)
void updatePathLength(const std::vector< double > &lpaths)
long unsigned int nParticles