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.2 by mlethuil, Mon Jul 7 15:02:34 2008 UTC

# Line 135 | Line 135 | public:
135          std::vector<TLorentzVector> tracks() const  { return tracks_;}
136          Int_t recoPhotonIndex() const  { return recoPhotonIndex_;}
137  
138
138          void setConvVertex(TVector3 convVertex) { convVertex_=convVertex; }
139          void setConvVertex(Double_t x, Double_t y, Double_t z) { convVertex_.SetXYZ(x, y ,z); }
140 <        // TODO - set tracks_...
140 >        void setTracks(std::vector<TLorentzVector> tracks) { tracks_=tracks; }
141          void setRecoPhotonIndex(Int_t recoPhotonIndex) { recoPhotonIndex_=recoPhotonIndex; }
142  
143          
# Line 153 | Line 152 | public:
152   private:
153  
154          TVector3 convVertex_;           // Position of the conversion vertex
155 <        std::vector<TLorentzVector> tracks_;
155 >        std::vector<TLorentzVector> tracks_; // Tracks from the conversion
156          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
157  
158          ClassDef (TRootMCPhoton,1);
159   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines