CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
PhysicsTools::MVAModuleHelperDefaultFiller< Object > Class Template Reference

Default template for MVAModuleHelper "Filler" template argument. More...

#include <MVAModuleHelper.h>

Public Member Functions

 MVAModuleHelperDefaultFiller (const PhysicsTools::AtomicId &name)
 
double operator() (const Object &object, const PhysicsTools::AtomicId &name)
 

Detailed Description

template<typename Object>
class PhysicsTools::MVAModuleHelperDefaultFiller< Object >

Default template for MVAModuleHelper "Filler" template argument.

Simply calls a "double compute(const AtomicID &name) const" method on the object for each variable requested.

Definition at line 42 of file MVAModuleHelper.h.

Constructor & Destructor Documentation

template<typename Object >
PhysicsTools::MVAModuleHelperDefaultFiller< Object >::MVAModuleHelperDefaultFiller ( const PhysicsTools::AtomicId name)
inline

Definition at line 43 of file MVAModuleHelper.h.

43 {}

Member Function Documentation

template<typename Object >
double PhysicsTools::MVAModuleHelperDefaultFiller< Object >::operator() ( const Object &  object,
const PhysicsTools::AtomicId name 
)
inline

Definition at line 45 of file MVAModuleHelper.h.

47  { return object.compute(name); }