1 #ifndef CommonTools_PileupAlgos_PuppiAlgo_h
2 #define CommonTools_PileupAlgos_PuppiAlgo_h
6 #include "fastjet/PseudoJet.hh"
16 void add(
const fastjet::PseudoJet &iParticle,
const double &iVal,
const unsigned int iAlgo);
17 void computeMedRMS(
const unsigned int &iAlgo,
const double &iPVFrac);
19 double compute(std::vector<double>
const &iVals,
double iChi2)
const;
28 inline int algoId (
unsigned int iAlgo)
const {
return fAlgoId.at(iAlgo); }
double neutralPt(int iNPV) const
bool isCharged(unsigned int iAlgo) const
double etaMax(int i) const
void add(const fastjet::PseudoJet &iParticle, const double &iVal, const unsigned int iAlgo)
std::vector< double > fEtaMin
const std::vector< float > & alphas()
std::vector< bool > fAdjust
std::vector< std::vector< double > > fMedian_perEta
PuppiAlgo(edm::ParameterSet &iConfig)
double cur_NeutralPtSlope
std::vector< std::vector< double > > fRMS_perEta
std::vector< double > fConeSize
std::vector< double > fRMS
std::vector< double > fNeutralPtMin
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
std::vector< double > fPtMin
std::vector< double > fRMSEtaSF
std::vector< double > fNeutralPtSlope
void computeMedRMS(const unsigned int &iAlgo, const double &iPVFrac)
std::vector< double > fMedEtaSF
std::vector< double > fEtaMax
void fixAlgoEtaBin(int i_eta)
double etaMin(int i) const
std::vector< bool > fCharged
std::vector< int > fNCount
std::vector< double > fMedian