ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/CaloMet.h
Revision: 1.1
Committed: Wed Sep 10 17:08:58 2008 UTC (16 years, 7 months ago) by ksung
Content type: text/plain
Branch: MAIN
Log Message:
Introduce CaloMet class

File Contents

# User Rev Content
1 ksung 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: Met.h,v 1.3 2008/07/16 10:00:58 bendavid Exp $
3     //
4     // CaloMet
5     //
6     // Details to be worked out...
7     //
8     // Authors: K.Sung
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef DATATREE_CALOMET_H
12     #define DATATREE_CALOMET_H
13    
14     #include "MitAna/DataTree/interface/Met.h"
15    
16     namespace mithep
17     {
18     class CaloMet : public Met
19     {
20     public:
21     CaloMet() : Met(0,0) {}
22     CaloMet(Double_t mex, Double_t mey) : Met(mex,mey) {}
23     ~CaloMet() {}
24    
25     Double_t MaxEtInEmTowers() const { return fMaxEtInEmTowers; }
26     Double_t MaxEtInHadTowers() const { return fMaxEtInHadTowers; }
27     Double_t EtFractionHadronic() const { return fEtFractionHadronic; }
28     Double_t EmEtFraction() const { return fEmEtFraction; }
29     Double_t HadEtInHB() const { return fHadEtInHB; }
30     Double_t HadEtInHO() const { return fHadEtInHO; }
31     Double_t HadEtInHE() const { return fHadEtInHE; }
32     Double_t HadEtInHF() const { return fHadEtInHF; }
33     Double_t EmEtInEB() const { return fEmEtInEB; }
34     Double_t EmEtInEE() const { return fEmEtInEE; }
35     Double_t EmEtInHF() const { return fEmEtInHF; }
36     Double_t MetSignificance() const { return fMetSignificance; }
37     Double_t CaloSumEtInpHF() const { return fCaloSumEtInpHF; }
38     Double_t CaloSumEtInmHF() const { return fCaloSumEtInmHF; }
39     Double_t CaloMetInpHF() const { return fCaloMetInpHF; }
40     Double_t CaloMetInmHF() const { return fCaloMetInmHF; }
41     Double_t CaloMetPhiInpHF() const { return fCaloMetPhiInpHF; }
42     Double_t CaloMetPhiInmHF() const { return fCaloMetPhiInmHF; }
43    
44     void SetMaxEtInEmTowers(Double_t x) { fMaxEtInEmTowers = x; }
45     void SetMaxEtInHadTowers(Double_t x) { fMaxEtInHadTowers = x; }
46     void SetEtFractionHadronic(Double_t x) { fEtFractionHadronic = x; }
47     void SetEmEtFraction(Double_t x) { fEmEtFraction = x; }
48     void SetHadEtInHB(Double_t x) { fHadEtInHB = x; }
49     void SetHadEtInHO(Double_t x) { fHadEtInHO = x; }
50     void SetHadEtInHE(Double_t x) { fHadEtInHE = x; }
51     void SetHadEtInHF(Double_t x) { fHadEtInHF = x; }
52     void SetEmEtInEB(Double_t x) { fEmEtInEB = x; }
53     void SetEmEtInEE(Double_t x) { fEmEtInEE = x; }
54     void SetEmEtInHF(Double_t x) { fEmEtInHF = x; }
55     void SetMetSignificance(Double_t x) { fMetSignificance = x; }
56     void SetCaloSumEtInpHF(Double_t x) { fCaloSumEtInpHF = x; }
57     void SetCaloSumEtInmHF(Double_t x) { fCaloSumEtInmHF = x; }
58     void SetCaloMetInpHF(Double_t x) { fCaloMetInpHF = x; }
59     void SetCaloMetInmHF(Double_t x) { fCaloMetInmHF = x; }
60     void SetCaloMetPhiInpHF(Double_t x) { fCaloMetPhiInpHF = x; }
61     void SetCaloMetPhiInmHF(Double_t x) { fCaloMetPhiInmHF = x; }
62    
63     protected:
64     Double_t fMaxEtInEmTowers; // max ET deposited in ECAL towers
65     Double_t fMaxEtInHadTowers; // max ET deposited in HCAL towers
66     Double_t fEtFractionHadronic; // event hadronic scaler ET fraction
67     Double_t fEmEtFraction; // event electromagnetic scalar ET fraction
68     Double_t fHadEtInHB; // event hadronic scalar ET in HB
69     Double_t fHadEtInHO; // event hadronic scalar ET in HO
70     Double_t fHadEtInHE; // event hadronic scalar ET in HE
71     Double_t fHadEtInHF; // event hadronic scalar ET in HF
72     Double_t fEmEtInEB; // event electromagnetic scalar ET in EB
73     Double_t fEmEtInEE; // event electromagnetic scalar ET in EE
74     Double_t fEmEtInHF; // event electromagnetic scalar ET from HF
75     Double_t fMetSignificance; // MET Significance = MET / sqrt(SumET)
76     Double_t fCaloSumEtInpHF; // SumET in HF+
77     Double_t fCaloSumEtInmHF; // SumET in HF-
78     Double_t fCaloMetInpHF; // MET in HF+
79     Double_t fCaloMetInmHF; // MET in HF-
80     Double_t fCaloMetPhiInpHF; // MET-phi in HF+
81     Double_t fCaloMetPhiInmHF; // MET-phi in HF-
82    
83     ClassDef(CaloMet, 1) // Missing Et from calorimeter towers class
84     };
85     }
86    
87     #endif