ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Jeng/PVStudy/src/TrackHigherPt.cc
Revision: 1.1
Committed: Thu Oct 8 14:53:43 2009 UTC (15 years, 7 months ago) by yygao
Content type: text/plain
Branch: MAIN
CVS Tags: CMSSW_3_6_1_patch3_May27thReReco, CMSSW_3_5_8_patch3_May6thReReco, PASPlot_27Feb2010, CMSSW_3_3_6_patch3_Dec19thReReco, V00-01-01, V00-01-00, CMSSW_3_1_2_PileUp_v2, CMSSW_3_1_2_PileUp_v1, V00-00-00, CMSSW_3_1_2_20091015, CMSSW_3_1_2_Yanyan, HEAD
Branch point for: CMSSW_3_1_2_RecoVtxMatch
Log Message:
Add sorting tracks according to pT module

File Contents

# User Rev Content
1 yygao 1.1 #include "UserCode/PVStudy/interface/TrackHigherPt.h"
2    
3     using namespace reco;
4    
5    
6     bool
7     TrackHigherPt::operator() ( const Track & t1,
8     const Track & t2) const
9     {
10     return (t1.pt() > t2.pt());
11     }