ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/devildog/SWonAnalysis3/Thesis/src/TGenMET.h
Revision: 1.2
Committed: Wed Jun 15 22:12:56 2011 UTC (13 years, 10 months ago) by devildog
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -1 lines
Error occurred while calculating annotation data.
Log Message:
Removed custom copy constructor

File Contents

# Content
1 /*
2 * File: TGenMET.h
3 * Author: S. Won
4 */
5
6 #ifndef _TGenMET_H
7 #define _TGenMET_H
8
9 #include "TObject.h"
10 #include "TLorentzVector.h"
11 #include "TVector2.h"
12 #include "TVector3.h"
13
14 class TGenMET : public TObject {
15 private:
16 TVector3 _position;
17 TLorentzVector _p4;
18 bool isMC_;
19
20 public:
21 TGenMET();
22 virtual ~TGenMET();
23
24 TVector3 Position() const;
25 TLorentzVector P4() const;
26 TVector2 P2() const;
27 float Et() const;
28 float Pt() const;
29 bool isMC() {return isMC_;}
30
31 // "set" methods ---------
32 void SetPosition(float x, float y, float z);
33 void SetP4(TLorentzVector p4);
34 void SetP4(float px, float py, float pz, float e);
35 void SetisMC(bool set_is_mc) {isMC_ = set_is_mc;}
36
37 ClassDef(TGenMET, 1);
38
39 };
40
41 #endif /* _TCJET_H */
42