1 #ifndef RecoTauTag_RecoTau_ConeTools_h 2 #define RecoTauTag_RecoTau_ConeTools_h 5 #include <boost/iterator/filter_iterator.hpp> 11 namespace reco {
namespace tau {
namespace cone {
15 template<
class CandType>
21 min2_(min < 0. ? -min*min : min*min),
37 template<
class CandType>
41 double min,
double max): filter_(axis, min, max) {}
42 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)
bool operator()(const CandType &b) const
DeltaRFilter< RecoTauPiZero > PiZeroDRFilter
math::XYZTLorentzVector LorentzVector
Lorentz vector.
T1 deltaR2(T1 eta1, T2 phi1, T3 eta2, T4 phi2)
boost::filter_iterator< PFCandPtrDRFilter, std::vector< PFCandidatePtr >::const_iterator > PFCandPtrDRFilterIter
DeltaRPtrFilter< PFCandidatePtr > PFCandPtrDRFilter
DeltaRFilter< typename CandType::value_type > filter_