1 #ifndef RecoTauTag_RecoTau_ConeTools_h
2 #define RecoTauTag_RecoTau_ConeTools_h
5 #include <boost/iterator/filter_iterator.hpp>
10 namespace reco {
namespace tau {
namespace cone {
14 template<
class CandType>
20 double deltaR = reco::deltaR<reco::Candidate::LorentzVector>
22 return(deltaR >=
min_ && deltaR <
max_);
31 template<
class CandType>
reco::Candidate::LorentzVector axis_
boost::filter_iterator< PiZeroDRFilter, std::vector< RecoTauPiZero >::const_iterator > PiZeroDRFilterIter
double deltaR(double eta1, double phi1, double eta2, double phi2)
bool operator()(const CandType &b) const
const T & max(const T &a, const T &b)
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.
boost::filter_iterator< PFCandPtrDRFilter, std::vector< PFCandidatePtr >::const_iterator > PFCandPtrDRFilterIter
DeltaRPtrFilter< PFCandidatePtr > PFCandPtrDRFilter
DeltaRFilter< typename CandType::value_type > filter_