#include <HFValueStruct.h>
Public Member Functions | |
double | EnCor (int ieta) const |
std::vector< double > | EnCor () const |
HFValueStruct () | |
HFValueStruct (const int &version, const std::vector< double > &vect) | |
double | PUIntercept (int ieta) const |
std::vector< double > | PUIntercept () const |
double | PUSlope (int ieta) const |
std::vector< double > | PUSlope () const |
void | setEnCor (int ieta, double val) |
void | setEnCor (const std::vector< double > &val) |
void | setPUIntercept (int ieta, double val) |
void | setPUIntercept (const std::vector< double > &val) |
void | setPUSlope (int ieta, double val) |
void | setPUSlope (const std::vector< double > &val) |
Private Member Functions | |
int | ietaByIndex (int &indx) const |
int | indexByIeta (int &ieta) const |
Private Attributes | |
bool | doEnCor_ |
bool | doPU_ |
std::vector< double > | hfvv_ |
int | v_ |
Definition at line 12 of file HFValueStruct.h.
|
inline |
Definition at line 17 of file HFValueStruct.h.
References EnCor(), PUIntercept(), PUSlope(), setEnCor(), setPUIntercept(), setPUSlope(), heppy_batch::val, and jets_cff::version.
reco::HFValueStruct::HFValueStruct | ( | const int & | version, |
const std::vector< double > & | vect | ||
) |
double reco::HFValueStruct::EnCor | ( | int | ieta | ) | const |
Definition at line 49 of file HFValueStruct.cc.
References doEnCor_, hfvv_, and indexByIeta().
Referenced by HFRecoEcalCandidateAlgo::correctEPosition().
std::vector< double > reco::HFValueStruct::EnCor | ( | ) | const |
Definition at line 76 of file HFValueStruct.cc.
References doEnCor_, hfvv_, and cuy::ii.
Referenced by HFValueStruct().
|
private |
Definition at line 33 of file HFValueStruct.cc.
|
private |
Definition at line 30 of file HFValueStruct.cc.
References funct::abs().
Referenced by EnCor(), PUIntercept(), PUSlope(), setEnCor(), setPUIntercept(), and setPUSlope().
double reco::HFValueStruct::PUIntercept | ( | int | ieta | ) | const |
Definition at line 57 of file HFValueStruct.cc.
References doPU_, hfvv_, and indexByIeta().
Referenced by HFRecoEcalCandidateAlgo::correctEPosition().
std::vector< double > reco::HFValueStruct::PUIntercept | ( | ) | const |
Definition at line 98 of file HFValueStruct.cc.
References doPU_, hfvv_, and cuy::ii.
Referenced by HFValueStruct().
double reco::HFValueStruct::PUSlope | ( | int | ieta | ) | const |
Definition at line 53 of file HFValueStruct.cc.
References doPU_, hfvv_, and indexByIeta().
Referenced by HFRecoEcalCandidateAlgo::correctEPosition().
std::vector< double > reco::HFValueStruct::PUSlope | ( | ) | const |
Definition at line 87 of file HFValueStruct.cc.
References doPU_, hfvv_, and cuy::ii.
Referenced by HFValueStruct().
void reco::HFValueStruct::setEnCor | ( | int | ieta, |
double | val | ||
) |
Definition at line 63 of file HFValueStruct.cc.
References hfvv_, indexByIeta(), and heppy_batch::val.
Referenced by HFValueStruct().
void reco::HFValueStruct::setEnCor | ( | const std::vector< double > & | val | ) |
void reco::HFValueStruct::setPUIntercept | ( | int | ieta, |
double | val | ||
) |
Definition at line 69 of file HFValueStruct.cc.
References hfvv_, indexByIeta(), and heppy_batch::val.
Referenced by HFValueStruct().
void reco::HFValueStruct::setPUIntercept | ( | const std::vector< double > & | val | ) |
void reco::HFValueStruct::setPUSlope | ( | int | ieta, |
double | val | ||
) |
Definition at line 66 of file HFValueStruct.cc.
References hfvv_, indexByIeta(), and heppy_batch::val.
Referenced by HFValueStruct().
void reco::HFValueStruct::setPUSlope | ( | const std::vector< double > & | val | ) |
|
private |
Definition at line 48 of file HFValueStruct.h.
Referenced by EnCor(), and HFValueStruct().
|
private |
Definition at line 48 of file HFValueStruct.h.
Referenced by HFValueStruct(), PUIntercept(), and PUSlope().
|
private |
Definition at line 46 of file HFValueStruct.h.
Referenced by EnCor(), PUIntercept(), PUSlope(), setEnCor(), setPUIntercept(), and setPUSlope().
|
private |
Definition at line 45 of file HFValueStruct.h.
Referenced by HFValueStruct().