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.1 by mlethuil, Wed Jul 2 16:22:18 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  
9
8   using namespace std;
9  
10   class TRootMCPhoton : public TRootParticle
# Line 134 | Line 132 | public:
132  
133          std::vector<TLorentzVector> tracks() const  { return tracks_;}
134          Int_t recoPhotonIndex() const  { return recoPhotonIndex_;}
135 <
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); }
139 <        // TODO - set tracks_...
139 >        void setTracks(std::vector<TLorentzVector> tracks) { tracks_=tracks; }
140          void setRecoPhotonIndex(Int_t recoPhotonIndex) { recoPhotonIndex_=recoPhotonIndex; }
141  
142          
# Line 153 | Line 151 | public:
151   private:
152  
153          TVector3 convVertex_;           // Position of the conversion vertex
154 <        std::vector<TLorentzVector> tracks_;
154 >        std::vector<TLorentzVector> tracks_; // Tracks from the conversion
155          Int_t recoPhotonIndex_;         // Index of first conversion track (in tracks TCloneArray)
158        
159        
160        //Float_t convEoverP_;          // SuperCluster Energy over Conversion track(s) Momentum
161        //Float_t convPtOverEt_;                // Conversion tracks pair Pt over SuperCluster Et
162        //Float_t convMass_;                    // Conversion tracks pair invariant mass
163        //Float_t convCotanTheta_;              // Cotan(Theta) of conversion tracks pair
156  
157          ClassDef (TRootMCPhoton,1);
158   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines