Changeset 290 in svn for trunk/Utilities/ExRootAnalysis/interface/BlockClasses.h
- Timestamp:
- Mar 3, 2009, 12:48:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/ExRootAnalysis/interface/BlockClasses.h
r278 r290 289 289 //--------------------------------------------------------------------------- 290 290 291 class TRootTracks : public T RootParticle{291 class TRootTracks : public TSortableObject { 292 292 public: 293 293 TRootTracks(); // needed for storage in ExRootAnalysis … … 295 295 TRootTracks(const float inEta, const float inPhi, const float outEta, const float outPhi, const float pt); 296 296 TRootTracks& operator=(const TRootTracks& track); 297 void Set(const float inEta, const float inPhi, const float outEta, const float outPhi, const float pt );297 void Set(const float inEta, const float inPhi, const float outEta, const float outPhi, const float pt, const float charge); 298 298 const TLorentzVector GetFourVector() const; 299 //const float getEta() const {return Eta;}300 //const float getPhi() const {return Phi;}301 //const float getEtaOuter() const {return EtaOuter;}302 //const float getPhiOuter() const {return PhiOuter;}299 const float getEta() const {return Eta;} 300 const float getPhi() const {return Phi;} 301 const float getEtaOuter() const {return EtaOuter;} 302 const float getPhiOuter() const {return PhiOuter;} 303 303 304 304 static TCompare *fgCompare; //! 305 //const TCompare *GetCompare() const { return fgCompare; }306 307 //float Eta, Phi; // (eta,phi) at the beginning of the track305 const TCompare *GetCompare() const { return fgCompare; } 306 307 float Eta, Phi; // (eta,phi) at the beginning of the track 308 308 float EtaOuter, PhiOuter; // (eta,phi) at the end of the track 309 // float PT, E, Px, Py, Pz; // transverse momentum 309 float PT, E, Px, Py, Pz; // transverse momentum 310 float Charge; 310 311 ClassDef(TRootTracks, 1) 311 312 }; … … 352 353 public: 353 354 TRootTauJet() {}; 355 float Charge; // normally, using the charge of the track ; here using gen-level tau charge 354 356 355 357 // float E; // particle energy in GeV
Note:
See TracChangeset
for help on using the changeset viewer.