16 #include "boost/bind.hpp"
61 cut_(iConfig.existsAs<
std::
string>(
"cut") ? iConfig.getParameter<
std::
string>(
"cut") :
""),
62 filter_(iConfig.existsAs<
bool>(
"filter") ? iConfig.getParameter<
bool>(
"filter") :
false),
63 sortDescendingBy_(iConfig.existsAs<
std::
string>(
"sortDescendingBy")
64 ? iConfig.getParameter<
std::
string>(
"sortDescendingBy")
66 sortFunction_(!sortDescendingBy_.
empty() ? sortDescendingBy_ :
"pt"),
67 maxProbes_(iConfig.existsAs<int32_t>(
"maxProbes") ? iConfig.getParameter<int32_t>(
"maxProbes") : -1),
68 probeFiller_(new
tnp::BaseTreeFiller(
"probe_tree", iConfig, consumesCollector())) {}
80 typedef std::pair<reco::CandidateBaseRef, double> Pair;
81 std::vector<Pair> selectedProbes;
82 for (
size_t i = 0;
i < probes->
size(); ++
i) {