ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCGenJet.h
(Generate patch)

Comparing UserCode/PollackPrograms/src/TCGenJet.h (file contents):
Revision 1.1 by bpollack, Tue Jul 24 20:24:55 2012 UTC vs.
Revision 1.2 by bpollack, Wed Feb 20 21:39:43 2013 UTC

# Line 1 | Line 1
1   /*
2   * File:   TCGenJet.h
3 < * Author: Nate 0.
3 > * Author: Nate 0oooo).
4   *
5   * Created on Nov 29, 2010, 1_39 PM
6   */
# Line 8 | Line 8
8   #ifndef _TCGENJET_H
9   #define _TCGENJET_H
10  
11 + #include <iostream>
12   #include "TObject.h"
13   #include "TLorentzVector.h"
14 < #include "TVector2.h"
14 > #include "TCPhysObject.h"
15  
16 < class TCGenJet : public TLorentzVector {
16 > class TCGenJet : public TCPhysObject {
17   private:
18      TLorentzVector _progenitorP4;
18    TVector3 _vtx;
19    //    TVector3 _assocPV;
19  
20      float _hadEnergy;
21      float _emEnergy;
# Line 34 | Line 33 | public:
33      // "get" methods -----------
34  
35      TLorentzVector ProgenitorP4() const;
37    TVector2 P2() const;
36  
37      float HadEnergy() const;
38      float EmEnergy() const;
# Line 44 | Line 42 | public:
42      unsigned int NumConstit() const;
43      unsigned int NumChPart() const;
44  
47    TVector3 Vtx() const;
48    //    TVector3 AssocVtx() const;
49
45      // "set" methods ---------
46 +
47      void SetProgenitorP4(TLorentzVector p4);
52    void SetVtx(float vx, float vy, float vz);
53    //  void SetAssocVtx(float vx, float vy, float vz);
48  
49      void SetHadEnergy(float h);
50      void SetEmEnergy(float e);
# Line 61 | Line 55 | public:
55      void SetJetFlavor(int f);
56  
57      ClassDef(TCGenJet, 1);
64
58   };
59  
60   #endif  /* _TCGENJET_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines