Skip to content

Commit

Permalink
Merge pull request #24308 from Dr15Jones/clangWarningsDataFormatsPart…
Browse files Browse the repository at this point in the history
…icleFlowReco

Removed unused file scope function in DataFormats/ParticleFlowReco
  • Loading branch information
cmsbuild authored Aug 16, 2018
2 parents 829adb7 + 7e4fb6b commit 07a325c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions DataFormats/ParticleFlowReco/src/PFCluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ namespace {
return z - etaMax<Scalar>();
}
}

inline void calculateREP(const math::XYZPoint& pos, double& rho, double& eta, double& phi) {
const double z = pos.z();
rho = pos.Rho();
eta = Eta_FromRhoZ_fast<double>(rho,z);
phi = (pos.x()==0 && pos.y()==0) ? 0 : vdt::fast_atan2(pos.y(), pos.x());
}

}

using namespace std;
Expand Down

0 comments on commit 07a325c

Please sign in to comment.