Belle II Software development
NumberOfHitsGetter Struct Reference

Helper Functor to get the Number of hits of a given result. More...

#include <CKFFunctors.h>

Public Member Functions

 operator TrackFindingCDC::FunctorTag ()
 Make it a functor.
 
template<class T >
auto operator() (const T &t) const
 Returns the number of hits of an object.
 

Detailed Description

Helper Functor to get the Number of hits of a given result.

Definition at line 31 of file CKFFunctors.h.

Member Function Documentation

◆ operator()()

auto operator() ( const T &  t) const
inline

Returns the number of hits of an object.

Definition at line 37 of file CKFFunctors.h.

38 {
39 return t->getHits().size();
40 }

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