/usr/include/root/TF12.h is in libroot-hist-dev 5.34.30-0ubuntu8.
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 | // @(#)root/hist:$Id$
// Author: Rene Brun 05/04/2003
/*************************************************************************
* Copyright (C) 1995-2003, 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 ROOT_TF12
#define ROOT_TF12
//////////////////////////////////////////////////////////////////////////
// //
// TF12 //
// //
// Projection of a TF2 along x or y //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TF2
#include "TF2.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif
class TF12 : public TF1 {
protected:
Double_t fXY; //Value along Y (if projection X) or X (if projection Y)
Int_t fCase; //projection along X(0), or Y(1)
TF2 *fF2; //pointer to the mother TF2
public:
TF12();
TF12(const char *name, TF2 *f2, Double_t xy, Option_t *option="x");
TF12(const TF12 &f12);
virtual ~TF12();
virtual void Copy(TObject &f12) const;
virtual TF1 *DrawCopy(Option_t *option="") const;
virtual Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const;
virtual Double_t EvalPar(const Double_t *x, const Double_t *params=0);
virtual Double_t GetXY() const {return fXY;}
virtual void SavePrimitive(ostream &out, Option_t *option = "");
virtual void SetXY(Double_t xy); // *MENU*
ClassDef(TF12,1) //Projection of a TF2 along x or y
};
#endif
|