Fork me on GitHub

Changeset 437 in svn for trunk/Utilities/Hector


Ignore:
Timestamp:
Jun 17, 2009, 10:59:38 PM (16 years ago)
Author:
Xavier Rouby
Message:

cleaning for avoiding some harmless compilation warning

Location:
trunk/Utilities/Hector/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Hector/src/H_Aperture.cc

    r281 r437  
    7474}
    7575
    76 bool H_Aperture::isInside(const float x, const float y) const {
     76bool H_Aperture::isInside(const float , const float ) const {
    7777        /// @param x, y are the (x,y) coordinates of the proton, in [m]
    7878        //cout << "aperture::isInside" << endl;
  • trunk/Utilities/Hector/src/H_Drift.cc

    r281 r437  
    4343}
    4444
    45 void H_Drift::setMatrix(const float eloss, const float p_mass, const float p_charge) {
     45//void H_Drift::setMatrix(const float eloss, const float p_mass, const float p_charge) {
     46void H_Drift::setMatrix(const float , const float , const float ) {
    4647        element_mat = driftmat(element_length);
    4748        return ;
  • trunk/Utilities/Hector/src/H_Marker.cc

    r281 r437  
    3939}
    4040
    41 void H_Marker::setMatrix(const float eloss, const float p_mass, const float p_charge) {
     41//void H_Marker::setMatrix(const float eloss, const float p_mass, const float p_charge) {
     42void H_Marker::setMatrix(const float , const float , const float ) {
    4243                element_mat = driftmat(0);
    4344        return ;
  • trunk/Utilities/Hector/src/H_RecRPObject.cc

    r400 r437  
    330330}
    331331
    332 float H_RecRPObject::getE(int a) {
     332float H_RecRPObject::getE(int ) {
    333333// put for backward compatibility
    334334        if(energy==NOT_YET_COMPUTED) { computeAll(); };
  • trunk/Utilities/Hector/src/H_RectangularCollimator.cc

    r281 r437  
    5454}
    5555
    56 void H_RectangularCollimator::setMatrix(const float eloss, const float p_mass, const float p_charge) {
     56//void H_RectangularCollimator::setMatrix(const float eloss, const float p_mass, const float p_charge) {
     57void H_RectangularCollimator::setMatrix(const float , const float , const float ) {
    5758        element_mat = driftmat(element_length);
    5859        return ;
Note: See TracChangeset for help on using the changeset viewer.