Fork me on GitHub

Ignore:
Timestamp:
Feb 2, 2009, 12:26:00 PM (16 years ago)
Author:
Xavier Rouby
Message:

passing all objects as references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/include/H_AbstractBeamLine.h

    r3 r216  
    6767                const TMatrix getPartialMatrix(const unsigned int ) const;
    6868                ///     Returns the transport matrix for a part of the beam from the IP to a given element, given energy loss/mass/charge
    69                 const TMatrix getPartialMatrix(const string, const float, const float, const float);
     69                const TMatrix getPartialMatrix(const string&, const float, const float, const float);
    7070                ///     Returns the ith element of the beamline
    7171                //@{
     
    7575                ///     Returns a given element of the beamline, choosen by name
    7676                //@{
    77                 H_OpticalElement * getElement(const string );
    78                 H_OpticalElement * getElement(const string ) const;
     77                H_OpticalElement * getElement(const string& );
     78                H_OpticalElement * getElement(const string& ) const;
    7979                //@}
    8080                ///     Print some info
     
    9999                void drawY(const float, const float) const;
    100100                ///     Moves an element in the list, reorders the lists and recomputes the transport matrix
    101                 void moveElement(const string, const float );
     101                void moveElement(const string&, const float );
    102102                /// Moves the given element tranversely by given amounts.
    103                 void alignElement(const string, const float, const float);
     103                void alignElement(const string&, const float, const float);
    104104                /// Tilts the given element tranversely by given angles.
    105                 void tiltElement(const string, const float, const float);
     105                void tiltElement(const string&, const float, const float);
    106106                ///     Offsets all element in X pos from the start position
    107107                void offsetElements(const float start, const float offset);
Note: See TracChangeset for help on using the changeset viewer.