#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 |
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 | neutralPt (int iNPV) const |
int | numAlgos () const |
double | ptMin () const |
PuppiAlgo (edm::ParameterSet &iConfig) | |
void | reset () |
~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 |
float | fEtaMin |
std::vector< double > | fMean |
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 |
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, fEtaMin, fMean, fMedian, fNAlgos, fNCount, fNeutralPtMin, fNeutralPtSlope, fPtMin, fRMS, 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 60 of file PuppiAlgo.cc.
References funct::abs(), edm::hlt::Exception, fCharged, fNCount, fPups, fPupsPV, fRMSPtMin, and PuppiContainer::PuppiUserInfo::puppi_register().
Referenced by counter.Counter::register().
|
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 82 of file PuppiAlgo.cc.
References alignCSCRings::e, fAdjust, fCharged, fMean, fMedian, fNAlgos, fNCount, fPups, fPupsPV, fRMS, fRMSScaleFactor, python.multivaluedict::sort(), and mathSSE::sqrt().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void PuppiAlgo::reset | ( | void | ) |
Definition at line 50 of file PuppiAlgo.cc.
References fMean, fMedian, fNAlgos, fNCount, fPups, fPupsPV, and fRMS.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
private |
Definition at line 40 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().
|
private |
Definition at line 38 of file PuppiAlgo.h.
Referenced by algoId(), compute(), and PuppiAlgo().
|
private |
Definition at line 39 of file PuppiAlgo.h.
Referenced by add(), computeMedRMS(), isCharged(), and PuppiAlgo().
|
private |
Definition at line 41 of file PuppiAlgo.h.
Referenced by compute(), and PuppiAlgo().
|
private |
Definition at line 42 of file PuppiAlgo.h.
Referenced by coneSize(), and PuppiAlgo().
|
private |
Definition at line 31 of file PuppiAlgo.h.
Referenced by etaMax(), and PuppiAlgo().
|
private |
Definition at line 32 of file PuppiAlgo.h.
Referenced by etaMin(), and PuppiAlgo().
|
private |
Definition at line 47 of file PuppiAlgo.h.
Referenced by computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 46 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 30 of file PuppiAlgo.h.
Referenced by compute(), computeMedRMS(), numAlgos(), PuppiAlgo(), and reset().
|
private |
Definition at line 48 of file PuppiAlgo.h.
Referenced by add(), compute(), computeMedRMS(), PuppiAlgo(), and reset().
|
private |
Definition at line 34 of file PuppiAlgo.h.
Referenced by neutralPt(), and PuppiAlgo().
|
private |
Definition at line 35 of file PuppiAlgo.h.
Referenced by neutralPt(), and PuppiAlgo().
|
private |
Definition at line 33 of file PuppiAlgo.h.
Referenced by ptMin(), and PuppiAlgo().
|
private |
Definition at line 36 of file PuppiAlgo.h.
Referenced by add(), computeMedRMS(), reset(), and ~PuppiAlgo().
|
private |
Definition at line 37 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(), and reset().
|
private |
Definition at line 43 of file PuppiAlgo.h.
Referenced by add(), and PuppiAlgo().
|
private |
Definition at line 44 of file PuppiAlgo.h.
Referenced by computeMedRMS(), and PuppiAlgo().