00001 #ifndef BDSBunchComposite_h 00002 #define BDSBunchComposite_h 00003 00004 #include "globals.hh" 00005 #include "parser/options.h" 00006 00007 #include "BDSBunchInterface.hh" 00008 00009 class BDSBunchComposite : public BDSBunchInterface { 00010 00011 protected : 00012 BDSBunchInterface *xBunch; 00013 BDSBunchInterface *yBunch; 00014 BDSBunchInterface *zBunch; 00015 00016 public : 00017 BDSBunchComposite(); 00018 ~BDSBunchComposite(); 00019 void SetOptions(struct Options& opt); 00020 void GetNextParticle(G4double& x0, G4double& y0, G4double& z0, 00021 G4double& xp, G4double& yp, G4double& zp, 00022 G4double& t , G4double& E, G4double& weight); 00023 00024 00025 }; 00026 00027 #endif