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

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

78  {
80  for (const auto& i : x)
81  if (i > v)
82  v = i;
83  return v;
84  }