1 #ifndef EDepSim_SpillTimeFactory_hh_seen 2 #define EDepSim_SpillTimeFactory_hh_seen 10 namespace EDepSim {
class SpillTimeFactory;}
SpillTimeFactory(EDepSim::UserPrimaryGeneratorMessenger *parent)
G4UIcommand * fBunchPowerCMD
virtual ~SpillTimeFactory()
EDepSim::VTimeGenerator * GetGenerator()
G4UIcmdWithAnInteger * fBunchCountCMD
double fBunchSeparation
The bunch separation.
G4UIcmdWithADoubleAndUnit * fBunchSepCMD
void SetBunchSeparation(double sep)
void SetNewValue(G4UIcommand *, G4String)
Handle messages from the UI processor.
void SetSpillTime(double spillTime)
Construct a module from components.
G4UIcmdWithADoubleAndUnit * fSpillTimeCMD
void SetBunchLength(double length)
G4UIcmdWithADoubleAndUnit * fBunchLengthCMD
void SetBunchCount(int bunchs)
Set the number of bunchs (and reset the bunch power) in a spill.
void SetBunchPower(int bunch, double power)
double fSpillTime
The start time of the spill.
std::vector< double > fBunchPower
The power in each bunch.
def parent(G, child, parent_type)
double fBunchLength
The bunch length.