This file is indexed.

/usr/include/CLHEP/GenericFunctions/F1D.hh is in libclhep-dev 2.1.4.1+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// -*- C++ -*------------------------------------------------------
//
// This class is an adaptor from any function (double *f)(double x)
// of one real variable, to generic functions. This allows one
// to plot, differentiate, sum, compose, etc, any standard C or
// C++ math function by converting it to a Generic Function.
//
// Joe Boudreau October 2012
//-----------------------------------------------------
#ifndef F1D_h
#define F1D_h 1
#include "CLHEP/GenericFunctions/AbsFunction.hh"
namespace Genfun {

  /**
   * @author
   * @ingroup genfun
   */
  class F1D : public AbsFunction  {
    
    typedef double (*FcnPtr)(double);

    FUNCTION_OBJECT_DEF(F1D)

      public:

    // Constructor
    F1D(FcnPtr fcn):p(fcn){};

    // Destructor
    virtual ~F1D(){};
  
    // Copy constructor
    F1D(const F1D &right):AbsFunction(),p(right.p){};
  
    // Retreive function value
    virtual double operator ()(double x) const {
      return (*p)(x);
    }

    virtual double operator ()(const Argument & a) const {return operator() (a[0]);}

  private:

    // It is illegal to assign a F1D
    const F1D & operator=(const F1D &right);

    // Data:
    FcnPtr p;

  };
  FUNCTION_OBJECT_IMP(F1D)
} // namespace Genfun
#endif