CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Types | Private Attributes
jpt::Map Class Reference

Container class for response & efficiency maps. More...

#include <JetPlusTrackCorrector.h>

Classes

class  Element
 

Public Member Functions

double binCenterEta (uint32_t) const
 
double binCenterPt (uint32_t) const
 
void clear ()
 
double eta (uint32_t) const
 
uint32_t etaBin (double eta) const
 
 Map (std::string, bool verbose=false)
 
 Map ()
 
uint32_t nEtaBins () const
 
uint32_t nPtBins () const
 
void print (std::stringstream &ss) const
 
double pt (uint32_t) const
 
uint32_t ptBin (double pt) const
 
double value (uint32_t eta_bin, uint32_t pt_bin) const
 
 ~Map ()
 

Private Types

typedef std::vector< double > VDouble
 
typedef std::vector< VDoubleVVDouble
 

Private Attributes

VVDouble data_
 
std::vector< double > eta_
 
std::vector< double > pt_
 

Detailed Description

Container class for response & efficiency maps.

Definition at line 41 of file JetPlusTrackCorrector.h.

Member Typedef Documentation

typedef std::vector<double> jpt::Map::VDouble
private

Definition at line 78 of file JetPlusTrackCorrector.h.

typedef std::vector<VDouble> jpt::Map::VVDouble
private

Definition at line 79 of file JetPlusTrackCorrector.h.

Constructor & Destructor Documentation

Map::Map ( std::string  input,
bool  verbose = false 
)

Definition at line 1407 of file JetPlusTrackCorrector.cc.

Map::Map ( )

Definition at line 1475 of file JetPlusTrackCorrector.cc.

Map::~Map ( )

Definition at line 1485 of file JetPlusTrackCorrector.cc.

Member Function Documentation

double Map::binCenterEta ( uint32_t  eta_bin) const

Definition at line 1526 of file JetPlusTrackCorrector.cc.

double Map::binCenterPt ( uint32_t  pt_bin) const

Definition at line 1541 of file JetPlusTrackCorrector.cc.

void Map::clear ( void  )

Definition at line 1491 of file JetPlusTrackCorrector.cc.

double Map::eta ( uint32_t  eta_bin) const

Definition at line 1498 of file JetPlusTrackCorrector.cc.

Referenced by Particle.Particle::__str__().

uint32_t Map::etaBin ( double  eta) const

Definition at line 1556 of file JetPlusTrackCorrector.cc.

uint32_t jpt::Map::nEtaBins ( ) const
inline

Definition at line 87 of file JetPlusTrackCorrector.h.

uint32_t jpt::Map::nPtBins ( ) const
inline

Definition at line 88 of file JetPlusTrackCorrector.h.

void Map::print ( std::stringstream &  ss) const

Definition at line 1591 of file JetPlusTrackCorrector.cc.

double Map::pt ( uint32_t  pt_bin) const
uint32_t Map::ptBin ( double  pt) const

Definition at line 1566 of file JetPlusTrackCorrector.cc.

double Map::value ( uint32_t  eta_bin,
uint32_t  pt_bin 
) const

Definition at line 1576 of file JetPlusTrackCorrector.cc.

Member Data Documentation

VVDouble jpt::Map::data_
private

Definition at line 83 of file JetPlusTrackCorrector.h.

std::vector<double> jpt::Map::eta_
private

Definition at line 81 of file JetPlusTrackCorrector.h.

std::vector<double> jpt::Map::pt_
private

Definition at line 82 of file JetPlusTrackCorrector.h.