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

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

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