#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 () |
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 |
double | fEtaMaxPhotons |
bool | fInvert |
int | fNAlgos |
double | fNeutralMinPt |
double | fNeutralSlope |
int | fNPV |
std::vector< PuppiCandidate > | fPFParticles |
double | fPtMaxNeutrals |
double | fPtMaxPhotons |
std::vector< PuppiAlgo > | fPuppiAlgo |
bool | fPuppiDiagnostics |
double | fPuppiWeightCut |
double | fPVFrac |
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 65 of file PuppiContainer.cc.
|
protected |
Definition at line 227 of file PuppiContainer.cc.
References funct::abs(), and MillePedeFileConverter_cfg::e.
Referenced by puppiNAlgos().
|
protected |
Definition at line 210 of file PuppiContainer.cc.
References funct::abs(), ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, testProducerWithPsetDescEmpty_cfi::i1, and ptMin.
Referenced by puppiNAlgos().
|
protected |
Definition at line 185 of file PuppiContainer.cc.
References edm::isFinite(), and LogDebug.
Referenced by puppiNAlgos().
|
protected |
Definition at line 133 of file PuppiContainer.cc.
References PVValHelper::eta, testProducerWithPsetDescEmpty_cfi::i1, edm::isFinite(), LogDebug, and DiDispStaMuonMonitor_cfi::pt.
Referenced by puppiNAlgos().
|
protected |
Definition at line 67 of file PuppiContainer.cc.
Referenced by puppiNAlgos().
void PuppiContainer::initialize | ( | const std::vector< RecoObj > & | iRecoObjects | ) |
Definition at line 29 of file PuppiContainer.cc.
References funct::abs(), edm::isFinite(), and PuppiCandidate::set_info().
|
inline |
Definition at line 15 of file PuppiContainer.h.
References fPFParticles.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 24 of file PuppiContainer.h.
References fNAlgos, getChi2FromdZ(), getPuppiId(), getRawAlphas(), getRMSAvg(), goodVar(), ecalTrigSettings_cff::particles, dttmaxenums::R, and var_within_R().
|
inline |
std::vector< double > const & PuppiContainer::puppiWeights | ( | ) |
Definition at line 242 of file PuppiContainer.cc.
References funct::abs(), testProducerWithPsetDescEmpty_cfi::i1, edm::isFinite(), LogDebug, SiStripPI::max, pfDeepBoostedJetPreprocessParams_cfi::median, DiDispStaMuonMonitor_cfi::pt, reset(), and SiStripPI::rms.
Referenced by pvParticles().
|
inline |
|
inline |
|
protected |
Definition at line 74 of file PuppiContainer.cc.
References funct::abs(), reco::deltaR2(), mps_fire::i, dqm-mbProfile::log, min(), DiDispStaMuonMonitor_cfi::pt, dttmaxenums::R, diffTwoXMLs::r2, and trigObjTnPSource_cfi::var.
Referenced by puppiNAlgos().
|
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 46 of file PuppiContainer.h.
Referenced by pvParticles().
|
protected |
Definition at line 60 of file PuppiContainer.h.
|
protected |
Definition at line 54 of file PuppiContainer.h.
|
protected |
Definition at line 62 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 63 of file PuppiContainer.h.
Referenced by setNPV().
|
protected |
Definition at line 45 of file PuppiContainer.h.
Referenced by pfParticles().
|
protected |
Definition at line 61 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 43 of file PuppiContainer.h.
|
protected |
Definition at line 58 of file PuppiContainer.h.
|
protected |
Definition at line 64 of file PuppiContainer.h.
|
protected |
Definition at line 49 of file PuppiContainer.h.
Referenced by puppiRawAlphas().
|
protected |
Definition at line 44 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.