1 #ifndef ConversionTrackPairFinder_H 2 #define ConversionTrackPairFinder_H 34 return a.impactPointState().globalMomentum().perp() >
b.impactPointState().globalMomentum().perp();
39 bool operator()(
const std::vector<reco::TransientTrack>&
a,
const std::vector<reco::TransientTrack>&
b)
const {
40 return (
a[0].impactPointState().globalMomentum().
perp() >
b[0].impactPointState().globalMomentum().
perp());
51 const std::vector<reco::TransientTrack>& outIn,
54 const std::vector<reco::TransientTrack>& inOut,
62 if (
a.numberOfValidHits() ==
b.numberOfValidHits()) {
63 return a.normalizedChi2() <
b.normalizedChi2();
65 return a.numberOfValidHits() >
b.numberOfValidHits();
71 #endif // ConversionTrackPairFinder_H bool operator()(const reco::TransientTrack &a, const reco::TransientTrack &b) const
ConversionTrackPairFinder()
~ConversionTrackPairFinder()
edm::Ptr< CaloCluster > CaloClusterPtr
bool operator()(reco::TransientTrack const &a, reco::TransientTrack const &b)
T perp() const
Magnitude of transverse component.
bool operator()(const std::vector< reco::TransientTrack > &a, const std::vector< reco::TransientTrack > &b) const
std::map< std::vector< reco::TransientTrack >, reco::CaloClusterPtr, CompareTwoTracksVectors > run(const std::vector< reco::TransientTrack > &outIn, const edm::Handle< reco::TrackCollection > &outInTrkHandle, const edm::Handle< reco::TrackCaloClusterPtrAssociation > &outInTrackSCAssH, const std::vector< reco::TransientTrack > &inOut, const edm::Handle< reco::TrackCollection > &inOutTrkHandle, const edm::Handle< reco::TrackCaloClusterPtrAssociation > &inOutTrackSCAssH)