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.4 by lethuill, Wed Dec 17 16:23:49 2008 UTC

# Line 3 | Line 3
3  
4   #include <string>
5   #include <iostream>
6 + #include <vector>
7  
8   #include "../interface/TRootParticle.h"
9  
# Line 134 | Line 135 | public:
135  
136          std::vector<TLorentzVector> tracks() const  { return tracks_;}
137          Int_t recoPhotonIndex() const  { return recoPhotonIndex_;}
138 <
138 >        virtual TString typeName() const { return "TRootMCPhoton"; }
139  
140          void setConvVertex(TVector3 convVertex) { convVertex_=convVertex; }
141          void setConvVertex(Double_t x, Double_t y, Double_t z) { convVertex_.SetXYZ(x, y ,z); }
142 <        // TODO - set tracks_...
142 >        void setTracks(std::vector<TLorentzVector> tracks) { tracks_=tracks; }
143          void setRecoPhotonIndex(Int_t recoPhotonIndex) { recoPhotonIndex_=recoPhotonIndex; }
144  
145          
# Line 153 | Line 154 | public:
154   private:
155  
156          TVector3 convVertex_;           // Position of the conversion vertex
157 <        std::vector<TLorentzVector> tracks_;
157 >        std::vector<TLorentzVector> tracks_; // Tracks from the conversion
158          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
159  
160          ClassDef (TRootMCPhoton,1);
161   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines