ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCMET.h
Revision: 1.1
Committed: Tue Jul 24 20:24:57 2012 UTC (12 years, 9 months ago) by bpollack
Content type: text/plain
Branch: MAIN
Log Message:
adding a cleaned-up analyzer for 2012

File Contents

# User Rev Content
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     class TCMET : public TObject {
16     private:
17    
18     TVector2 _genMET;
19    
20     float _sumEt;
21     float _met;
22     float _phi;
23     float _corSumEt;
24     float _corMet;
25     float _corPhi;
26     float _muonFraction;
27     float _neutralHadronFraction;
28     float _neutralEMFraction;
29     float _chargedHadronFraction;
30     float _chargedEMFraction;
31    
32     public:
33     TCMET();
34     virtual ~TCMET();
35    
36     // "get" methods -----------
37    
38     float SumEt() const;
39     float Met() const;
40     float Phi() const;
41     float CorrectedSumEt() const;
42     float CorrectedMet() const;
43     float CorrectedPhi() const;
44     float MuonFraction() const;
45     float NeutralHadronFraction() const;
46     float NeutralEMFraction() const;
47     float ChargedHadronFraction() const;
48     float ChargedEMFraction() const;
49    
50     // "set" methods ---------
51    
52     void SetSumEt(float n);
53     void SetMet(float n);
54     void SetPhi(float n);
55     void SetCorrectedSumEt(float n);
56     void SetCorrectedMet(float n);
57     void SetCorrectedPhi(float n);
58     void SetMuonFraction(float n);
59     void SetNeutralHadronFraction(float n);
60     void SetNeutralEMFraction(float n);
61     void SetChargedHadronFraction(float n);
62     void SetChargedEMFraction(float n);
63    
64     ClassDef(TCMET, 1);
65    
66     };
67    
68     #endif /* _TCMET_H */
69