#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 |
double | etaMax () const |
double | etaMin () const |
bool | isCharged (unsigned int iAlgo) const |
double | median (unsigned int i) const |
double | neutralPt (int iNPV) const |
int | numAlgos () const |
double | ptMin () const |
PuppiAlgo (edm::ParameterSet &iConfig) | |
void | reset () |
double | rms (unsigned int i) const |
~PuppiAlgo () | |
Private Attributes | |
std::vector< bool > | fAdjust |
std::vector< int > | fAlgoId |
std::vector< bool > | fCharged |
std::vector< int > | fCombId |
std::vector< double > | fConeSize |
float | fEtaMax |
double | fEtaMaxExtrap |
float | fEtaMin |
std::vector< double > | fMean |
double | fMedEtaSF |
std::vector< double > | fMedian |
unsigned int | fNAlgos |
std::vector< int > | fNCount |
double | fNeutralPtMin |
double | fNeutralPtSlope |
float | fPtMin |
std::vector< float > | fPups |
std::vector< float > | fPupsPV |
std::vector< double > | fRMS |
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 fAdjust, fAlgoId, fCharged, fCombId, fConeSize, fEtaMax, fEtaMaxExtrap, fEtaMin, fMean, fMedEtaSF, fMedian, fNAlgos, fNCount, fNeutralPtMin, fNeutralPtSlope, fPtMin, fRMS, 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 63 of file PuppiAlgo.cc.
References funct::abs(), edm::hlt::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 103 of file PuppiAlgo.cc.
References alignCSCRings::e, fAdjust, fCharged, fMean, fMedEtaSF, fMedian, fNAlgos, fNCount, fPups, fPupsPV, fRMS, fRMSEtaSF, fRMSScaleFactor, python.multivaluedict::sort(), and mathSSE::sqrt().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 31 of file PuppiAlgo.h.
|
inline |
|
inline |
|
inline |
void PuppiAlgo::reset | ( | void | ) |
Definition at line 53 of file PuppiAlgo.cc.
References fMean, fMedian, fNAlgos, fNCount, fPups, fPupsPV, and fRMS.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Definition at line 30 of file PuppiAlgo.h.
|
private |
Definition at line 52 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 50 of file PuppiAlgo.h.
Referenced by algoId(), compute(), and PuppiAlgo().
|
private |
Definition at line 51 of file PuppiAlgo.h.
Referenced by computeMedRMS(), isCharged(), and PuppiAlgo().
|
private |
Definition at line 53 of file PuppiAlgo.h.
Referenced by compute(), and PuppiAlgo().
|
private |
Definition at line 54 of file PuppiAlgo.h.
Referenced by coneSize(), and PuppiAlgo().
|
private |
Definition at line 35 of file PuppiAlgo.h.
Referenced by etaMax(), and PuppiAlgo().
|
private |
Definition at line 43 of file PuppiAlgo.h.
Referenced by add(), and PuppiAlgo().
|
private |
Definition at line 36 of file PuppiAlgo.h.
Referenced by etaMin(), and PuppiAlgo().
|
private |
Definition at line 57 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 42 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 46 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), median(), PuppiAlgo(), and reset().
|
private |
Definition at line 34 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), numAlgos(), PuppiAlgo(), and reset().
|
private |
Definition at line 58 of file PuppiAlgo.h.
Referenced by add(), compute(), computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 38 of file PuppiAlgo.h.
Referenced by neutralPt(), and PuppiAlgo().
|
private |
Definition at line 39 of file PuppiAlgo.h.
Referenced by neutralPt(), and PuppiAlgo().
|
private |
Definition at line 37 of file PuppiAlgo.h.
Referenced by ptMin(), and PuppiAlgo().
|
private |
Definition at line 48 of file PuppiAlgo.h.
Referenced by add(), alphas(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 49 of file PuppiAlgo.h.
Referenced by add(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 45 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), PuppiAlgo(), reset(), and rms().
|
private |
Definition at line 41 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 55 of file PuppiAlgo.h.
Referenced by add(), and PuppiAlgo().
|
private |
Definition at line 56 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().