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;
25 inline int algoId (
unsigned int iAlgo)
const {
return fAlgoId.at(iAlgo); }
30 inline double rms(
unsigned int i )
const {
return fRMS[
i];}
double neutralPt(int iNPV) const
bool isCharged(unsigned int iAlgo) const
void add(const fastjet::PseudoJet &iParticle, const double &iVal, const unsigned int iAlgo)
const std::vector< float > & alphas()
std::vector< bool > fAdjust
PuppiAlgo(edm::ParameterSet &iConfig)
std::vector< double > fConeSize
double median(unsigned int i) const
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
double rms(unsigned int i) const
void computeMedRMS(const unsigned int &iAlgo, const double &iPVFrac)
std::vector< bool > fCharged
std::vector< int > fNCount
std::vector< double > fMedian