CMS 3D CMS Logo

Public Member Functions

details::Mean Struct Reference

List of all members.

Public Member Functions

float operator() (const GeometricSearchDet *a, const GeometricSearchDet *b) const
float operator() (float a, float b) const

Detailed Description

Definition at line 30 of file CompositeTECPetal.cc.


Member Function Documentation

float details::Mean::operator() ( const GeometricSearchDet a,
const GeometricSearchDet b 
) const [inline]

Definition at line 31 of file CompositeTECPetal.cc.

References PV3DBase< T, PVType, FrameType >::perp(), and GeometricSearchDet::position().

                                                                                      {
      return 0.5*(b->position().perp()+a->position().perp());
    }
float details::Mean::operator() ( float  a,
float  b 
) const [inline]

Definition at line 34 of file CompositeTECPetal.cc.

References a.

                                              {
      return 0.5*(b+a);
    }