#include <SimpleFunctors.h>
Public Member Functions | |
Element1D (const unsigned long index) | |
Result | operator() (const Container &c) const |
Public Member Functions inherited from npstat::Functor1< Result, Container > | |
virtual | ~Functor1 () |
Private Member Functions | |
Element1D ()=delete | |
Private Attributes | |
unsigned long | idx |
Additional Inherited Members | |
Public Types inherited from npstat::Functor1< Result, Container > | |
typedef Container | first_argument_type |
typedef Result | result_type |
Functor which extracts a given element from a random access linear container without bounds checking
Definition at line 180 of file SimpleFunctors.h.
|
inlineexplicit |
Definition at line 181 of file SimpleFunctors.h.
|
privatedelete |
|
inlinevirtual |
Implements npstat::Functor1< Result, Container >.
Definition at line 183 of file SimpleFunctors.h.
References c, and npstat::Element1D< Container, Result >::idx.
|
private |
Definition at line 187 of file SimpleFunctors.h.
Referenced by npstat::Element1D< Container, Result >::operator()(), ntupleDataFormat.TrackMatchInfo::track(), and ntupleDataFormat.TrackingParticleMatchInfo::trackingParticle().