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

Comparing UserCode/Morgan/interface/TRootMCPhoton.h (file contents):
Revision 1.3 by lethuill, Thu Oct 30 16:25:34 2008 UTC vs.
Revision 1.5 by lethuill, Tue Apr 7 17:09:06 2009 UTC

# Line 1 | Line 1
1   #ifndef TRootMCPhoton_h
2   #define TRootMCPhoton_h
3  
4 #include <string>
5 #include <iostream>
4   #include <vector>
5  
6   #include "../interface/TRootParticle.h"
7  
10
8   using namespace std;
9  
10   class TRootMCPhoton : public TRootParticle
# Line 135 | Line 132 | public:
132  
133          std::vector<TLorentzVector> tracks() const  { return tracks_;}
134          Int_t recoPhotonIndex() const  { return recoPhotonIndex_;}
135 +        virtual TString typeName() const { return "TRootMCPhoton"; }
136  
137          void setConvVertex(TVector3 convVertex) { convVertex_=convVertex; }
138          void setConvVertex(Double_t x, Double_t y, Double_t z) { convVertex_.SetXYZ(x, y ,z); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines