ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MPIAnalyzer/src/TCMET.h
Revision: 1.1
Committed: Mon Dec 6 19:34:37 2010 UTC (14 years, 5 months ago) by naodell
Content type: text/plain
Branch: MAIN
Log Message:
Class for storage of MET variables.

File Contents

# User Rev Content
1 naodell 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     class TCMET : public TObject {
16     private:
17    
18     double _sumEt;
19     double _met;
20     double _phi;
21     double _photonEtFraction;
22     double _electronEtFraction;
23     double _muonEtFraction;
24     double _neutralHadronEtFraction;
25     double _chargedHadronEtFraction;
26     double _hfEMEtFraction;
27     double _hfHadronEtFraction;
28    
29     public:
30     TCMET();
31     TCMET(const TCMET& orig);
32     virtual ~TCMET();
33    
34     // "get" methods -----------
35    
36     double SumEt() const;
37     double Met() const;
38     double Phi() const;
39     double PhotonEtFraction() const;
40     double ElectronEtFraction() const;
41     double MuonEtFraction() const;
42     double NeutralHadronEtFraction() const;
43     double ChargedHadronEtFraction() const;
44     double HFEMEtFraction() const;
45     double HFHadronEtFraction() const;
46    
47     // "set" methods ---------
48    
49     void SetSumEt(double n);
50     void SetMet(double n);
51     void SetPhi(double n);
52     void SetPhotonEtFraction(double n);
53     void SetElectronEtFraction(double n);
54     void SetMuonEtFraction(double n);
55     void SetNeutralHadronEtFraction(double n);
56     void SetChargedHadronEtFraction(double n);
57     void SetHFEMEtFraction(double n);
58     void SetHFHadronEtFraction(double n);
59    
60     ClassDef(TCMET, 1);
61    
62     };
63    
64     #endif /* _TCMET_H */
65