/usr/include/CLHEP/GenericFunctions/PtRelFcn.hh is in libclhep-dev 2.1.4.1-1.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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | // -*- C++ -*-
// $Id:
//---------------------PtRelFcn---------------------------------------------//
// //
// Class PtRelFcn //
// //
// This class is a parameterization of ptrel distributions measured at //
// CDF. It has 6 parameters, and is normalized. Alternate descriptions, //
// in the past, have used 7 parameters but without normalization. //
// //
// Joe Boudreau, Azizur Rahaman, March 2003 //
// //
//--------------------------------------------------------------------------//
#ifndef PtRelFcn_h
#define PtRelFcn_h 1
#include "CLHEP/GenericFunctions/AbsFunction.hh"
#include "CLHEP/GenericFunctions/Parameter.hh"
#include "CLHEP/GenericFunctions/LogGamma.hh"
#include "CLHEP/GenericFunctions/Erf.hh"
namespace Genfun {
/**
* @author
* @ingroup genfun
*/
class PtRelFcn : public AbsFunction {
FUNCTION_OBJECT_DEF(PtRelFcn)
public:
// Constructor
PtRelFcn();
// Copy constructor
PtRelFcn(const PtRelFcn &right);
// Destructor
virtual ~PtRelFcn();
// Retreive function value
virtual double operator ()(double argument) const;
virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
// Parameter P0:
Parameter & P0();
const Parameter & P0() const;
// Parameter P1:
Parameter & P1();
const Parameter & P1() const;
// Parameter P2:
Parameter & P2();
const Parameter & P2() const;
// Parameter P3:
Parameter & P3();
const Parameter & P3() const;
// Parameter P4:
Parameter & P4();
const Parameter & P4() const;
// Parameter P5:
Parameter & P5();
const Parameter & P5() const;
private:
// It is illegal to assign an adjustable constant
const PtRelFcn & operator=(const PtRelFcn &right);
// Here are the parameters:
Parameter _p0,_p1,_p2,_p3,_p4,_p5;
LogGamma _logGamma;
Erf _erf;
};
} // namespace Genfun
#endif
|