library: libRooFit #include "RooKeysPdf.h"

# RooKeysPdf

class description - source file - inheritance tree (.pdf)

## class RooKeysPdf : public RooAbsPdf

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsReal`
| <- | `RooAbsPdf`
| <- | `RooKeysPdf` |

        private:

          Double_t evaluateFull(Double_t x) const
          Double_t g(Double_t x, Double_t sigma) const

        protected:

          virtual Double_t evaluate() const

        public:

                           RooKeysPdf(const char* name, const char* title, RooAbsReal& x, RooDataSet& data, RooKeysPdf::Mirror mirror = NoMirror, Double_t rho = 1)
                           RooKeysPdf(const RooKeysPdf& other, const char* name = "0")
                   virtual ~RooKeysPdf()
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
           virtual TClass* IsA() const
                      void LoadDataSet(RooDataSet& data)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

              Int_t _nEvents
          Double_t* _dataPts            !
          Double_t* _weights            !
           Double_t _lookupTable[1001]
             Bool_t _mirrorLeft
             Bool_t _mirrorRight
             Bool_t _asymLeft
             Bool_t _asymRight
             Char_t _varName[128]
           Double_t _lo
           Double_t _hi
           Double_t _binWidth
           Double_t _rho

        protected:

          RooRealProxy _x

        public:

          static const RooKeysPdf::Mirror NoMirror
          static const RooKeysPdf::Mirror MirrorLeft
          static const RooKeysPdf::Mirror MirrorRight
          static const RooKeysPdf::Mirror MirrorBoth
          static const RooKeysPdf::Mirror MirrorAsymLeft
          static const RooKeysPdf::Mirror MirrorAsymLeftRight
          static const RooKeysPdf::Mirror MirrorAsymRight
          static const RooKeysPdf::Mirror MirrorLeftAsymRight
          static const RooKeysPdf::Mirror MirrorAsymBoth
           static const enum RooKeysPdf:: _nPoints

## Class Description

RooKeysPdf(const char *name, const char *title, RooAbsReal& x, RooDataSet& data, Mirror mirror, Double_t rho) : RooAbsPdf(name,title), _x("x","Dependent",this,x), _nEvents(0), _dataPts(0), _weights(0), _mirrorLeft(mirror==MirrorLeft || mirror==MirrorBoth || mirror==MirrorLeftAsymRight), _mirrorRight(mirror==MirrorRight || mirror==MirrorBoth || mirror==MirrorAsymLeftRight), _asymLeft(mirror==MirrorAsymLeft || mirror==MirrorAsymLeftRight || mirror==MirrorAsymBoth), _asymRight(mirror==MirrorAsymRight || mirror==MirrorLeftAsymRight || mirror==MirrorAsymBoth), _rho(rho)

     cache stuff about x

RooKeysPdf(const RooKeysPdf& other, const char* name): RooAbsPdf(other,name), _x("x",this,other._x), _nEvents(other._nEvents), _dataPts(0), _weights(0), _mirrorLeft( other._mirrorLeft ), _mirrorRight( other._mirrorRight ), _asymLeft(other._asymLeft), _asymRight(other._asymRight), _rho( other._rho )

~RooKeysPdf()

LoadDataSet( RooDataSet& data)

Double_t evaluate() const

Double_t evaluateFull( Double_t x ) const

Double_t g(Double_t x,Double_t sigma) const

### Inline Functions

               TObject* clone(const char* newname) const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:13:19 2005
Copyright (c) 2000-2005, Regents of the University of California *