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.

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

References mps_fire::i, min(), findQualityFiles::v, and x.

mps_fire.i
i
Definition: mps_fire.py:428
min
T min(T a, T b)
Definition: MathUtil.h:58
DDAxes::x
findQualityFiles.v
v
Definition: findQualityFiles.py:179