CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 reset().

68  {
69  reset();
70  }
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::CaloEllipse::reset(), and pftools::CaloWindow::reset().

Member Function Documentation

void pftools::CandidateWrapper::recompute ( )
inline
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::CaloEllipse::reset(), pftools::CaloWindow::reset(), and type_.

Referenced by CandidateWrapper(), and 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.

Referenced by CandidateWrapper(), recompute(), and reset().

CaloEllipse pftools::CandidateWrapper::caloellipse_hcal_

Definition at line 91 of file Calibratable.h.

Referenced by CandidateWrapper(), recompute(), and reset().

CaloWindow pftools::CandidateWrapper::calowindow_ecal_

Definition at line 87 of file Calibratable.h.

Referenced by CandidateWrapper(), and reset().

CaloWindow pftools::CandidateWrapper::calowindow_hcal_

Definition at line 88 of file Calibratable.h.

Referenced by CandidateWrapper(), and reset().

int pftools::CandidateWrapper::cluster_numEcal_

Definition at line 84 of file Calibratable.h.

Referenced by reset().

int pftools::CandidateWrapper::cluster_numHcal_

Definition at line 84 of file Calibratable.h.

Referenced by reset().

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