ODIN
Public Member Functions | List of all members
RecoMeasIndex< dim, Ignore, Separate > Class Template Reference

#include <measindex.h>

Inheritance diagram for RecoMeasIndex< dim, Ignore, Separate >:
Inheritance graph
[legend]

Public Member Functions

bool init (const RecoCoord &coord, const RecoController &controller)
 
bool update (const CoordCountMap &extra)
 
ivector get_indices (const RecoCoord &coord) const
 

Detailed Description

template<recoDim dim, class Ignore, class Separate = RecoDim<0>>
class RecoMeasIndex< dim, Ignore, Separate >

Helper template class to get info about indices actually measured in dimension 'dim'. Implement 'Ignore' (and Separate) by a specialization of 'RecoDim' to specify dimensions to be ignored (separate) before adding/retrieving index from map.

Definition at line 31 of file measindex.h.

Member Function Documentation

◆ get_indices()

template<recoDim dim, class Ignore , class Separate = RecoDim<0>>
ivector RecoMeasIndex< dim, Ignore, Separate >::get_indices ( const RecoCoord coord) const
inline

Returns the list of indices for coordinate 'coord'.

Definition at line 73 of file measindex.h.

◆ init()

template<recoDim dim, class Ignore , class Separate = RecoDim<0>>
bool RecoMeasIndex< dim, Ignore, Separate >::init ( const RecoCoord coord,
const RecoController controller 
)
inline

Initialize with coordinate 'coord' in this branch of the pipeline using 'controller'.

Definition at line 38 of file measindex.h.

◆ update()

template<recoDim dim, class Ignore , class Separate = RecoDim<0>>
bool RecoMeasIndex< dim, Ignore, Separate >::update ( const CoordCountMap extra)
inline

Update cache of measured/interpolated coords by adding 'extra' to the initial coordinates.

Definition at line 55 of file measindex.h.


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