#include <PuppiContainer.h>
Public Member Functions | |
void | initialize (const std::vector< RecoObj > &iRecoObjects) |
std::vector< PuppiCandidate > const & | pfParticles () const |
const std::vector< double > & | puppiAlphas () |
const std::vector< double > & | puppiAlphasMed () |
const std::vector< double > & | puppiAlphasRMS () |
PuppiContainer (const edm::ParameterSet &iConfig) | |
int | puppiNAlgos () |
std::vector< PuppiCandidate > const & | puppiParticles () const |
const std::vector< double > & | puppiRawAlphas () |
std::vector< double > const & | puppiWeights () |
std::vector< PuppiCandidate > const & | pvParticles () const |
const std::vector< int > & | recoToPup () const |
void | setNPV (int iNPV) |
~PuppiContainer () | |
Protected Member Functions | |
double | getChi2FromdZ (double iDZ) |
int | getPuppiId (float iPt, float iEta) |
void | getRawAlphas (int iOpt, std::vector< PuppiCandidate > const &iConstits, std::vector< PuppiCandidate > const &iParticles, std::vector< PuppiCandidate > const &iChargeParticles) |
void | getRMSAvg (int iOpt, std::vector< PuppiCandidate > const &iConstits, std::vector< PuppiCandidate > const &iParticles, std::vector< PuppiCandidate > const &iChargeParticles) |
double | goodVar (PuppiCandidate const &iPart, std::vector< PuppiCandidate > const &iParts, int iOpt, const double iRCone) |
double | var_within_R (int iId, const std::vector< PuppiCandidate > &particles, const PuppiCandidate ¢re, const double R) |
Protected Attributes | |
std::vector< double > | fAlphaMed |
std::vector< double > | fAlphaRMS |
bool | fApplyCHS |
std::vector< PuppiCandidate > | fChargedPV |
bool | fInvert |
int | fNAlgos |
double | fNeutralMinPt |
double | fNeutralSlope |
int | fNPV |
std::vector< PuppiCandidate > | fPFParticles |
double | fPtMax |
double | fPtMaxNeutralsStartSlope |
std::vector< PuppiCandidate > | fPupParticles |
std::vector< PuppiAlgo > | fPuppiAlgo |
bool | fPuppiDiagnostics |
double | fPuppiWeightCut |
double | fPVFrac |
std::vector< double > | fRawAlphas |
const std::vector< RecoObj > * | fRecoParticles |
std::vector< int > | fRecoToPup |
bool | fUseExp |
std::vector< double > | fVals |
std::vector< double > | fWeights |
Definition at line 8 of file PuppiContainer.h.
PuppiContainer::PuppiContainer | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 12 of file PuppiContainer.cc.
References edm::ParameterSet::getParameter().
PuppiContainer::~PuppiContainer | ( | ) |
Definition at line 72 of file PuppiContainer.cc.
|
protected |
Definition at line 200 of file PuppiContainer.cc.
References funct::abs(), and MillePedeFileConverter_cfg::e.
Referenced by puppiParticles().
|
protected |
Definition at line 183 of file PuppiContainer.cc.
References funct::abs(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, and ptMin.
Referenced by puppiParticles().
|
protected |
Definition at line 164 of file PuppiContainer.cc.
References edm::isFinite(), and LogDebug.
Referenced by puppiParticles().
|
protected |
Definition at line 120 of file PuppiContainer.cc.
References PVValHelper::eta, edm::isFinite(), LogDebug, and EnergyCorrector::pt.
Referenced by puppiParticles().
|
protected |
Definition at line 74 of file PuppiContainer.cc.
Referenced by puppiParticles().
void PuppiContainer::initialize | ( | const std::vector< RecoObj > & | iRecoObjects | ) |
Definition at line 28 of file PuppiContainer.cc.
References funct::abs(), edm::isFinite(), or, and PuppiCandidate::set_info().
|
inline |
Definition at line 15 of file PuppiContainer.h.
References fPFParticles.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 26 of file PuppiContainer.h.
References fPupParticles, getChi2FromdZ(), getPuppiId(), getRawAlphas(), getRMSAvg(), goodVar(), HadronAndPartonSelector_cfi::particles, dttmaxenums::R, and var_within_R().
|
inline |
std::vector< double > const & PuppiContainer::puppiWeights | ( | ) |
Definition at line 213 of file PuppiContainer.cc.
References MillePedeFileConverter_cfg::e, edm::isFinite(), LogDebug, SiStripPI::max, pfDeepBoostedJetPreprocessParams_cfi::median, EnergyCorrector::pt, reset(), and SiStripPI::rms.
Referenced by pvParticles().
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 78 of file PuppiContainer.cc.
References funct::abs(), reco::deltaR2(), mps_fire::i, cmsBatch::log, min(), EnergyCorrector::pt, dttmaxenums::R, diffTwoXMLs::r2, and JetChargeProducer_cfi::var.
Referenced by puppiParticles().
|
protected |
Definition at line 44 of file PuppiContainer.h.
Referenced by puppiAlphasMed().
|
protected |
Definition at line 45 of file PuppiContainer.h.
Referenced by puppiAlphasRMS().
|
protected |
Definition at line 48 of file PuppiContainer.h.
|
protected |
Definition at line 39 of file PuppiContainer.h.
Referenced by pvParticles().
|
protected |
Definition at line 49 of file PuppiContainer.h.
|
protected |
Definition at line 56 of file PuppiContainer.h.
Referenced by puppiNAlgos().
|
protected |
Definition at line 51 of file PuppiContainer.h.
|
protected |
Definition at line 52 of file PuppiContainer.h.
|
protected |
Definition at line 57 of file PuppiContainer.h.
Referenced by setNPV().
|
protected |
Definition at line 38 of file PuppiContainer.h.
Referenced by pfParticles().
|
protected |
Definition at line 54 of file PuppiContainer.h.
|
protected |
Definition at line 55 of file PuppiContainer.h.
|
protected |
Definition at line 40 of file PuppiContainer.h.
Referenced by puppiParticles().
|
protected |
Definition at line 59 of file PuppiContainer.h.
|
protected |
Definition at line 36 of file PuppiContainer.h.
|
protected |
Definition at line 53 of file PuppiContainer.h.
|
protected |
Definition at line 58 of file PuppiContainer.h.
|
protected |
Definition at line 43 of file PuppiContainer.h.
Referenced by puppiRawAlphas().
|
protected |
Definition at line 37 of file PuppiContainer.h.
|
protected |
Definition at line 46 of file PuppiContainer.h.
Referenced by recoToPup().
|
protected |
Definition at line 50 of file PuppiContainer.h.
|
protected |
Definition at line 42 of file PuppiContainer.h.
Referenced by puppiAlphas().
|
protected |
Definition at line 41 of file PuppiContainer.h.