Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooMapCatEntry.hh"

RooMapCatEntry


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

class RooMapCatEntry : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
RooMapCatEntry

    protected:
TString mangle(const char* exp) const public:
RooMapCatEntry() RooMapCatEntry(const char* exp, const RooCatType* cat) RooMapCatEntry(const RooMapCatEntry& other) virtual ~RooMapCatEntry() static TClass* Class() virtual TObject* Clone(const char* newName = "0") const virtual TClass* IsA() const Bool_t match(const char* testPattern) const Bool_t ok() RooMapCatEntry& operator=(const RooMapCatEntry&) const RooCatType& outCat() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TRegexp _regexp RooCatType _cat

Class Description

 RooMapCatEntry is an auxilary class for RooMappedCategory and defines a
 a mapping. A mapping consists of a wildcard regular expression, that
 can be matched against the input category state label and an output
 category state (RooCatType), which should be assign if the match is successfull.

RooMapCatEntry(const char* exp, const RooCatType* cat) : TNamed(exp,mangle(exp).Data()), _regexp(mangle(exp),kTRUE), _cat(*cat)

RooMapCatEntry(const RooMapCatEntry& other) : TNamed(other), _regexp(other.GetTitle(),kTRUE), _cat(other._cat)

Bool_t match(const char* testPattern) const

TString mangle(const char* exp) const
 Mangle name : escape regexp character '+'



Inline Functions


                     void ~RooMapCatEntry()
           RooMapCatEntry RooMapCatEntry(const RooMapCatEntry& other)
                 TObject* Clone(const char* newName = "0") const
                   Bool_t ok()
        const RooCatType& outCat() const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
          RooMapCatEntry& operator=(const RooMapCatEntry&)
Last CVS Update: v 1.12 2005/06/16 09:31:28 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo