CMS 3D CMS Logo

List of all members | Public Member Functions
InvariantMass< T1, T2 > Struct Template Reference

#include <InvariantMass.h>

Public Member Functions

double operator() (const T1 &t1, const T2 &t2) const
 

Detailed Description

template<typename T1, typename T2 = T1>
struct InvariantMass< T1, T2 >

Definition at line 6 of file InvariantMass.h.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 = T1>
double InvariantMass< T1, T2 >::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Definition at line 7 of file InvariantMass.h.

7  {
8  return ( t1.momentum() + t2.momentum() ).mass();
9  }

References EgHLTOffHistBins_cfi::mass, RandomServiceHelper::t1, and RandomServiceHelper::t2.

RandomServiceHelper.t2
t2
Definition: RandomServiceHelper.py:257
RandomServiceHelper.t1
t1
Definition: RandomServiceHelper.py:256
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34