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);
21 double compute(std::vector<double>
const &iVals,
double iChi2)
const;
30 inline int algoId(
unsigned int iAlgo)
const {
return fAlgoId.at(iAlgo); }
double coneSize(unsigned int iAlgo) const
void add(const PuppiCandidate &iParticle, const double &iVal, const unsigned int iAlgo)
void computeMedRMS(const unsigned int &iAlgo)
double etaMin(int i) const
std::vector< double > fEtaMin
static void fillDescriptionsPuppiAlgo(edm::ParameterSetDescription &desc)
const std::vector< float > & alphas()
std::vector< bool > fAdjust
double neutralPt(double const iPUProxy) const
PuppiAlgo(edm::ParameterSet &iConfig)
double cur_NeutralPtSlope
std::vector< double > fConeSize
int algoId(unsigned int iAlgo) const
std::vector< std::vector< double > > fMedian_perEta
double compute(std::vector< double > const &iVals, double iChi2) const
std::vector< double > fRMS
std::vector< double > fNeutralPtMin
std::vector< float > fPupsPV
double etaMax(int i) const
std::vector< float > fPups
std::vector< double > fMean
std::vector< int > fAlgoId
double etaMaxExtrap() 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
bool isCharged(unsigned int iAlgo) const
std::vector< double > fMedEtaSF
std::vector< double > fEtaMax
void fixAlgoEtaBin(int i_eta)
std::vector< bool > fCharged
std::vector< std::vector< double > > fRMS_perEta
std::vector< int > fNCount
std::vector< double > fMedian