Belle II Software  release-08-01-10
MapHelperFunctionsTest Class Reference

function object that implements cosecans(x) == 1/cos(x) by tan(x) / sin(x). More...

Inheritance diagram for MapHelperFunctionsTest:
Collaboration diagram for MapHelperFunctionsTest:

Protected Member Functions

virtual void SetUp ()
 set up the maps for the tests
 

Protected Attributes

i2dMap _map
 map filled with values obtained by sinHalf functor
 
i2dMultiMap _multimap
 multimap filled with values obtained by sinHalf functor
 
i2dMultiMap _nanMultiMap
 multimap filled with values obtained by secans functor -> contains a NaN!
 
i2dMap _nanMap
 map filled with values obtained by secans functor -> contains a NaN!
 
int _nEntries
 the number of pairs that will be put into the maps for the tests
 

Detailed Description

function object that implements cosecans(x) == 1/cos(x) by tan(x) / sin(x).

This construction should give a NaN if the argument is 0 (but hopefully cppcheck can be fooled to not raise a division by zero error) NOTE: it is tested if this actually is the case! function object that implements sin(i/2). This does give positive and negative weights, but no NaNs class for testing the helper functions from MapHelperFunctions.h

Definition at line 91 of file mapHelperFunctions.cc.


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