CMS 3D CMS Logo

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 40 of file MVAModuleHelper.h.

Constructor & Destructor Documentation

◆ MVAModuleHelperDefaultFiller()

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

Definition at line 41 of file MVAModuleHelper.h.

41 {}

Member Function Documentation

◆ operator()()

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

Definition at line 43 of file MVAModuleHelper.h.

43 { return object.compute(name); }

References Skims_PA_cff::name.

Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17