1 #ifndef CommonTools_PileupAlgos_PuppiAlgo_h
2 #define CommonTools_PileupAlgos_PuppiAlgo_h
6 #include "fastjet/PseudoJet.hh"
15 void add(
const fastjet::PseudoJet &iParticle,
const double &iVal,
const unsigned int iAlgo);
16 void computeMedRMS(
const unsigned int &iAlgo,
const double &iPVFrac);
18 double compute(std::vector<double>
const &iVals,
double iChi2)
const;
24 inline int algoId (
unsigned int iAlgo)
const {
return fAlgoId.at(iAlgo); }
double neutralPt(int iNPV) const
bool isCharged(unsigned int iAlgo) const
void add(const fastjet::PseudoJet &iParticle, const double &iVal, const unsigned int iAlgo)
std::vector< bool > fAdjust
PuppiAlgo(edm::ParameterSet &iConfig)
std::vector< double > fConeSize
std::vector< double > fRMS
int algoId(unsigned int iAlgo) const
std::vector< float > fPupsPV
double compute(std::vector< double > const &iVals, double iChi2) const
std::vector< float > fPups
std::vector< double > fMean
std::vector< int > fAlgoId
double coneSize(unsigned int iAlgo) const
std::vector< double > fRMSPtMin
std::vector< int > fCombId
std::vector< double > fRMSScaleFactor
void computeMedRMS(const unsigned int &iAlgo, const double &iPVFrac)
std::vector< bool > fCharged
std::vector< int > fNCount
std::vector< double > fMedian