CMS 3D CMS Logo

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

#include <GenericAverageDeDxEstimator.h>

Inheritance diagram for GenericAverageDeDxEstimator:
BaseDeDxEstimator

Public Member Functions

virtual std::pair< float, float > dedx (const reco::DeDxHitCollection &Hits)
 
 GenericAverageDeDxEstimator (float expo)
 
- Public Member Functions inherited from BaseDeDxEstimator
virtual ~BaseDeDxEstimator ()
 

Private Attributes

float m_expo
 

Detailed Description

Definition at line 7 of file GenericAverageDeDxEstimator.h.

Constructor & Destructor Documentation

GenericAverageDeDxEstimator::GenericAverageDeDxEstimator ( float  expo)
inline

Definition at line 10 of file GenericAverageDeDxEstimator.h.

Member Function Documentation

virtual std::pair<float,float> GenericAverageDeDxEstimator::dedx ( const reco::DeDxHitCollection Hits)
inlinevirtual

Implements BaseDeDxEstimator.

Definition at line 12 of file GenericAverageDeDxEstimator.h.

References DeDxTools::genericAverage(), and m_expo.

13  {return std::make_pair(DeDxTools::genericAverage(Hits, m_expo),-1); }
double genericAverage(const reco::DeDxHitCollection &, float expo=1.)
Definition: DeDxTools.cc:121

Member Data Documentation

float GenericAverageDeDxEstimator::m_expo
private

Definition at line 16 of file GenericAverageDeDxEstimator.h.

Referenced by dedx().