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

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.

References ResonanceBuilder::mass.

7  {
8  return ( t1.momentum() + t2.momentum() ).mass();
9  }
auto const T2 &decltype(t1.eta()) t2
Definition: deltaR.h:16