CMS 3D CMS Logo

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

#include <EgammaHLTPixelMatchParamObjects.h>

Public Member Functions

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

Private Attributes

TF1 func_
 

Detailed Description

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

Definition at line 92 of file EgammaHLTPixelMatchParamObjects.h.

Constructor & Destructor Documentation

◆ TF1Wrap()

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

Definition at line 97 of file EgammaHLTPixelMatchParamObjects.h.

References egPM::TF1Wrap< ParamType, bool >::func_, and submitPVValidationJobs::params.

97  : func_("func", funcExpr.c_str()) {
98  for (size_t paraNr = 0; paraNr < params.size(); paraNr++) {
99  func_.SetParameter(paraNr, params[paraNr]);
100  }
101  }

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ func_

template<typename ParamType , bool = true>
TF1 egPM::TF1Wrap< ParamType, bool >::func_
private