

Public Member Functions | |
| BDSBunchUserFile () | |
| > number of lines that will be ignored after each particle (default 0) | |
| ~BDSBunchUserFile () | |
| 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) |
Protected Attributes | |
| G4String | distribFile |
| G4String | bunchFormat |
| > bunch file | |
| G4int | nlinesIgnore |
| > the format of the file | |
Private Member Functions | |
| void | ParseFileFormat () |
| void | OpenBunchFile () |
| void | CloseBunchFile () |
| void | skip (G4int nvalues) |
| template<typename Type> | |
| G4bool | ReadValue (Type &value) |
| void | SetDistribFile (G4String filename) |
| void | SetBunchFormat (G4String val) |
| void | SetNLinesIgnore (G4int val) |
| G4double | ParseEnergyUnit (G4String &fmt) |
| G4double | ParseLengthUnit (G4String &fmt) |
| G4double | ParseAngleUnit (G4String &fmt) |
| G4double | ParseTimeUnit (G4String &fmt) |
Private Attributes | |
| std::ifstream | InputBunchFile |
| std::list< struct Doublet > | fields |
Data Structures | |
| struct | Doublet |
Definition at line 8 of file BDSBunchUserFile.hh.
1.4.7