#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 |
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 |
std::vector< PuppiCandidate > | fPupParticles |
std::vector< PuppiAlgo > | fPuppiAlgo |
bool | fPuppiDiagnostics |
double | fPuppiWeightCut |
double | fPVFrac |
std::vector< double > | fRawAlphas |
std::vector< RecoObj > | fRecoParticles |
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 73 of file PuppiContainer.cc.
|
protected |
Definition at line 196 of file PuppiContainer.cc.
References funct::abs(), and MillePedeFileConverter_cfg::e.
Referenced by puppiParticles().
|
protected |
Definition at line 179 of file PuppiContainer.cc.
References funct::abs(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, and ptMin.
Referenced by puppiParticles().
|
protected |
Definition at line 160 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 75 of file PuppiContainer.cc.
Referenced by puppiParticles().
void PuppiContainer::initialize | ( | const std::vector< RecoObj > & | iRecoObjects | ) |
Definition at line 27 of file PuppiContainer.cc.
References funct::abs(), mps_fire::i, 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 25 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 209 of file PuppiContainer.cc.
References MillePedeFileConverter_cfg::e, PVValHelper::eta, edm::isFinite(), LogDebug, SiStripPI::max, pfDeepBoostedJetPreprocessParams_cfi::median, min(), EnergyCorrector::pt, reset(), and SiStripPI::rms.
Referenced by pvParticles().
|
inline |
|
inline |
|
protected |
Definition at line 79 of file PuppiContainer.cc.
References 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 43 of file PuppiContainer.h.
Referenced by puppiAlphasMed().
|
protected |
Definition at line 44 of file PuppiContainer.h.
Referenced by puppiAlphasRMS().
|
protected |
Definition at line 46 of file PuppiContainer.h.
|
protected |
Definition at line 38 of file PuppiContainer.h.
Referenced by pvParticles().
|
protected |
Definition at line 47 of file PuppiContainer.h.
|
protected |
Definition at line 53 of file PuppiContainer.h.
Referenced by puppiNAlgos().
|
protected |
Definition at line 49 of file PuppiContainer.h.
|
protected |
Definition at line 50 of file PuppiContainer.h.
|
protected |
Definition at line 54 of file PuppiContainer.h.
Referenced by setNPV().
|
protected |
Definition at line 37 of file PuppiContainer.h.
Referenced by pfParticles().
|
protected |
Definition at line 52 of file PuppiContainer.h.
|
protected |
Definition at line 39 of file PuppiContainer.h.
Referenced by puppiParticles().
|
protected |
Definition at line 56 of file PuppiContainer.h.
|
protected |
Definition at line 35 of file PuppiContainer.h.
|
protected |
Definition at line 51 of file PuppiContainer.h.
|
protected |
Definition at line 55 of file PuppiContainer.h.
|
protected |
Definition at line 42 of file PuppiContainer.h.
Referenced by puppiRawAlphas().
|
protected |
Definition at line 36 of file PuppiContainer.h.
|
protected |
Definition at line 48 of file PuppiContainer.h.
|
protected |
Definition at line 41 of file PuppiContainer.h.
Referenced by puppiAlphas().
|
protected |
Definition at line 40 of file PuppiContainer.h.