1 #ifndef CommonTools_PileupAlgos_PuppiAlgo_h 2 #define CommonTools_PileupAlgos_PuppiAlgo_h 18 void add(
const PuppiCandidate &iParticle,
const double &iVal,
const unsigned int iAlgo);
19 void computeMedRMS(
const unsigned int &iAlgo,
const double &iPVFrac);
21 double compute(std::vector<double>
const &iVals,
double iChi2)
const;
30 inline int algoId (
unsigned int iAlgo)
const {
return fAlgoId.at(iAlgo); }
double neutralPt(int iNPV) const
void add(const PuppiCandidate &iParticle, const double &iVal, const unsigned int iAlgo)
bool isCharged(unsigned int iAlgo) const
double etaMax(int i) const
std::vector< double > fEtaMin
static void fillDescriptionsPuppiAlgo(edm::ParameterSetDescription &desc)
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