1 |
bpollack |
1.1 |
/*
|
2 |
|
|
* File: TCMET.h
|
3 |
|
|
* Author: Anton A.
|
4 |
|
|
*
|
5 |
|
|
* Created on April 30, 2010, 2:49 PM
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
#ifndef _TCMET_H
|
9 |
|
|
#define _TCMET_H
|
10 |
|
|
|
11 |
|
|
#include "TObject.h"
|
12 |
|
|
#include "TLorentzVector.h"
|
13 |
|
|
#include "TVector2.h"
|
14 |
|
|
|
15 |
bpollack |
1.2 |
class TCMET : public TVector2 {
|
16 |
bpollack |
1.1 |
private:
|
17 |
|
|
|
18 |
|
|
TVector2 _genMET;
|
19 |
|
|
|
20 |
|
|
float _sumEt;
|
21 |
|
|
float _muonFraction;
|
22 |
|
|
float _neutralHadronFraction;
|
23 |
|
|
float _neutralEMFraction;
|
24 |
|
|
float _chargedHadronFraction;
|
25 |
|
|
float _chargedEMFraction;
|
26 |
|
|
|
27 |
|
|
public:
|
28 |
|
|
TCMET();
|
29 |
|
|
virtual ~TCMET();
|
30 |
|
|
|
31 |
|
|
// "get" methods -----------
|
32 |
|
|
|
33 |
|
|
float SumEt() const;
|
34 |
|
|
float MuonFraction() const;
|
35 |
|
|
float NeutralHadronFraction() const;
|
36 |
|
|
float NeutralEMFraction() const;
|
37 |
|
|
float ChargedHadronFraction() const;
|
38 |
|
|
float ChargedEMFraction() const;
|
39 |
|
|
|
40 |
|
|
// "set" methods ---------
|
41 |
|
|
|
42 |
|
|
void SetSumEt(float n);
|
43 |
|
|
void SetMuonFraction(float n);
|
44 |
|
|
void SetNeutralHadronFraction(float n);
|
45 |
|
|
void SetNeutralEMFraction(float n);
|
46 |
|
|
void SetChargedHadronFraction(float n);
|
47 |
|
|
void SetChargedEMFraction(float n);
|
48 |
|
|
|
49 |
|
|
ClassDef(TCMET, 1);
|
50 |
|
|
|
51 |
|
|
};
|
52 |
|
|
|
53 |
|
|
#endif /* _TCMET_H */
|
54 |
|
|
|