Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

#include <algorithm>

#include "DataFormats/JetReco/interface/FFTJetProducerSummary.h"

namespace reco {
  FFTJetProducerSummary::FFTJetProducerSummary(const std::vector<double>& thresholds,
                                               const std::vector<unsigned>& levelOccupancy,
                                               const math::XYZTLorentzVector& unclustered,
                                               const std::vector<CandidatePtr>& constituents,
                                               double unused,
                                               double minScale,
                                               double maxScale,
                                               double scaleUsed,
                                               unsigned preclustersFound,
                                               unsigned iterationsPerformed,
                                               bool converged)
      : levelOccupancy_(levelOccupancy),
        unclustered_(unclustered),
        unclusConstituents_(constituents),
        unused_(unused),
        minScale_(minScale),
        maxScale_(maxScale),
        scaleUsed_(scaleUsed),
        preclustersFound_(preclustersFound),
        iterationsPerformed_(iterationsPerformed),
        converged_(converged) {
    thresholds_.resize(thresholds.size());
    std::copy(thresholds.begin(), thresholds.end(), thresholds_.begin());
  }
}  // namespace reco