CMS 3D CMS Logo

List of all members | Static Public Member Functions
GlobalVariablesTableProducer::Max< ColType, ValType > Class Template Reference

Static Public Member Functions

static ColType convert (ValType x)
 

Detailed Description

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

Definition at line 99 of file GlobalVariablesTableProducer.cc.

Member Function Documentation

◆ convert()

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

Definition at line 101 of file GlobalVariablesTableProducer.cc.

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

101  {
103  for (const auto& i : x)
104  if (i > v)
105  v = i;
106  return v;
107  }