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.7 by lethuill, Thu Dec 18 18:01:49 2008 UTC vs.
Revision 1.8 by lethuill, Tue Apr 7 17:09:06 2009 UTC

# Line 3 | Line 3
3  
4   #include <string>
5   #include <iostream>
6 + #include <iomanip>
7  
8   #include "Rtypes.h"
9   #include "TLorentzVector.h"
# Line 113 | Line 114 | public:
114  
115          friend std::ostream& operator<< (std::ostream& stream, const TRootParticle& part)
116          {
117 <                stream << "Type=" << part.type_ << "  Charge=" << part.charge_ << " (Et,eta,phi)=("<< part.Et() <<","<< part.Eta() <<","<< part.Phi() << ")"
117 >                stream << "Type=" << part.type_ << "  Charge=" << part.charge_ << " (Et,eta,phi)=("<< setw(10) << part.Et() <<","<< setw(10) << part.Eta() <<","<< setw(10) << part.Phi() << ")"
118                          << " vertex(x,y,z)=("<< part.vx() <<","<< part.vy() <<","<< part.vz() << ")";
119                  return stream;
120          };
# Line 128 | Line 129 | protected:
129          Int_t genParticleIndex_;
130          TRef genParticle_;
131  
132 <        ClassDef (TRootParticle,1);
132 >        ClassDef (TRootParticle,2);
133   };
134  
135   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines