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

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

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

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