Skip to content

Commit

Permalink
Merged SpeedPFC81 from repository VinInn
Browse files Browse the repository at this point in the history
  • Loading branch information
VinInn committed Apr 12, 2016
2 parents e8ef740 + b98c23e commit ccc64b0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DataFormats/ParticleFlowReco/src/PFRecHit.cc
Expand Up @@ -14,7 +14,7 @@ namespace {
inline Scalar Eta_FromRhoZ_fast(Scalar rho, Scalar z) {
using namespace ROOT::Math;
// value to control Taylor expansion of sqrt
constexpr Scalar big_z_scaled =
const Scalar big_z_scaled =
std::pow(std::numeric_limits<Scalar>::epsilon(),static_cast<Scalar>(-.25));
if (rho > 0) {
Scalar z_scaled = z/rho;
Expand Down
Expand Up @@ -119,8 +119,6 @@ produce(edm::Event& e, const edm::EventSetup& es) {

association_out->shrink_to_fit();

// std::cout << "ass " << association_out->size() << std::endl;

e.put(std::move(association_out));
e.put(std::move(clusters_out));
}
Expand Down
Expand Up @@ -115,7 +115,6 @@ findSeeds( const edm::Handle<reco::PFRecHitCollection>& input,
}
}

// auto ns = std::count(seedable.begin(),seedable.end(),true);
// std::cout << "seeds " << ns << std::endl;
LogDebug("LocalMaximumSeedFinder") << " found " << std::count(seedable.begin(),seedable.end(),true) << " seeds";

}

0 comments on commit ccc64b0

Please sign in to comment.