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

Member Function Documentation

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

Definition at line 73 of file GlobalVariablesTableProducer.cc.

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

73  {
75  for(const auto & i : x) if(i>v) v=i;
76  return v;
77  }
T min(T a, T b)
Definition: MathUtil.h:58