14 using namespace lcio ;
26 if( index < 1 || index > (
int) vec->size() )
27 throw Exception(
"lcobvgetobject : out_of_range " ) ;
29 LCObject* obj = (*vec)[ index-1 ] ;
36 if( index < 1 || index > (
int) vec->size() )
37 throw Exception(
"lcobvgetobjectid : out_of_range " ) ;
39 LCObject* obj = (*vec)[ index-1 ] ;
46 if( index < 1 || index > (
int) vec->size() )
47 throw Exception(
"lcobvgetweight : out_of_range " ) ;
49 return (*vec)[ index-1 ] ;
std::vector< LCObject * > LCObjectVec
Vector of (pointers to) LCObjects.
std::vector< float > FloatVec
Vector of floats.
LCIO_DEPRECATED_CAPI int lcobvgetlength(PTRTYPE vector)
Header file for the f77-wrapper functions of the LCRelationNavigator class.
std::map< EVENT::LCObject *, std::pair< EVENT::LCObjectVec, EVENT::FloatVec > > RelMap
long PTRTYPE
Fortran interface - define the length of pointers this has to made machine independent ...
LCIO_DEPRECATED_CAPI int lcobvgetobjectid(PTRTYPE vector, int index)
#define C2F_POINTER(T, ptr)