19#ifndef BBRCOLLECTIONUTILS_HH
20#define BBRCOLLECTIONUTILS_HH
28#ifdef OO_DDL_TRANSLATION
32 template <
class PtrType>
bool operator()( PtrType ptr1, PtrType ptr2 )
const {
33 return ( *ptr1 ) < ( *ptr2 );
42 template <
class T>
void operator()(
const T* ptr )
const {
delete ptr; }
49 template <
class T>
void operator()(
const T array[] )
const {
delete[] array; }
66 template <
class C,
class T>
67 typename C::difference_type
findIndex(
const C& container,
const T& value ) {
68 typename C::const_iterator found =
69 std::find( container.begin(), container.end(), value );
75 return found - container.begin();
***************************************************************************************Pseudo Class RRes *****************************************************************************************Parameters and physical constants **Maarten sept ************************************************************************DOUBLE PRECISION xsmu **************************************************************************PARTICLE DATA all others are from PDG *Only resonances with known widths into electron pairs are sept ************************************************************************C Declarations C
C::difference_type findIndex(const C &container, const T &value)
void operator()(const T array[]) const
void operator()(const T *ptr) const
bool operator()(PtrType ptr1, PtrType ptr2) const