Small wrapper class to store information associated with PFCandidates. More...
#include <Calibratable.h>
Public Member Functions | |
CandidateWrapper () | |
CandidateWrapper (double energy, double eta, double phi, double energyEcal, double energyHcal, int type) | |
void | recompute () |
void | reset () |
Public Attributes | |
CaloEllipse | caloellipse_ecal_ |
CaloEllipse | caloellipse_hcal_ |
CaloWindow | calowindow_ecal_ |
CaloWindow | calowindow_hcal_ |
int | cluster_numEcal_ |
int | cluster_numHcal_ |
double | energy_ |
double | energyEcal_ |
double | energyHcal_ |
double | eta_ |
double | phi_ |
int | type_ |
Small wrapper class to store information associated with PFCandidates.
Documentation added Dec 08.
Definition at line 66 of file Calibratable.h.
pftools::CandidateWrapper::CandidateWrapper | ( | ) | [inline] |
pftools::CandidateWrapper::CandidateWrapper | ( | double | energy, |
double | eta, | ||
double | phi, | ||
double | energyEcal, | ||
double | energyHcal, | ||
int | type | ||
) | [inline] |
Definition at line 72 of file Calibratable.h.
References caloellipse_ecal_, caloellipse_hcal_, calowindow_ecal_, calowindow_hcal_, pftools::CaloWindow::reset(), and pftools::CaloEllipse::reset().
: energy_(energy), eta_(eta), phi_(phi), energyEcal_(energyEcal), energyHcal_(energyHcal), type_(type) { calowindow_ecal_.reset(); calowindow_hcal_.reset(); caloellipse_ecal_.reset(); caloellipse_hcal_.reset(); }
void pftools::CandidateWrapper::recompute | ( | ) | [inline] |
Definition at line 108 of file Calibratable.h.
References caloellipse_ecal_, caloellipse_hcal_, and pftools::CaloEllipse::makeCaches().
Referenced by pftools::Calibratable::recompute().
{ caloellipse_ecal_.makeCaches(); caloellipse_hcal_.makeCaches(); }
void pftools::CandidateWrapper::reset | ( | void | ) | [inline] |
Definition at line 93 of file Calibratable.h.
References caloellipse_ecal_, caloellipse_hcal_, calowindow_ecal_, calowindow_hcal_, cluster_numEcal_, cluster_numHcal_, energy_, energyEcal_, energyHcal_, eta_, phi_, pftools::CaloWindow::reset(), pftools::CaloEllipse::reset(), and type_.
Referenced by CandidateWrapper(), and pftools::Calibratable::reset().
{ energy_ = 0; eta_ = 0; phi_ = 0; energyEcal_ = 0; energyHcal_ = 0; cluster_numEcal_ = 0; cluster_numHcal_ = 0; type_ = -1; calowindow_ecal_.reset(); calowindow_hcal_.reset(); caloellipse_ecal_.reset(); caloellipse_hcal_.reset(); }
Definition at line 90 of file Calibratable.h.
Referenced by CandidateWrapper(), recompute(), and reset().
Definition at line 91 of file Calibratable.h.
Referenced by CandidateWrapper(), recompute(), and reset().
Definition at line 87 of file Calibratable.h.
Referenced by CandidateWrapper(), and reset().
Definition at line 88 of file Calibratable.h.
Referenced by CandidateWrapper(), and reset().
Definition at line 84 of file Calibratable.h.
Referenced by reset().
Definition at line 84 of file Calibratable.h.
Referenced by reset().
Definition at line 83 of file Calibratable.h.
Referenced by pftools::Calibratable::computeMean(), CalibratableTest::extractCandidate(), pftools::operator<<(), pftools::Calibratable::recompute(), and reset().
Definition at line 83 of file Calibratable.h.
Referenced by pftools::Calibratable::computeMean(), CalibratableTest::extractCandidate(), pftools::operator<<(), pftools::Calibratable::recompute(), and reset().
Definition at line 83 of file Calibratable.h.
Referenced by pftools::Calibratable::computeMean(), CalibratableTest::extractCandidate(), pftools::operator<<(), pftools::Calibratable::recompute(), and reset().
Definition at line 83 of file Calibratable.h.
Referenced by pftools::Calibratable::computeMean(), CalibratableTest::extractCandidate(), pftools::operator<<(), pftools::Calibratable::recompute(), and reset().
Definition at line 83 of file Calibratable.h.
Referenced by pftools::Calibratable::computeMean(), CalibratableTest::extractCandidate(), pftools::operator<<(), pftools::Calibratable::recompute(), and reset().
Definition at line 85 of file Calibratable.h.
Referenced by pftools::Calibratable::computeMean(), CalibratableTest::extractCandidate(), pftools::operator<<(), pftools::Calibratable::recompute(), and reset().