CMS 3D CMS Logo

Public Member Functions | Private Attributes

GenericAverageDeDxEstimator Class Reference

#include <GenericAverageDeDxEstimator.h>

Inheritance diagram for GenericAverageDeDxEstimator:
BaseDeDxEstimator

List of all members.

Public Member Functions

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

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.

: m_expo(expo) {}

Member Function Documentation

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

Implements BaseDeDxEstimator.

Definition at line 12 of file GenericAverageDeDxEstimator.h.

References DeDxTools::genericAverage(), and m_expo.

 {return std::make_pair(DeDxTools::genericAverage(Hits, m_expo),-1); } 

Member Data Documentation

Definition at line 16 of file GenericAverageDeDxEstimator.h.

Referenced by dedx().