#include <PuppiAlgo.h>
Public Member Functions | |
void | add (const fastjet::PseudoJet &iParticle, const double &iVal, const unsigned int iAlgo) |
int | algoId (unsigned int iAlgo) const |
const std::vector< float > & | alphas () |
double | compute (std::vector< double > const &iVals, double iChi2) const |
void | computeMedRMS (const unsigned int &iAlgo, const double &iPVFrac) |
double | coneSize (unsigned int iAlgo) const |
int | etaBins () const |
double | etaMax (int i) const |
double | etaMin (int i) const |
void | fixAlgoEtaBin (int i_eta) |
bool | isCharged (unsigned int iAlgo) const |
double | median () const |
double | neutralPt (int iNPV) const |
int | numAlgos () const |
double | ptMin () const |
PuppiAlgo (edm::ParameterSet &iConfig) | |
void | reset () |
double | rms () const |
~PuppiAlgo () | |
Private Attributes | |
double | cur_Med |
double | cur_NeutralPtMin |
double | cur_NeutralPtSlope |
double | cur_PtMin |
double | cur_RMS |
std::vector< bool > | fAdjust |
std::vector< int > | fAlgoId |
std::vector< bool > | fCharged |
std::vector< int > | fCombId |
std::vector< double > | fConeSize |
std::vector< double > | fEtaMax |
double | fEtaMaxExtrap |
std::vector< double > | fEtaMin |
std::vector< double > | fMean |
std::vector< double > | fMedEtaSF |
std::vector< double > | fMedian |
std::vector< std::vector < double > > | fMedian_perEta |
unsigned int | fNAlgos |
std::vector< int > | fNCount |
std::vector< double > | fNeutralPtMin |
std::vector< double > | fNeutralPtSlope |
std::vector< double > | fPtMin |
std::vector< float > | fPups |
std::vector< float > | fPupsPV |
std::vector< double > | fRMS |
std::vector< std::vector < double > > | fRMS_perEta |
std::vector< double > | fRMSEtaSF |
std::vector< double > | fRMSPtMin |
std::vector< double > | fRMSScaleFactor |
Definition at line 9 of file PuppiAlgo.h.
PuppiAlgo::PuppiAlgo | ( | edm::ParameterSet & | iConfig | ) |
Definition at line 11 of file PuppiAlgo.cc.
References cur_Med, cur_NeutralPtMin, cur_NeutralPtSlope, cur_PtMin, cur_RMS, fAdjust, fAlgoId, fCharged, fCombId, fConeSize, fEtaMax, fEtaMaxExtrap, fEtaMin, fMean, fMedEtaSF, fMedian, fMedian_perEta, fNAlgos, fNCount, fNeutralPtMin, fNeutralPtSlope, fPtMin, fRMS, fRMS_perEta, fRMSEtaSF, fRMSPtMin, fRMSScaleFactor, and edm::ParameterSet::getParameter().
PuppiAlgo::~PuppiAlgo | ( | ) |
void PuppiAlgo::add | ( | const fastjet::PseudoJet & | iParticle, |
const double & | iVal, | ||
const unsigned int | iAlgo | ||
) |
Definition at line 90 of file PuppiAlgo.cc.
References funct::abs(), Exception, fEtaMaxExtrap, fNCount, fPups, fPupsPV, fRMSPtMin, and PuppiContainer::PuppiUserInfo::puppi_register().
Referenced by counter.Counter::register().
|
inline |
|
inline |
double PuppiAlgo::compute | ( | std::vector< double > const & | iVals, |
double | iChi2 | ||
) | const |
void PuppiAlgo::computeMedRMS | ( | const unsigned int & | iAlgo, |
const double & | iPVFrac | ||
) |
Definition at line 130 of file PuppiAlgo.cc.
References alignCSCRings::e, fAdjust, fEtaMin, fMean, fMedEtaSF, fMedian, fMedian_perEta, fNAlgos, fNCount, fPups, fPupsPV, fRMS, fRMS_perEta, fRMSEtaSF, fRMSScaleFactor, and mathSSE::sqrt().
|
inline |
|
inline |
|
inline |
Definition at line 24 of file PuppiAlgo.h.
|
inline |
Definition at line 23 of file PuppiAlgo.h.
void PuppiAlgo::fixAlgoEtaBin | ( | int | i_eta | ) |
Definition at line 82 of file PuppiAlgo.cc.
References cur_Med, cur_NeutralPtMin, cur_NeutralPtSlope, cur_PtMin, cur_RMS, fMedian_perEta, fNeutralPtMin, fNeutralPtSlope, fPtMin, and fRMS_perEta.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void PuppiAlgo::reset | ( | void | ) |
Definition at line 71 of file PuppiAlgo.cc.
References fMean, fMedian, fNAlgos, fNCount, fPups, fPupsPV, and fRMS.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
|
private |
Definition at line 52 of file PuppiAlgo.h.
Referenced by compute(), fixAlgoEtaBin(), median(), and PuppiAlgo().
|
private |
Definition at line 49 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), neutralPt(), and PuppiAlgo().
|
private |
Definition at line 50 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), neutralPt(), and PuppiAlgo().
|
private |
Definition at line 48 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), ptMin(), and PuppiAlgo().
|
private |
Definition at line 51 of file PuppiAlgo.h.
Referenced by compute(), fixAlgoEtaBin(), PuppiAlgo(), and rms().
|
private |
Definition at line 63 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 61 of file PuppiAlgo.h.
Referenced by algoId(), compute(), and PuppiAlgo().
|
private |
Definition at line 62 of file PuppiAlgo.h.
Referenced by isCharged(), and PuppiAlgo().
|
private |
Definition at line 64 of file PuppiAlgo.h.
Referenced by compute(), and PuppiAlgo().
|
private |
Definition at line 65 of file PuppiAlgo.h.
Referenced by coneSize(), and PuppiAlgo().
|
private |
Definition at line 38 of file PuppiAlgo.h.
Referenced by etaMax(), and PuppiAlgo().
|
private |
Definition at line 46 of file PuppiAlgo.h.
Referenced by add(), and PuppiAlgo().
|
private |
Definition at line 39 of file PuppiAlgo.h.
Referenced by computeMedRMS(), etaBins(), etaMin(), and PuppiAlgo().
|
private |
Definition at line 68 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 45 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 55 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 57 of file PuppiAlgo.h.
Referenced by computeMedRMS(), fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 37 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), numAlgos(), PuppiAlgo(), and reset().
|
private |
Definition at line 69 of file PuppiAlgo.h.
Referenced by add(), compute(), computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 41 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 42 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 40 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 59 of file PuppiAlgo.h.
Referenced by add(), alphas(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 60 of file PuppiAlgo.h.
Referenced by add(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 54 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 56 of file PuppiAlgo.h.
Referenced by computeMedRMS(), fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 44 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 66 of file PuppiAlgo.h.
Referenced by add(), and PuppiAlgo().
|
private |
Definition at line 67 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().