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

Comparing UserCode/Morgan/interface/TRootParticle.h (file contents):
Revision 1.1 by mlethuil, Mon May 19 16:12:13 2008 UTC vs.
Revision 1.4 by lethuill, Wed Nov 19 19:03:16 2008 UTC

# Line 7 | Line 7
7   #include "Rtypes.h"
8   #include "TLorentzVector.h"
9   #include "TVector3.h"
10 + #include "TRef.h"
11  
12   using namespace std;
13  
14   class TRootParticle : public TLorentzVector
15   {
16 <        
16 >
17   public:
18          
19          TRootParticle() : TLorentzVector(), vertex_(), type_(0), charge_(0.) {;}
# Line 30 | Line 31 | public:
31          Int_t type() const  { return type_; }
32          Float_t charge() const  { return charge_; }
33  
34 <        // FIXME setVx, setVy and setVz must modify the TLorentzVector
34 >        // FIXME setVx, setVy and setVz must modify the TLorentzVector ?
35          void setVx(Double_t vx) { vertex_.SetX(vx); }
36          void setVy(Double_t vy) { vertex_.SetY(vy); }
37          void setVz(Double_t vz) { vertex_.SetZ(vz); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines