#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 () |
const std::vector< double > & | puppiRawAlphas () |
std::vector< double > const & | puppiWeights () |
void | setPUProxy (double const iPUProxy) |
~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 |
double | fEtaMaxPhotons |
bool | fInvert |
int | fNAlgos |
double | fNeutralMinPt |
double | fNeutralSlope |
std::vector< PuppiCandidate > | fPFParticles |
std::vector< PuppiCandidate > | fPFParticlesForVar |
std::vector< PuppiCandidate > | fPFParticlesForVarChargedPV |
double | fPtMaxNeutrals |
double | fPtMaxNeutralsStartSlope |
double | fPtMaxPhotons |
std::vector< PuppiAlgo > | fPuppiAlgo |
bool | fPuppiDiagnostics |
double | fPuppiWeightCut |
double | fPUProxy |
std::vector< double > | fRawAlphas |
const 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 77 of file PuppiContainer.cc.
|
protected |
Definition at line 232 of file PuppiContainer.cc.
References funct::abs(), and MillePedeFileConverter_cfg::e.
|
protected |
Definition at line 215 of file PuppiContainer.cc.
References funct::abs(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, testProducerWithPsetDescEmpty_cfi::i1, l1tPhase2CaloJetEmulator_cfi::iEta, and ptMin.
|
protected |
Definition at line 193 of file PuppiContainer.cc.
References edm::isFinite(), and LogDebug.
|
protected |
Definition at line 137 of file PuppiContainer.cc.
References funct::abs(), PVValHelper::eta, testProducerWithPsetDescEmpty_cfi::i1, edm::isFinite(), LogDebug, or, and DiDispStaMuonMonitor_cfi::pt.
|
protected |
Definition at line 79 of file PuppiContainer.cc.
void PuppiContainer::initialize | ( | const std::vector< RecoObj > & | iRecoObjects | ) |
Definition at line 30 of file PuppiContainer.cc.
References funct::abs(), PuppiCandidate::eta, PuppiCandidate::id, edm::isFinite(), PuppiCandidate::m, PuppiCandidate::phi, PuppiCandidate::pt, and PuppiCandidate::rapidity.
|
inline |
Definition at line 15 of file PuppiContainer.h.
References fPFParticles.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector< double > const & PuppiContainer::puppiWeights | ( | ) |
Definition at line 247 of file PuppiContainer.cc.
References funct::abs(), testProducerWithPsetDescEmpty_cfi::i1, edm::isFinite(), LogDebug, WZElectronSkims53X_cff::max, median(), DiDispStaMuonMonitor_cfi::pt, reset(), and SiStripPI::rms.
|
inline |
|
protected |
Definition at line 86 of file PuppiContainer.cc.
References funct::abs(), reco::deltaR2(), PuppiCandidate::eta, CrabHelper::log, or, primaryVertexAssociation_cfi::particles, PuppiCandidate::phi, PuppiCandidate::pt, DiDispStaMuonMonitor_cfi::pt, dttmaxenums::R, diffTwoXMLs::r2, PuppiCandidate::rapidity, and ALCARECOEcalPhiSym_cff::var.
|
protected |
Definition at line 50 of file PuppiContainer.h.
Referenced by puppiAlphasMed().
|
protected |
Definition at line 51 of file PuppiContainer.h.
Referenced by puppiAlphasRMS().
|
protected |
Definition at line 53 of file PuppiContainer.h.
|
protected |
Definition at line 60 of file PuppiContainer.h.
|
protected |
Definition at line 54 of file PuppiContainer.h.
|
protected |
Definition at line 63 of file PuppiContainer.h.
Referenced by puppiNAlgos().
|
protected |
Definition at line 56 of file PuppiContainer.h.
|
protected |
Definition at line 57 of file PuppiContainer.h.
|
protected |
Definition at line 44 of file PuppiContainer.h.
Referenced by pfParticles().
|
protected |
Definition at line 45 of file PuppiContainer.h.
|
protected |
Definition at line 46 of file PuppiContainer.h.
|
protected |
Definition at line 61 of file PuppiContainer.h.
|
protected |
Definition at line 62 of file PuppiContainer.h.
|
protected |
Definition at line 59 of file PuppiContainer.h.
|
protected |
Definition at line 65 of file PuppiContainer.h.
|
protected |
Definition at line 42 of file PuppiContainer.h.
|
protected |
Definition at line 58 of file PuppiContainer.h.
|
protected |
Definition at line 64 of file PuppiContainer.h.
Referenced by setPUProxy().
|
protected |
Definition at line 49 of file PuppiContainer.h.
Referenced by puppiRawAlphas().
|
protected |
Definition at line 43 of file PuppiContainer.h.
|
protected |
Definition at line 55 of file PuppiContainer.h.
|
protected |
Definition at line 48 of file PuppiContainer.h.
Referenced by puppiAlphas().
|
protected |
Definition at line 47 of file PuppiContainer.h.