ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCMET.cc
Revision: 1.2
Committed: Wed Feb 20 21:39:43 2013 UTC (12 years, 2 months ago) by bpollack
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -39 lines
Error occurred while calculating annotation data.
Log Message:
commiting moriond analysis package

File Contents

# Content
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 TCMET::~TCMET() {}
14
15 // "get" methods ------------------------------------
16
17 float TCMET::SumEt() const {
18 return _sumEt;
19 }
20
21 float TCMET::MuonFraction() const {
22 return _muonFraction;
23 }
24
25 float TCMET::NeutralHadronFraction() const {
26 return _neutralHadronFraction;
27 }
28
29 float TCMET::NeutralEMFraction() const {
30 return _neutralEMFraction;
31 }
32
33 float TCMET::ChargedHadronFraction() const {
34 return _chargedHadronFraction;
35 }
36
37 float TCMET::ChargedEMFraction() const {
38 return _chargedEMFraction;
39 }
40
41 // "set" methods ---------
42
43 void TCMET::SetSumEt(float n) {
44 _sumEt = n;
45 }
46
47 void TCMET::SetMuonFraction(float n) {
48 _muonFraction = n;
49 }
50
51 void TCMET::SetNeutralHadronFraction(float n) {
52 _neutralHadronFraction = n;
53 }
54
55 void TCMET::SetNeutralEMFraction(float n) {
56 _neutralEMFraction = n;
57 }
58
59 void TCMET::SetChargedHadronFraction(float n) {
60 _chargedHadronFraction = n;
61 }
62
63 void TCMET::SetChargedEMFraction(float n) {
64 _chargedEMFraction = n;
65 }
66