Belle II Software development
GetWireHit Struct Reference

Generic functor to get the wire hit from an object. More...

#include <CDCWireHit.h>

Public Member Functions

 operator FunctorTag ()
 Marker function for the isFunctor test.
 
template<class T, class SFINAE = decltype(&T::getWireHit)>
const CDCWireHitoperator() (const T &t) const
 Returns the wire hit of an object.
 
const CDCWireHitoperator() (const CDCWireHit &wireHit) const
 If given a wire hit return it unchanged.
 

Detailed Description

Generic functor to get the wire hit from an object.

Definition at line 348 of file CDCWireHit.h.

Member Function Documentation

◆ operator()() [1/2]

const CDCWireHit & operator() ( const CDCWireHit & wireHit) const
inline

If given a wire hit return it unchanged.

Definition at line 360 of file CDCWireHit.h.

361 {
362 return wireHit;
363 }

◆ operator()() [2/2]

template<class T, class SFINAE = decltype(&T::getWireHit)>
const CDCWireHit & operator() ( const T & t) const
inline

Returns the wire hit of an object.

Definition at line 354 of file CDCWireHit.h.

355 {
356 return t.getWireHit();
357 }

The documentation for this struct was generated from the following file: