CMS 3D CMS Logo

Functions
MaterialBudgetHGCalHistos.cc File Reference
#include "Validation/Geometry/interface/MaterialBudgetHGCalHistos.h"
#include "Validation/Geometry/interface/MaterialBudgetData.h"

Go to the source code of this file.

Functions

template<class T >
const Tmax (const T &a, const T &b)
 

Function Documentation

◆ max()

template<class T >
const T& max ( const T a,
const T b 
)

Definition at line 5 of file MaterialBudgetHGCalHistos.cc.

5  {
6  return (b < a) ? a : b; // or: return comp(b,a)?a:b; for the comp version
7 }

References a, and b.

Referenced by MaterialBudgetHGCalHistos::fillEndTrack().

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119