CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
egPM::TF3Wrap< ParamType, bool > Struct Template Reference

#include <EgammaHLTPixelMatchParamObjects.h>

Public Member Functions

float operator() (const ParamType &obj)
 
 TF3Wrap (const std::string &funcExpr, const std::vector< double > &params)
 

Private Attributes

TF3 func_
 

Detailed Description

template<typename ParamType, bool = true>
struct egPM::TF3Wrap< ParamType, bool >

Definition at line 142 of file EgammaHLTPixelMatchParamObjects.h.

Constructor & Destructor Documentation

template<typename ParamType , bool = true>
egPM::TF3Wrap< ParamType, bool >::TF3Wrap ( const std::string &  funcExpr,
const std::vector< double > &  params 
)
inline

Definition at line 146 of file EgammaHLTPixelMatchParamObjects.h.

146  :
147  func_("func",funcExpr.c_str()){
148  for(size_t paraNr=0;paraNr<params.size();paraNr++){
149  func_.SetParameter(paraNr,params[paraNr]);
150  }
151  }

Member Function Documentation

template<typename ParamType , bool = true>
float egPM::TF3Wrap< ParamType, bool >::operator() ( const ParamType &  obj)
inline

Definition at line 152 of file EgammaHLTPixelMatchParamObjects.h.

152  {
153  return func_.Eval(obj.x,obj.y,obj.z);
154  };

Member Data Documentation

template<typename ParamType , bool = true>
TF3 egPM::TF3Wrap< ParamType, bool >::func_
private

Definition at line 144 of file EgammaHLTPixelMatchParamObjects.h.