CMS 3D CMS Logo

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 121 of file GlobalVariablesTableProducer.cc.

Member Function Documentation

◆ convert()

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

Definition at line 123 of file GlobalVariablesTableProducer.cc.

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

123  {
124  ColType v = 0;
125  for (const auto& i : x)
126  v += i.pt();
127  return v;
128  }