/usr/include/root/Roo1DMomentMorphFunction.h is in libroot-roofit-dev 5.34.19+dfsg-1.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 55 56 57 58 59 60 61 62 63 64 | /*****************************************************************************
* Project: RooFit *
* author: Max Baak (mbaak@cern.ch) *
*****************************************************************************/
#ifndef ROO1DMOMENTMORPHFUNC
#define ROO1DMOMENTMORPHFUNC
#include "RooAbsReal.h"
#include "RooRealProxy.h"
#include "RooCategoryProxy.h"
#include "RooAbsReal.h"
#include "RooAbsCategory.h"
#include "RooSetProxy.h"
#include "RooArgList.h"
#include "TMatrixD.h"
#include "TVectorD.h"
#include <vector>
#include <string>
class RooChangeTracker ;
class Roo1DMomentMorphFunction : public RooAbsReal {
public:
enum Setting { Linear, NonLinear, NonLinearPosFractions, NonLinearLinFractions } ;
Roo1DMomentMorphFunction() ;
Roo1DMomentMorphFunction(const char *name, const char *title, RooAbsReal& _m, const RooArgList& varList,
const TVectorD& mrefpoints, const Setting& setting = Linear );
Roo1DMomentMorphFunction(const Roo1DMomentMorphFunction& other, const char* name=0) ;
virtual TObject* clone(const char* newname) const { return new Roo1DMomentMorphFunction(*this,newname); }
virtual ~Roo1DMomentMorphFunction();
void setMode(const Setting& setting) { _setting = setting; }
protected:
Double_t evaluate() const ;
void calculateFractions() const;
void initialize();
inline Int_t ij(const Int_t& i, const Int_t& j) const { return (i*_varList.getSize()+j); }
int idxmin(const double& m) const;
int idxmax(const double& m) const;
RooRealProxy m ;
RooSetProxy _varList ;
mutable TVectorD* _mref;
mutable TVectorD* _frac;
TIterator* _varItr ; //! do not persist
mutable TMatrixD* _M;
Setting _setting;
ClassDef(Roo1DMomentMorphFunction,1) // Your description goes here...
};
#endif
|