CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Static Public Member Functions
GlobalVariablesTableProducer::ScalarPtSum< ColType, ValType > Class Template Reference

Static Public Member Functions

static ColType convert (ValType x)
 

Detailed Description

template<typename ColType, typename ValType>
class GlobalVariablesTableProducer::ScalarPtSum< ColType, ValType >

Definition at line 98 of file GlobalVariablesTableProducer.cc.

Member Function Documentation

template<typename ColType , typename ValType >
static ColType GlobalVariablesTableProducer::ScalarPtSum< ColType, ValType >::convert ( ValType  x)
inlinestatic

Definition at line 100 of file GlobalVariablesTableProducer.cc.

References mps_fire::i, and findQualityFiles::v.

100  {
101  ColType v = 0;
102  for (const auto& i : x)
103  v += i.pt();
104  return v;
105  }