CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
pftools::CandidateWrapper Class Reference

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_
 

Detailed Description

Small wrapper class to store information associated with PFCandidates.

Author
Jamie Ballin
Date
May 2008

Documentation added Dec 08.

Definition at line 66 of file Calibratable.h.

Constructor & Destructor Documentation

pftools::CandidateWrapper::CandidateWrapper ( )
inline

Definition at line 68 of file Calibratable.h.

References pftools::CalibratableElement::reset().

68  {
69  reset();
70  }
pftools::CandidateWrapper::CandidateWrapper ( double  energy,
double  eta,
double  phi,
double  energyEcal,
double  energyHcal,
int  type 
)
inline

Member Function Documentation

void pftools::CandidateWrapper::recompute ( )
inline

Definition at line 108 of file Calibratable.h.

References pftools::CaloEllipse::makeCaches().

Referenced by pftools::Calibratable::recompute().

108  {
111  }
CaloEllipse caloellipse_ecal_
Definition: Calibratable.h:90
CaloEllipse caloellipse_hcal_
Definition: Calibratable.h:91
void pftools::CandidateWrapper::reset ( void  )
inline

Definition at line 93 of file Calibratable.h.

References pftools::CaloEllipse::reset(), and pftools::CaloWindow::reset().

Referenced by pftools::Calibratable::reset().

93  {
94  energy_ = 0;
95  eta_ = 0;
96  phi_ = 0;
97  energyEcal_ = 0;
98  energyHcal_ = 0;
99  cluster_numEcal_ = 0;
100  cluster_numHcal_ = 0;
101  type_ = -1;
106  }
CaloEllipse caloellipse_ecal_
Definition: Calibratable.h:90
CaloEllipse caloellipse_hcal_
Definition: Calibratable.h:91

Member Data Documentation

CaloEllipse pftools::CandidateWrapper::caloellipse_ecal_

Definition at line 90 of file Calibratable.h.

CaloEllipse pftools::CandidateWrapper::caloellipse_hcal_

Definition at line 91 of file Calibratable.h.

CaloWindow pftools::CandidateWrapper::calowindow_ecal_

Definition at line 87 of file Calibratable.h.

CaloWindow pftools::CandidateWrapper::calowindow_hcal_

Definition at line 88 of file Calibratable.h.

int pftools::CandidateWrapper::cluster_numEcal_

Definition at line 84 of file Calibratable.h.

int pftools::CandidateWrapper::cluster_numHcal_

Definition at line 84 of file Calibratable.h.

double pftools::CandidateWrapper::energy_
double pftools::CandidateWrapper::energyEcal_
double pftools::CandidateWrapper::energyHcal_
double pftools::CandidateWrapper::eta_
double pftools::CandidateWrapper::phi_
int pftools::CandidateWrapper::type_