Changeset 216 in svn for trunk/Utilities/Hector/include/H_BeamParticle.h
- Timestamp:
- Feb 2, 2009, 12:26:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/include/H_BeamParticle.h
r3 r216 46 46 H_BeamParticle(const double, const double); 47 47 H_BeamParticle& operator=(const H_BeamParticle&); 48 ~H_BeamParticle() {if(stop_position) delete stop_position; if(!stop_element) delete stop_element; positions.clear(); return;}48 ~H_BeamParticle() {if(stop_position) delete stop_position; if(!stop_element) delete stop_element; positions.clear();} 49 49 //@} 50 50 /// Smears the (x,y) coordinates of the particle [\f$ \mu m \f$] … … 112 112 void propagate(const H_AbstractBeamLine *, const H_OpticalElement *); 113 113 /// Propagates the particle accross the beamline until a given element 114 void propagate(const H_AbstractBeamLine *, const string );114 void propagate(const H_AbstractBeamLine *, const string&); 115 115 /// Propagates the particle until the end of the beamline 116 116 void propagate(const H_AbstractBeamLine *);
Note:
See TracChangeset
for help on using the changeset viewer.