CMS 3D CMS Logo

Functions
MaterialBudgetTrackerHistos.cc File Reference
#include "Validation/Geometry/interface/MaterialBudgetTrackerHistos.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 MaterialBudgetTrackerHistos.cc.

References a, and b.

Referenced by MaterialBudgetTrackerHistos::fillEndTrack().

5  {
6  return (b < a) ? a : b; // or: return comp(b,a)?a:b; for the comp version
7 }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121