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 |
|