Go to the documentation of this file.00001 #include "ForIA/EtMiss.hh"
00002
00003 namespace ForIA{
00004
00005 EtMiss::EtMiss() { }
00006
00007 float EtMiss::getMet(Type t) const{
00008 switch(t){
00009 case NOCAL:
00010 return m_nocalMet;
00011 break;
00012 case CALIB:
00013 return m_calibMet;
00014 break;
00015 case TRUTHINT:
00016 return m_intTruthMet;
00017 break;
00018 case TRUTHNIN:
00019 return m_ninTruthMet;
00020 break;
00021 }
00022 return m_nocalMet;
00023 }
00024
00025 float EtMiss::getMetX(Type t) const{
00026 switch(t){
00027 case NOCAL:
00028 return m_nocalMetx;
00029 break;
00030 case CALIB:
00031 return m_calibMetx;
00032 break;
00033 case TRUTHINT:
00034 return m_intTruthMetx;
00035 break;
00036 case TRUTHNIN:
00037 return m_ninTruthMetx;
00038 break;
00039 }
00040 return m_nocalMetx;
00041 }
00042
00043 float EtMiss::getMetY(Type t) const{
00044 switch(t){
00045 case NOCAL:
00046 return m_nocalMety;
00047 break;
00048 case CALIB:
00049 return m_calibMety;
00050 break;
00051 case TRUTHINT:
00052 return m_intTruthMety;
00053 break;
00054 case TRUTHNIN:
00055 return m_ninTruthMety;
00056 break;
00057 }
00058 return m_nocalMety;
00059 }
00060
00061 float EtMiss::getSumEt(Type t) const{
00062 switch(t){
00063 case NOCAL:
00064 return m_nocalSumEt;
00065 break;
00066 case CALIB:
00067 return m_calibSumEt;
00068 break;
00069 case TRUTHINT:
00070 return m_intTruthSumEt;
00071 break;
00072 case TRUTHNIN:
00073 return m_ninTruthSumEt;
00074 break;
00075 }
00076 return m_nocalSumEt;
00077 }
00078
00079 }