#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 14 of file PuppiContainer.cc.
References edm::ParameterSet::getParameter().
PuppiContainer::~PuppiContainer | ( | ) |
Definition at line 82 of file PuppiContainer.cc.
|
protected |
Definition at line 219 of file PuppiContainer.cc.
References funct::abs(), and MillePedeFileConverter_cfg::e.
Referenced by puppiParticles().
|
protected |
Definition at line 202 of file PuppiContainer.cc.
References funct::abs(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, and ptMin.
Referenced by puppiParticles().
|
protected |
Definition at line 185 of file PuppiContainer.cc.
References edm::isFinite(), and LogDebug.
Referenced by puppiParticles().
|
protected |
Definition at line 136 of file PuppiContainer.cc.
References funct::abs(), PVValHelper::eta, edm::isFinite(), LogDebug, or, and EnergyCorrector::pt.
Referenced by puppiParticles().
|
protected |
Definition at line 84 of file PuppiContainer.cc.
Referenced by puppiParticles().
void PuppiContainer::initialize | ( | const std::vector< RecoObj > & | iRecoObjects | ) |
Definition at line 30 of file PuppiContainer.cc.
References funct::abs(), PuppiCandidate::e, PuppiCandidate::eta, PuppiCandidate::id, edm::isFinite(), PuppiCandidate::m, or, PuppiCandidate::phi, PuppiCandidate::pt, PuppiCandidate::puppi_register, PuppiCandidate::px, PuppiCandidate::py, PuppiCandidate::pz, and PuppiCandidate::rapidity.
|
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 232 of file PuppiContainer.cc.
References PuppiCandidate::e, edm::isFinite(), LogDebug, PuppiCandidate::m, SiStripPI::max, pfDeepBoostedJetPreprocessParams_cfi::median, PuppiCandidate::pt, EnergyCorrector::pt, PuppiCandidate::px, PuppiCandidate::py, PuppiCandidate::pz, reset(), and SiStripPI::rms.
Referenced by pvParticles().
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 88 of file PuppiContainer.cc.
References funct::abs(), reco::deltaR2(), PuppiCandidate::eta, cmsBatch::log, or, PuppiCandidate::phi, PuppiCandidate::pt, EnergyCorrector::pt, dttmaxenums::R, diffTwoXMLs::r2, PuppiCandidate::rapidity, 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.