#include <PuppiAlgo.h>
Public Member Functions | |
void | add (const PuppiCandidate &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) |
double | coneSize (unsigned int iAlgo) const |
int | etaBins () const |
double | etaMax (int i) const |
double | etaMaxExtrap () const |
double | etaMin (int i) const |
void | fixAlgoEtaBin (int i_eta) |
bool | isCharged (unsigned int iAlgo) const |
double | median () const |
double | neutralPt (double const iPUProxy) const |
int | numAlgos () const |
double | ptMin () const |
PuppiAlgo (edm::ParameterSet &iConfig) | |
void | reset () |
double | rms () const |
~PuppiAlgo () | |
Static Public Member Functions | |
static void | fillDescriptionsPuppiAlgo (edm::ParameterSetDescription &desc) |
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 10 of file PuppiAlgo.h.
PuppiAlgo::PuppiAlgo | ( | edm::ParameterSet & | iConfig | ) |
Definition at line 8 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 PuppiCandidate & | iParticle, |
const double & | iVal, | ||
const unsigned int | iAlgo | ||
) |
Definition at line 87 of file PuppiAlgo.cc.
References funct::abs(), PuppiCandidate::eta, Exception, fEtaMaxExtrap, fNCount, fPups, fPupsPV, fRMSPtMin, PuppiCandidate::id, and PuppiCandidate::pt.
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
inline |
|
inline |
double PuppiAlgo::compute | ( | std::vector< double > const & | iVals, |
double | iChi2 | ||
) | const |
void PuppiAlgo::computeMedRMS | ( | const unsigned int & | iAlgo | ) |
Definition at line 112 of file PuppiAlgo.cc.
References MillePedeFileConverter_cfg::e, fAdjust, fEtaMin, fMean, fMedEtaSF, fMedian, fMedian_perEta, fNAlgos, fNCount, fPups, fPupsPV, fRMS, fRMS_perEta, fRMSEtaSF, fRMSScaleFactor, createfilelist::int, and mathSSE::sqrt().
|
inline |
|
inline |
|
inline |
Definition at line 26 of file PuppiAlgo.h.
References fEtaMax, and mps_fire::i.
|
inline |
|
inline |
Definition at line 25 of file PuppiAlgo.h.
References fEtaMin, and mps_fire::i.
|
static |
Definition at line 218 of file PuppiAlgo.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSet::addParameter(), edm::ParameterSetDescription::addVPSet(), and hltPFPuppi_cfi::algos.
Referenced by PuppiProducer::fillDescriptions().
void PuppiAlgo::fixAlgoEtaBin | ( | int | i_eta | ) |
Definition at line 79 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 68 of file PuppiAlgo.cc.
References fMean, fMedian, fNAlgos, fNCount, fPups, fPupsPV, and fRMS.
Referenced by MatrixReader.MatrixReader::__init__(), data_sources.json_list::next(), and MatrixReader.MatrixReader::showRaw().
|
inline |
|
private |
Definition at line 56 of file PuppiAlgo.h.
Referenced by compute(), fixAlgoEtaBin(), median(), and PuppiAlgo().
|
private |
Definition at line 53 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), neutralPt(), and PuppiAlgo().
|
private |
Definition at line 54 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), neutralPt(), and PuppiAlgo().
|
private |
Definition at line 52 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), ptMin(), and PuppiAlgo().
|
private |
Definition at line 55 of file PuppiAlgo.h.
Referenced by compute(), fixAlgoEtaBin(), PuppiAlgo(), and rms().
|
private |
Definition at line 67 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 65 of file PuppiAlgo.h.
Referenced by algoId(), compute(), and PuppiAlgo().
|
private |
Definition at line 66 of file PuppiAlgo.h.
Referenced by isCharged(), and PuppiAlgo().
|
private |
Definition at line 68 of file PuppiAlgo.h.
Referenced by compute(), and PuppiAlgo().
|
private |
Definition at line 69 of file PuppiAlgo.h.
Referenced by coneSize(), and PuppiAlgo().
|
private |
Definition at line 42 of file PuppiAlgo.h.
Referenced by etaMax(), and PuppiAlgo().
|
private |
Definition at line 50 of file PuppiAlgo.h.
Referenced by add(), etaMaxExtrap(), and PuppiAlgo().
|
private |
Definition at line 43 of file PuppiAlgo.h.
Referenced by computeMedRMS(), etaBins(), etaMin(), and PuppiAlgo().
|
private |
Definition at line 72 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 49 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 59 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 61 of file PuppiAlgo.h.
Referenced by computeMedRMS(), fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 41 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), numAlgos(), PuppiAlgo(), and reset().
|
private |
Definition at line 73 of file PuppiAlgo.h.
Referenced by add(), compute(), computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 45 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 46 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 44 of file PuppiAlgo.h.
Referenced by fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 63 of file PuppiAlgo.h.
Referenced by add(), alphas(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 64 of file PuppiAlgo.h.
Referenced by add(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 58 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 60 of file PuppiAlgo.h.
Referenced by computeMedRMS(), fixAlgoEtaBin(), and PuppiAlgo().
|
private |
Definition at line 48 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 70 of file PuppiAlgo.h.
Referenced by add(), and PuppiAlgo().
|
private |
Definition at line 71 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().