/usr/include/root/RooStats/HistFactory/LinInterpVar.h is in libroot-roofit-dev 5.34.00-2.
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 | // @(#)root/roostats:$Id: cranmer $
// Author: Kyle Cranmer, Akira Shibata
/*************************************************************************
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOSTATS_LININTERPVAR
#define ROOSTATS_LININTERPVAR
#include "RooAbsPdf.h"
#include "RooRealProxy.h"
#include "RooListProxy.h"
class RooRealVar;
class RooArgList ;
namespace RooStats{
namespace HistFactory{
class LinInterpVar : public RooAbsReal {
public:
LinInterpVar() ;
LinInterpVar(const char *name, const char *title,
const RooArgList& _paramList, double nominal, std::vector<double> low, std::vector<double> high);
LinInterpVar(const char *name, const char *title);
LinInterpVar(const LinInterpVar&, const char*);
virtual TObject* clone(const char* newname) const { return new LinInterpVar(*this, newname); }
virtual ~LinInterpVar() ;
protected:
RooListProxy _paramList ;
double _nominal;
std::vector<double> _low;
std::vector<double> _high;
TIterator* _paramIter ; //! do not persist
Double_t evaluate() const;
ClassDef(RooStats::HistFactory::LinInterpVar,1) // Piecewise linear interpolation
};
}
}
#endif
|