ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/DataStruct/interface/SimpleLepton.h
(Generate patch)

Comparing UserCode/MitHzz4l/DataStruct/interface/SimpleLepton.h (file contents):
Revision 1.5 by khahn, Thu May 10 22:36:11 2012 UTC vs.
Revision 1.6 by khahn, Sun Jun 3 16:14:32 2012 UTC

# Line 36 | Line 36 | class SimpleLepton {
36    unsigned scID;
37  
38    SelectionStatus status;
39 +
40 +  bool fsrRecoveryAttempted;
41    
42 <  inline void print() { std::cout <<
43 <      "type: " << type << "\t"
42 >  inline void print() {
43 >    std::cout <<
44 >      "type: " << type << "\t"  
45        "pt: " << vec.Pt() << "\t"
46 <      "eta: " << vec.Eta() << std::endl;
46 >      "eta: " << vec.Eta() << "\t"
47 >      "index: " << index  << std::endl;
48    }
49    static bool lep_pt_sort( const SimpleLepton &l1,  const SimpleLepton &l2 ) {
50      if( l1.vec.Pt() > l2.vec.Pt() ) return true;
51                  else return false;
52    };
53 +  static bool lep_reversept_sort( const SimpleLepton &l1,  const SimpleLepton &l2 ) {
54 +    if( l1.vec.Pt() < l2.vec.Pt() ) return true;
55 +                else return false;
56 +  };
57  
58   };
59  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines