LCOV - code coverage report
Current view: top level - TEvtGen/EvtGen/EvtGenModels - EvtItgFunction.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 5 0.0 %
Date: 2016-06-14 17:26:59 Functions: 0 6 0.0 %

          Line data    Source code
       1             : //--------------------------------------------------------------------------
       2             : // File and Version Information:
       3             : //      $Id: EvtItgFunction.cpp,v 1.4 2009-03-16 15:47:39 robbep Exp $
       4             : //
       5             : // Description:
       6             : //      Class EvtItgFunction
       7             : //      Implementation for the EvtItgFunction class.  Defines the bounds
       8             : //      checked value() function and the non-bounds checked operator()
       9             : //
      10             : // Environment:
      11             : //      Software developed for the BaBar Detector at the SLAC B-Factory.
      12             : //
      13             : // Author List:
      14             : //      Phil Strother           Originator
      15             : //
      16             : // Copyright Information: See EvtGen/COPYRIGHT
      17             : //      Copyright (C) 1998      LBNL
      18             : //
      19             : //------------------------------------------------------------------------
      20             : #include "EvtGenBase/EvtPatches.hh"
      21             : 
      22             : //-----------------------
      23             : // This Class's Header --
      24             : //-----------------------
      25             : #include "EvtGenModels/EvtItgFunction.hh"
      26             : 
      27             : //-------------
      28             : // C Headers --
      29             : //-------------
      30             : extern "C" {
      31             : }
      32             : 
      33             : //----------------
      34             : // Constructors --
      35             : //----------------
      36             : EvtItgFunction::EvtItgFunction( double (*theFunction)(double), double lowerRange, double upperRange):
      37           0 :   EvtItgAbsFunction(lowerRange, upperRange),
      38           0 :   _myFunction(theFunction)
      39           0 : {}
      40             : 
      41             : 
      42             : //--------------
      43             : // Destructor --
      44             : //--------------
      45             : 
      46             : EvtItgFunction::~EvtItgFunction( )
      47           0 : {}
      48             : 
      49             : 
      50             : double
      51             : EvtItgFunction::myFunction(double x) const{
      52           0 :   return _myFunction(x);
      53             : }
      54             : 

Generated by: LCOV version 1.11