1 #ifndef RecoTauTag_RecoTau_ConeTools_h 2 #define RecoTauTag_RecoTau_ConeTools_h 5 #include <boost/iterator/filter_iterator.hpp> 14 template<
class CandType>
20 min2_(min < 0. ? -min*min : min*min),
36 template<
class CandType>
40 double min,
double max): filter_(axis, min, max) {}
41 bool operator()(
const CandType&
b)
const {
return filter_(*b); }
DeltaRFilter< PFRecoTauChargedHadron > ChargedHadronDRFilter
boost::filter_iterator< PiZeroDRFilter, std::vector< RecoTauPiZero >::const_iterator > PiZeroDRFilterIter
boost::filter_iterator< ChargedHadronDRFilter, std::vector< PFRecoTauChargedHadron >::const_iterator > ChargedHadronDRFilterIter
bool operator()(const CandType &b) const
DeltaRPtrFilter(const reco::Candidate::LorentzVector &axis, double min, double max)
DeltaRFilter(const reco::Candidate::LorentzVector &axis, double min, double max)
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
bool operator()(const CandType &b) const
DeltaRFilter< RecoTauPiZero > PiZeroDRFilter
math::XYZTLorentzVector LorentzVector
Lorentz vector.
boost::filter_iterator< PFCandPtrDRFilter, std::vector< PFCandidatePtr >::const_iterator > PFCandPtrDRFilterIter
DeltaRPtrFilter< PFCandidatePtr > PFCandPtrDRFilter
DeltaRFilter< typename CandType::value_type > filter_