Fork me on GitHub

Ignore:
Timestamp:
Nov 17, 2008, 11:07:45 PM (16 years ago)
Author:
Xavier Rouby
Message:

first attemp towers CMS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Fastjet/plugins/CDFCones/interface/LorentzVector.hh

    r11 r35  
    3030    return r;
    3131  }
    32   void add(LorentzVector v)
     32  void add(const LorentzVector& v)
    3333  {
    3434    px += v.px;
     
    3737    E  += v.E;
    3838  }
    39   void subtract(LorentzVector v)
     39  void subtract(const LorentzVector& v)
    4040  {
    4141    px -= v.px;
     
    4444    E  -= v.E;
    4545  }
    46   bool isEqual(LorentzVector v)
     46  bool isEqual(const LorentzVector& v)
    4747  {
    4848    return px == v.px && py == v.py && pz == v.pz && E == v.E;
Note: See TracChangeset for help on using the changeset viewer.