Public Member Functions | |
BDSBunchInterface () | |
BDSBunchInterface (G4double sigmaT, G4double sigmaE) | |
BDSBunchInterface (G4double X0, G4double Y0, G4double Z0, G4double T0, G4double Xp0, G4double Yp0, G4double Zp0, G4double sigmaT, G4double sigmaE) | |
virtual | ~BDSBunchInterface () |
virtual void | SetOptions (struct Options &opt) |
virtual void | GetNextParticle (G4double &x0, G4double &y0, G4double &z0, G4double &xp, G4double &yp, G4double &zp, G4double &t, G4double &E, G4double &weight) |
G4double | GetX0 () |
G4double | GetY0 () |
G4double | GetZ0 () |
G4double | GetT0 () |
G4double | GetXp0 () |
G4double | GetYp0 () |
G4double | GetZp0 () |
G4double | GetSigmaE () |
G4double | GetSigmaT () |
Protected Member Functions | |
CLHEP::RandMultiGauss * | CreateMultiGauss (CLHEP::HepRandomEngine &anEngine, const CLHEP::HepVector &mu, CLHEP::HepSymMatrix &sigma) |
Create multidimensional Gaussian random number generator. | |
G4double | CalculateZp (G4double xp, G4double yp, G4double Zp0) const |
Protected Attributes | |
G4double | X0 |
G4double | Y0 |
G4double | Z0 |
G4double | T0 |
G4double | Xp0 |
G4double | Yp0 |
G4double | Zp0 |
G4double | sigmaT |
G4double | sigmaE |
Definition at line 15 of file BDSBunchInterface.hh.
CLHEP::RandMultiGauss * BDSBunchInterface::CreateMultiGauss | ( | CLHEP::HepRandomEngine & | anEngine, | |
const CLHEP::HepVector & | mu, | |||
CLHEP::HepSymMatrix & | sigma | |||
) | [protected] |
Create multidimensional Gaussian random number generator.
check if sigma matrix is positive definite if not add small offset and cout warning
Definition at line 76 of file BDSBunchInterface.cc.
Referenced by BDSBunchGaussian::BDSBunchGaussian(), BDSBunchTwiss::CommonConstruction(), and BDSBunchGaussian::SetOptions().
Here is the caller graph for this function: