ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MPIAnalyzer/src/TCMET.cc
Revision: 1.2
Committed: Mon Feb 14 11:38:47 2011 UTC (14 years, 2 months ago) by naodell
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +20 -20 lines
Log Message:
Keep fresh

File Contents

# User Rev Content
1 naodell 1.1 /*
2     * File: TCMET.cc
3     * Author: Nate O.
4     *
5     * Created on December 6 2010 8:04 PM
6     */
7    
8     #include "TCMET.h"
9     #include<iostream>
10    
11     TCMET::TCMET() {
12     }
13    
14     TCMET::TCMET(const TCMET& orig) {
15     }
16    
17     TCMET::~TCMET() {
18     }
19    
20     // "get" methods ------------------------------------
21    
22 naodell 1.2 float TCMET::SumEt() const {
23 naodell 1.1 return _sumEt;
24     }
25    
26 naodell 1.2 float TCMET::Met() const {
27 naodell 1.1 return _met;
28     }
29    
30 naodell 1.2 float TCMET::Phi() const {
31 naodell 1.1 return _phi;
32     }
33 naodell 1.2 float TCMET::PhotonEtFraction() const {
34 naodell 1.1 return _photonEtFraction;
35     }
36    
37 naodell 1.2 float TCMET::ElectronEtFraction() const {
38 naodell 1.1 return _electronEtFraction;
39     }
40    
41 naodell 1.2 float TCMET::MuonEtFraction() const {
42 naodell 1.1 return _muonEtFraction;
43     }
44    
45 naodell 1.2 float TCMET::NeutralHadronEtFraction() const {
46 naodell 1.1 return _neutralHadronEtFraction;
47     }
48    
49 naodell 1.2 float TCMET::ChargedHadronEtFraction() const {
50 naodell 1.1 return _chargedHadronEtFraction;
51     }
52    
53 naodell 1.2 float TCMET::HFEMEtFraction() const {
54 naodell 1.1 return _hfEMEtFraction;
55     }
56    
57 naodell 1.2 float TCMET::HFHadronEtFraction() const {
58 naodell 1.1 return _hfHadronEtFraction;
59     }
60    
61     // "set" methods ---------
62    
63 naodell 1.2 void TCMET::SetSumEt(float n) {
64 naodell 1.1 _sumEt = n;
65     }
66    
67 naodell 1.2 void TCMET::SetMet(float n) {
68 naodell 1.1 _met = n;
69     }
70    
71 naodell 1.2 void TCMET::SetPhi(float n) {
72 naodell 1.1 _phi = n;
73     }
74    
75 naodell 1.2 void TCMET::SetPhotonEtFraction(float n) {
76 naodell 1.1 _photonEtFraction = n;
77     }
78    
79 naodell 1.2 void TCMET::SetElectronEtFraction(float n) {
80 naodell 1.1 _electronEtFraction = n;
81     }
82    
83 naodell 1.2 void TCMET::SetMuonEtFraction(float n) {
84 naodell 1.1 _muonEtFraction = n;
85     }
86    
87 naodell 1.2 void TCMET::SetNeutralHadronEtFraction(float n) {
88 naodell 1.1 _neutralHadronEtFraction = n;
89     }
90    
91 naodell 1.2 void TCMET::SetChargedHadronEtFraction(float n) {
92 naodell 1.1 _chargedHadronEtFraction = n;
93     }
94    
95 naodell 1.2 void TCMET::SetHFEMEtFraction(float n) {
96 naodell 1.1 _hfEMEtFraction = n;
97     }
98    
99 naodell 1.2 void TCMET::SetHFHadronEtFraction(float n) {
100 naodell 1.1 _hfHadronEtFraction = n;
101     }
102    
103    
104