Changeset 236 in svn for trunk/Utilities/Hector/include
- Timestamp:
- Feb 3, 2009, 2:19:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/include/H_Beam.h
r3 r236 57 57 /// Fills the beam with particles in given position/angle/energy intervals (flat distribution) 58 58 //void particleGun(const unsigned int Number_of_particles, const float E_min, const float E_max, const float fs_min, const float fs_max, const float fx_min, const float fx_max, const float fy_min, const float fy_max, const float tx_min, const float tx_max, const float ty_min, const float ty_max, const float p_mass, const double p_charge); 59 void particleGun(const unsigned int Number_of_particles, const float E_min=BE, const float E_max=BE, const float fs_min=0, const float fs_max=0, const float fx_min=0, const float fx_max=0, const float fy_min=0, const float fy_max=0, const float tx_min=- PI/2., const float tx_max=PI/2., const float ty_min=-PI/2., const float ty_max=PI/2., const float p_mass=MP, const double p_charge=QP, const bool flat = true);59 void particleGun(const unsigned int Number_of_particles, const float E_min=BE, const float E_max=BE, const float fs_min=0, const float fs_max=0, const float fx_min=0, const float fx_max=0, const float fy_min=0, const float fy_max=0, const float tx_min=-pi/2., const float tx_max=pi/2., const float ty_min=-pi/2., const float ty_max=pi/2., const float p_mass=MP, const double p_charge=QP, const bool flat = true); 60 60 61 61 /// Fills the beam with particles … … 185 185 /// Number of particles in this beam 186 186 unsigned int Nparticles; 187 188 static const float pi = 3.14159265358979312; 187 189 }; 188 190
Note:
See TracChangeset
for help on using the changeset viewer.