Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::Detail::XRooFit::xRooNode Class Reference

Definition at line 51 of file xRooNode.h.

Classes

class  InteractiveObject
 

Public Member Functions

template<typename T >
 xRooNode (const char *name, const char *title)
 
 xRooNode (const char *name, const std::shared_ptr< TObject > &comp, const xRooNode &parent)
 
 xRooNode (const char *name, const TObject &comp, const std::shared_ptr< xRooNode > &parent)
 
 xRooNode (const char *name, const TObject &comp, const xRooNode &parent)
 
 xRooNode (const char *name="", const std::shared_ptr< TObject > &comp=nullptr, const std::shared_ptr< xRooNode > &parent=nullptr)
 
 xRooNode (const char *type, const char *name, const char *title="")
 
template<typename T >
 xRooNode (const std::shared_ptr< const T > &comp, const std::shared_ptr< xRooNode > &parent=nullptr)
 
template<typename T >
 xRooNode (const std::shared_ptr< const T > &comp, const xRooNode &parent)
 
template<typename T >
 xRooNode (const std::shared_ptr< T > &comp, const std::shared_ptr< xRooNode > &parent=nullptr)
 
template<typename T >
 xRooNode (const std::shared_ptr< T > &comp, const xRooNode &parent)
 
 xRooNode (const std::shared_ptr< TObject > &comp, const std::shared_ptr< xRooNode > &parent=nullptr)
 
 xRooNode (const TObject &comp, const std::shared_ptr< xRooNode > &parent=nullptr)
 
 xRooNode (const TObject &comp, const xRooNode &parent)
 
 xRooNode (double value)
 
virtual ~xRooNode ()
 
void _Add_ (const char *name, const char *opt)
 
xRooNode _Constrain_ (const char *what)
 
void _fitTo_ (const char *datasetName="", const char *constParValues="")
 
void _generate_ (const char *name="", bool expected=false)
 
bool _IsShowVars_ () const
 
xRooNode _Multiply_ (const char *what)
 
void _SetBinContent_ (int bin, double value, const char *par="", double parVal=1)
 
void _SetContents_ (double value)
 
void _ShowVars_ (Bool_t set=kTRUE)
 
void _Vary_ (const char *what)
 
template<typename T , typename... Args>
std::shared_ptr< T > acquire (Args &&...args)
 
std::shared_ptr< TObjectacquire (const std::shared_ptr< TObject > &arg, bool checkFactory=false, bool mustBeNew=false)
 
template<typename T , typename... Args>
std::shared_ptr< T > acquireNew (Args &&...args)
 
xRooNode Add (const xRooNode &child, Option_t *opt="")
 
RooArgList argList () const
 
xRooNode args () const
 
std::shared_ptr< xRooNodeat (const std::string &name, bool browseResult=true) const
 
const std::shared_ptr< xRooNode > & at (size_t idx, bool browseResult=true) const
 
auto begin () const -> decltype(std::vector< std::shared_ptr< xRooNode > >::begin())
 
xRooNode bins () const
 
xRooNodebrowse ()
 
void Browse (TBrowser *b=nullptr) override
 Browse object. May be overridden for another default action.
 
TGraphBuildGraph (RooAbsLValue *v=nullptr, bool includeZeros=false, TVirtualPad *fromPad=nullptr) const
 
TH1BuildHistogram (RooAbsLValue *v=nullptr, bool empty=false, bool errors=false, int binStart=1, int binEnd=0) const
 
void Checked (TObject *obj, bool val)
 
xRooNode coefs () const
 
xRooNode Combine (const xRooNode &rhs)
 
xRooNode components () const
 
xRooNode Constrain (const xRooNode &child)
 
xRooNode constraints () const
 
xRooNode consts () const
 
bool contains (const std::string &name) const
 
std::shared_ptr< TObjectconvertForAcquisition (xRooNode &acquirer, const char *opt="") const
 
xRooNode coords (bool setVals=true) const
 
xRooNode datasets () const
 
void Draw (Option_t *opt="") override
 Default Draw method for all objects.
 
auto end () const -> decltype(std::vector< std::shared_ptr< xRooNode > >::end())
 
xRooNode factors () const
 
std::shared_ptr< xRooNodefind (const std::string &name) const
 
xRooNode fitResult (const char *opt="") const
 
xRooNode floats () const
 
TObjectget () const
 
template<typename T >
T * get () const
 
double GetBinContent (int bin) const
 
std::vector< doubleGetBinContents (int binStart=1, int binEnd=0) const
 
double GetBinData (int bin, const char *dataName="obsData")
 
double GetBinError (int bin, const xRooNode &fr="") const
 
std::vector< doubleGetBinErrors (int binStart=1, int binEnd=0, const xRooNode &fr="") const
 
double GetContent () const
 
double GetError () const
 
const char * GetIconName () const override
 Returns mime type name of object.
 
TGListTreeGetListTree (TBrowser *b) const
 
const char * GetNodeType () const
 
template<typename T >
std::shared_ptr< T > getObject (const std::string &name) const
 
std::shared_ptr< TObjectgetObject (const std::string &name, const std::string &type="") const
 
std::string GetPath () const
 
const char * GetRange () const
 
TGListTreeItemGetTreeItem (TBrowser *b) const
 
TAxisGetXaxis () const
 
xRooNode globs () const
 
void Inspect () const override
 Dump contents of this object in a graphics canvas.
 
std::pair< double, doubleIntegralAndError (const xRooNode &fr="", const char *rangeName=nullptr) const
 
TClassIsA () const override
 
bool IsFolder () const override
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
 
bool IsHidden () const
 
xRooNode mainChild () const
 
xRooNode Multiply (const xRooNode &child, Option_t *opt="")
 
xRooNLLVar nll (const xRooNode &_data, const RooLinkedList &nllOpts) const
 
xRooNLLVar nll (const xRooNode &_data, std::initializer_list< RooCmdArg > nllOpts) const
 
xRooNLLVar nll (const xRooNode &_data="") const
 
xRooNode np () const
 
xRooNode obs () const
 
 operator bool () const
 
TObjectoperator-> () const
 
xRooNodeoperator= (const TObject &o)
 
std::shared_ptr< xRooNodeoperator[] (const std::string &name)
 
std::shared_ptr< xRooNodeoperator[] (size_t idx)
 
std::shared_ptr< xRooNodeparentPdf () const
 like a parent but only for use by getObject
 
xRooNode pars () const
 
xRooNode poi () const
 
void Print (Option_t *opt="") const override
 Print TNamed name and title.
 
xRooNode reduced (const std::string &range="") const
 
xRooNode Remove (const xRooNode &child)
 
xRooNode robs () const
 
void SaveAs (const char *filename="", Option_t *option="") const override
 Save this object in the file specified by filename.
 
bool SetBinContent (int bin, double value, const char *par=nullptr, double parVal=1)
 
bool SetBinData (int bin, double value, const char *dataName="obsData")
 
bool SetBinError (int bin, double value)
 
void SetChecked (bool val=true)
 
bool SetContents (const TObject &obj)
 
bool SetContents (const TObject &obj, const char *par, double parVal)
 
bool SetContents (double value)
 
bool SetContents (double value, const char *par, double parVal=1)
 
void SetFitResult (const RooFitResult *fr=nullptr)
 
void SetFitResult (const std::shared_ptr< const RooFitResult > &fr)
 
void SetFitResult (const xRooNode &fr)
 
void SetHidden (Bool_t set=kTRUE)
 
void SetName (const char *name) override
 Set the name of the TNamed.
 
void SetRange (const char *range, double low=std::numeric_limits< double >::quiet_NaN(), double high=std::numeric_limits< double >::quiet_NaN())
 
void SetTitle (const char *title) override
 Set the title of the TNamed.
 
bool SetXaxis (const char *name, const char *title, int nbins, double *bins)
 
bool SetXaxis (const char *name, const char *title, int nbins, double low, double high)
 
bool SetXaxis (const char *title, int nbins, double *bins)
 
bool SetXaxis (const char *title, int nbins, double low, double high)
 
bool SetXaxis (const RooAbsBinning &binning)
 
bool SetXaxis (int nbins, double *bins)
 
bool SetXaxis (int nbins, double low, double high)
 
xRooNode shallowCopy (const std::string &name, std::shared_ptr< xRooNode > parent=nullptr)
 
void sterilize ()
 
void Streamer (TBuffer &) override
 Stream an object of class TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
std::shared_ptr< TStylestyle (TObject *initObject=nullptr) const
 
xRooNode variations () const
 
xRooNode vars () const
 
xRooNode Vary (const xRooNode &child)
 
RooWorkspacews () const
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor.
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor.
 
void Clear (Option_t *option="") override
 Set name and title to empty strings ("").
 
TObjectClone (const char *newname="") const override
 Make a clone of an object using the Streamer facility.
 
Int_t Compare (const TObject *obj) const override
 Compare two TNamed objects.
 
void Copy (TObject &named) const override
 Copy this to obj.
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer.
 
const char * GetName () const override
 Returns name of object.
 
const char * GetTitle () const override
 Returns title of object.
 
ULong_t Hash () const override
 Return hash value for this object.
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 List TNamed name and title.
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator.
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title).
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor.
 
 TObject (const TObject &object)
 TObject copy ctor.
 
virtual ~TObject ()
 TObject destructor.
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract.
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad.
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object.
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs.
 
virtual void Delete (Option_t *option="")
 Delete this object.
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object.
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs.
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
 
virtual void Dump () const
 Dump contents of object on stdout.
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message.
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 Execute method on this object with the given parameter string, e.g.
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 Execute method on this object with parameters stored in the TObjArray.
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py).
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message.
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes.
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes.
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object.
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py).
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id.
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out.
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e.
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message.
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname".
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl.
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 IsDestructed.
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory).
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary).
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification.
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete.
 
void operator delete (void *ptr)
 Operator delete.
 
void operator delete[] (void *ptr)
 Operator delete [].
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *vp)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator.
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself.
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list.
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory.
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list.
 
void ResetBit (UInt_t f)
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out".
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f.
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object.
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message.
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked.
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory.
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory.
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static void Interactive_PLLPlot ()
 
static void Interactive_Pull ()
 
static bool isNull (const std::shared_ptr< xRooNode > &x)
 
static void SetAuxFunction (const char *title, const std::function< double(double, double, double)> &func, bool symmetrize=false)
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 Return destructor only flag.
 
static Bool_t GetObjectStat ()
 Get status of object stat flag.
 
static void SetDtorOnly (void *obj)
 Set destructor only flag.
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable.
 

Public Attributes

bool fAcquirer = false
 
int fBinNumber = -1
 
std::vector< std::shared_ptr< xRooNode > > fBrowsables
 
std::function< xRooNode(xRooNode *)> fBrowseOperation
 
std::shared_ptr< TObjectfComp
 
std::string fFolder = ""
 
bool fInterrupted = false
 appears that if was fXaxis then dialog box for SetXaxis will take as current value
 
std::shared_ptr< xRooNodefParent
 
std::shared_ptr< xRooNodefProvider
 
std::string fRange
 
int fTimes = 1
 
std::shared_ptr< TAxisfXAxis
 only here so can have char* GetRange return so can return nullptr for no range set (required for RooCategory)
 

Static Public Attributes

static std::map< std::string, std::tuple< std::function< double(double, double, double)>, bool > > auxFunctions
 
static InteractiveObjectgIntObj = nullptr
 

Additional Inherited Members

- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) }
 
enum  EStatusBits {
  kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) ,
  kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 ))
}
 
- Protected Types inherited from TObject
enum  { kOnlyPrepStep = (1ULL << ( 3 )) }
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected).
 
void MakeZombie ()
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

#include <RooFit/xRooFit/xRooNode.h>

Inheritance diagram for RooFit::Detail::XRooFit::xRooNode:
[legend]

Constructor & Destructor Documentation

◆ xRooNode() [1/14]

RooFit::Detail::XRooFit::xRooNode::xRooNode ( const char *  type,
const char *  name,
const char *  title = "" 
)

◆ xRooNode() [2/14]

template<typename T >
RooFit::Detail::XRooFit::xRooNode::xRooNode ( const char *  name,
const char *  title 
)
inline

Definition at line 70 of file xRooNode.h.

◆ xRooNode() [3/14]

xRooNode::xRooNode ( const char *  name = "",
const std::shared_ptr< TObject > &  comp = nullptr,
const std::shared_ptr< xRooNode > &  parent = nullptr 
)

Definition at line 178 of file xRooNode.cxx.

◆ xRooNode() [4/14]

RooFit::Detail::XRooFit::xRooNode::xRooNode ( const char *  name,
const std::shared_ptr< TObject > &  comp,
const xRooNode parent 
)
inline

Definition at line 78 of file xRooNode.h.

◆ xRooNode() [5/14]

RooFit::Detail::XRooFit::xRooNode::xRooNode ( const char *  name,
const TObject comp,
const std::shared_ptr< xRooNode > &  parent 
)
inline

Definition at line 82 of file xRooNode.h.

◆ xRooNode() [6/14]

RooFit::Detail::XRooFit::xRooNode::xRooNode ( const char *  name,
const TObject comp,
const xRooNode parent 
)
inline

Definition at line 87 of file xRooNode.h.

◆ xRooNode() [7/14]

xRooNode::xRooNode ( const TObject comp,
const std::shared_ptr< xRooNode > &  parent = nullptr 
)

Definition at line 348 of file xRooNode.cxx.

◆ xRooNode() [8/14]

RooFit::Detail::XRooFit::xRooNode::xRooNode ( const TObject comp,
const xRooNode parent 
)
inline

Definition at line 92 of file xRooNode.h.

◆ xRooNode() [9/14]

xRooNode::xRooNode ( const std::shared_ptr< TObject > &  comp,
const std::shared_ptr< xRooNode > &  parent = nullptr 
)

Definition at line 363 of file xRooNode.cxx.

◆ xRooNode() [10/14]

template<typename T >
RooFit::Detail::XRooFit::xRooNode::xRooNode ( const std::shared_ptr< T > &  comp,
const std::shared_ptr< xRooNode > &  parent = nullptr 
)
inline

Definition at line 95 of file xRooNode.h.

◆ xRooNode() [11/14]

template<typename T >
RooFit::Detail::XRooFit::xRooNode::xRooNode ( const std::shared_ptr< T > &  comp,
const xRooNode parent 
)
inline

Definition at line 100 of file xRooNode.h.

◆ xRooNode() [12/14]

template<typename T >
RooFit::Detail::XRooFit::xRooNode::xRooNode ( const std::shared_ptr< const T > &  comp,
const std::shared_ptr< xRooNode > &  parent = nullptr 
)
inline

Definition at line 105 of file xRooNode.h.

◆ xRooNode() [13/14]

template<typename T >
RooFit::Detail::XRooFit::xRooNode::xRooNode ( const std::shared_ptr< const T > &  comp,
const xRooNode parent 
)
inline

Definition at line 110 of file xRooNode.h.

◆ xRooNode() [14/14]

xRooNode::xRooNode ( double  value)

Definition at line 376 of file xRooNode.cxx.

◆ ~xRooNode()

xRooNode::~xRooNode ( )
virtual

Definition at line 1689 of file xRooNode.cxx.

Member Function Documentation

◆ _Add_()

void xRooNode::_Add_ ( const char *  name,
const char *  opt 
)

Definition at line 1049 of file xRooNode.cxx.

◆ _Constrain_()

xRooNode RooFit::Detail::XRooFit::xRooNode::_Constrain_ ( const char *  what)
inline

Definition at line 250 of file xRooNode.h.

◆ _fitTo_()

void xRooNode::_fitTo_ ( const char *  datasetName = "",
const char *  constParValues = "" 
)

Definition at line 2867 of file xRooNode.cxx.

◆ _generate_()

void xRooNode::_generate_ ( const char *  name = "",
bool  expected = false 
)

Definition at line 2905 of file xRooNode.cxx.

◆ _IsShowVars_()

bool xRooNode::_IsShowVars_ ( ) const

Definition at line 639 of file xRooNode.cxx.

◆ _Multiply_()

xRooNode RooFit::Detail::XRooFit::xRooNode::_Multiply_ ( const char *  what)
inline

Definition at line 248 of file xRooNode.h.

◆ _SetBinContent_()

void xRooNode::_SetBinContent_ ( int  bin,
double  value,
const char *  par = "",
double  parVal = 1 
)

Definition at line 2915 of file xRooNode.cxx.

◆ _SetContents_()

void xRooNode::_SetContents_ ( double  value)

Definition at line 2925 of file xRooNode.cxx.

◆ _ShowVars_()

void xRooNode::_ShowVars_ ( Bool_t  set = kTRUE)

Definition at line 621 of file xRooNode.cxx.

◆ _Vary_()

void xRooNode::_Vary_ ( const char *  what)

Definition at line 1058 of file xRooNode.cxx.

◆ acquire() [1/2]

template<typename T , typename... Args>
std::shared_ptr< T > RooFit::Detail::XRooFit::xRooNode::acquire ( Args &&...  args)
inline

Definition at line 189 of file xRooNode.h.

◆ acquire() [2/2]

std::shared_ptr< TObject > xRooNode::acquire ( const std::shared_ptr< TObject > &  arg,
bool  checkFactory = false,
bool  mustBeNew = false 
)

Definition at line 3696 of file xRooNode.cxx.

◆ acquireNew()

template<typename T , typename... Args>
std::shared_ptr< T > RooFit::Detail::XRooFit::xRooNode::acquireNew ( Args &&...  args)
inline

Definition at line 194 of file xRooNode.h.

◆ Add()

xRooNode xRooNode::Add ( const xRooNode child,
Option_t opt = "" 
)

Definition at line 1190 of file xRooNode.cxx.

◆ argList()

RooArgList xRooNode::argList ( ) const

Definition at line 4823 of file xRooNode.cxx.

◆ args()

xRooNode xRooNode::args ( ) const

Definition at line 4234 of file xRooNode.cxx.

◆ at() [1/2]

std::shared_ptr< xRooNode > xRooNode::at ( const std::string &  name,
bool  browseResult = true 
) const

Definition at line 3881 of file xRooNode.cxx.

◆ at() [2/2]

const std::shared_ptr< xRooNode > & RooFit::Detail::XRooFit::xRooNode::at ( size_t  idx,
bool  browseResult = true 
) const
inline

Definition at line 132 of file xRooNode.h.

◆ begin()

auto RooFit::Detail::XRooFit::xRooNode::begin ( ) const -> decltype(std::vector<std::shared_ptr<xRooNode>>::begin())
inline

Definition at line 152 of file xRooNode.h.

◆ bins()

xRooNode xRooNode::bins ( ) const

Definition at line 4576 of file xRooNode.cxx.

◆ browse()

xRooNode & xRooNode::browse ( )

Definition at line 4025 of file xRooNode.cxx.

◆ Browse()

void xRooNode::Browse ( TBrowser b = nullptr)
overridevirtual

Browse object. May be overridden for another default action.

Reimplemented from TObject.

Definition at line 446 of file xRooNode.cxx.

◆ BuildGraph()

TGraph * xRooNode::BuildGraph ( RooAbsLValue v = nullptr,
bool  includeZeros = false,
TVirtualPad fromPad = nullptr 
) const

Definition at line 4874 of file xRooNode.cxx.

◆ BuildHistogram()

TH1 * xRooNode::BuildHistogram ( RooAbsLValue v = nullptr,
bool  empty = false,
bool  errors = false,
int  binStart = 1,
int  binEnd = 0 
) const

Definition at line 5900 of file xRooNode.cxx.

◆ Checked()

void xRooNode::Checked ( TObject obj,
bool  val 
)

Definition at line 378 of file xRooNode.cxx.

◆ Class()

static TClass * RooFit::Detail::XRooFit::xRooNode::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooFit::Detail::XRooFit::xRooNode::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooFit::Detail::XRooFit::xRooNode::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 380 of file xRooNode.h.

◆ coefs()

xRooNode xRooNode::coefs ( ) const

Definition at line 4633 of file xRooNode.cxx.

◆ Combine()

xRooNode xRooNode::Combine ( const xRooNode rhs)

Definition at line 1712 of file xRooNode.cxx.

◆ components()

xRooNode xRooNode::components ( ) const

Definition at line 4367 of file xRooNode.cxx.

◆ Constrain()

xRooNode xRooNode::Constrain ( const xRooNode child)

Definition at line 1891 of file xRooNode.cxx.

◆ constraints()

xRooNode xRooNode::constraints ( ) const

Definition at line 3369 of file xRooNode.cxx.

◆ consts()

xRooNode RooFit::Detail::XRooFit::xRooNode::consts ( ) const
inline

Definition at line 216 of file xRooNode.h.

◆ contains()

bool xRooNode::contains ( const std::string &  name) const

Definition at line 3872 of file xRooNode.cxx.

◆ convertForAcquisition()

std::shared_ptr< TObject > xRooNode::convertForAcquisition ( xRooNode acquirer,
const char *  opt = "" 
) const

Definition at line 3475 of file xRooNode.cxx.

◆ coords()

xRooNode xRooNode::coords ( bool  setVals = true) const

Definition at line 1023 of file xRooNode.cxx.

◆ datasets()

xRooNode xRooNode::datasets ( ) const

Definition at line 4834 of file xRooNode.cxx.

◆ DeclFileName()

static const char * RooFit::Detail::XRooFit::xRooNode::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 380 of file xRooNode.h.

◆ Draw()

void xRooNode::Draw ( Option_t option = "")
overridevirtual

Default Draw method for all objects.

Reimplemented from TObject.

Definition at line 6368 of file xRooNode.cxx.

◆ end()

auto RooFit::Detail::XRooFit::xRooNode::end ( ) const -> decltype(std::vector<std::shared_ptr<xRooNode>>::end())
inline

Definition at line 156 of file xRooNode.h.

◆ factors()

xRooNode xRooNode::factors ( ) const

Definition at line 4666 of file xRooNode.cxx.

◆ find()

std::shared_ptr< xRooNode > xRooNode::find ( const std::string &  name) const

Definition at line 3348 of file xRooNode.cxx.

◆ fitResult()

xRooNode xRooNode::fitResult ( const char *  opt = "") const

Definition at line 5105 of file xRooNode.cxx.

◆ floats()

xRooNode xRooNode::floats ( ) const

Definition at line 4247 of file xRooNode.cxx.

◆ get() [1/2]

TObject * RooFit::Detail::XRooFit::xRooNode::get ( ) const
inline

Definition at line 175 of file xRooNode.h.

◆ get() [2/2]

template<typename T >
T * RooFit::Detail::XRooFit::xRooNode::get ( ) const
inline

Definition at line 177 of file xRooNode.h.

◆ GetBinContent()

double RooFit::Detail::XRooFit::xRooNode::GetBinContent ( int  bin) const
inline

Definition at line 293 of file xRooNode.h.

◆ GetBinContents()

std::vector< double > xRooNode::GetBinContents ( int  binStart = 1,
int  binEnd = 0 
) const

Definition at line 6163 of file xRooNode.cxx.

◆ GetBinData()

double xRooNode::GetBinData ( int  bin,
const char *  dataName = "obsData" 
)

Definition at line 6155 of file xRooNode.cxx.

◆ GetBinError()

double xRooNode::GetBinError ( int  bin,
const xRooNode fr = "" 
) const

Definition at line 7820 of file xRooNode.cxx.

◆ GetBinErrors()

std::vector< double > xRooNode::GetBinErrors ( int  binStart = 1,
int  binEnd = 0,
const xRooNode fr = "" 
) const

Definition at line 7895 of file xRooNode.cxx.

◆ GetContent()

double RooFit::Detail::XRooFit::xRooNode::GetContent ( ) const
inline

Definition at line 300 of file xRooNode.h.

◆ GetError()

double RooFit::Detail::XRooFit::xRooNode::GetError ( ) const
inline

Definition at line 301 of file xRooNode.h.

◆ GetIconName()

const char * xRooNode::GetIconName ( ) const
overridevirtual

Returns mime type name of object.

Used by the TBrowser (via TGMimeTypes class). Override for class of which you would like to have different icons for objects of the same class.

Reimplemented from TObject.

Definition at line 931 of file xRooNode.cxx.

◆ GetListTree()

TGListTree * xRooNode::GetListTree ( TBrowser b) const

Definition at line 3986 of file xRooNode.cxx.

◆ GetNodeType()

const char * xRooNode::GetNodeType ( ) const

Definition at line 1002 of file xRooNode.cxx.

◆ getObject() [1/2]

template<typename T >
std::shared_ptr< T > RooFit::Detail::XRooFit::xRooNode::getObject ( const std::string &  name) const
inline

Definition at line 200 of file xRooNode.h.

◆ getObject() [2/2]

std::shared_ptr< TObject > xRooNode::getObject ( const std::string &  name,
const std::string &  type = "" 
) const

Definition at line 724 of file xRooNode.cxx.

◆ GetPath()

std::string xRooNode::GetPath ( ) const

Definition at line 1682 of file xRooNode.cxx.

◆ GetRange()

const char * xRooNode::GetRange ( ) const

Definition at line 5330 of file xRooNode.cxx.

◆ GetTreeItem()

TGListTreeItem * xRooNode::GetTreeItem ( TBrowser b) const

Definition at line 3962 of file xRooNode.cxx.

◆ GetXaxis()

TAxis * xRooNode::GetXaxis ( ) const

Definition at line 782 of file xRooNode.cxx.

◆ globs()

xRooNode xRooNode::globs ( ) const

Definition at line 4195 of file xRooNode.cxx.

◆ Inspect()

void xRooNode::Inspect ( ) const
overridevirtual

Dump contents of this object in a graphics canvas.

Same action as Dump but in a graphical form. In addition pointers to other objects can be followed.

The following picture is the Inspect of a histogram object:

Reimplemented from TObject.

Definition at line 6218 of file xRooNode.cxx.

◆ IntegralAndError()

std::pair< double, double > xRooNode::IntegralAndError ( const xRooNode fr = "",
const char *  rangeName = nullptr 
) const

Definition at line 7828 of file xRooNode.cxx.

◆ Interactive_PLLPlot()

void xRooNode::Interactive_PLLPlot ( )
static

Definition at line 140 of file xRooNode_interactive.cxx.

◆ Interactive_Pull()

BEGIN_XROOFIT_NAMESPACE void xRooNode::Interactive_Pull ( )
static

Definition at line 30 of file xRooNode_interactive.cxx.

◆ IsA()

TClass * RooFit::Detail::XRooFit::xRooNode::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TNamed.

Definition at line 380 of file xRooNode.h.

◆ IsFolder()

bool xRooNode::IsFolder ( ) const
overridevirtual

Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).

Reimplemented from TObject.

Definition at line 648 of file xRooNode.cxx.

◆ IsHidden()

bool xRooNode::IsHidden ( ) const

Definition at line 1704 of file xRooNode.cxx.

◆ isNull()

static bool RooFit::Detail::XRooFit::xRooNode::isNull ( const std::shared_ptr< xRooNode > &  x)
inlinestatic

Definition at line 62 of file xRooNode.h.

◆ mainChild()

xRooNode xRooNode::mainChild ( ) const

Definition at line 6196 of file xRooNode.cxx.

◆ Multiply()

xRooNode xRooNode::Multiply ( const xRooNode child,
Option_t opt = "" 
)

Definition at line 2012 of file xRooNode.cxx.

◆ nll() [1/3]

xRooNLLVar RooFit::Detail::XRooFit::xRooNode::nll ( const xRooNode _data,
const RooLinkedList nllOpts 
) const

◆ nll() [2/3]

xRooNLLVar xRooNode::nll ( const xRooNode _data,
std::initializer_list< RooCmdArg nllOpts 
) const

Definition at line 5349 of file xRooNode.cxx.

◆ nll() [3/3]

xRooNLLVar xRooNode::nll ( const xRooNode _data = "") const

Definition at line 5344 of file xRooNode.cxx.

◆ np()

xRooNode xRooNode::np ( ) const

Definition at line 4273 of file xRooNode.cxx.

◆ obs()

xRooNode xRooNode::obs ( ) const

Definition at line 4182 of file xRooNode.cxx.

◆ operator bool()

RooFit::Detail::XRooFit::xRooNode::operator bool ( ) const
inlineexplicit

Definition at line 129 of file xRooNode.h.

◆ operator->()

TObject * RooFit::Detail::XRooFit::xRooNode::operator-> ( ) const
inline

Definition at line 182 of file xRooNode.h.

◆ operator=()

xRooNode & xRooNode::operator= ( const TObject o)

Definition at line 2773 of file xRooNode.cxx.

◆ operator[]() [1/2]

std::shared_ptr< xRooNode > xRooNode::operator[] ( const std::string &  name)

Definition at line 3925 of file xRooNode.cxx.

◆ operator[]() [2/2]

std::shared_ptr< xRooNode > RooFit::Detail::XRooFit::xRooNode::operator[] ( size_t  idx)
inline

Definition at line 148 of file xRooNode.h.

◆ parentPdf()

std::shared_ptr< xRooNode > xRooNode::parentPdf ( ) const

like a parent but only for use by getObject

Definition at line 5511 of file xRooNode.cxx.

◆ pars()

xRooNode xRooNode::pars ( ) const

Definition at line 4221 of file xRooNode.cxx.

◆ poi()

xRooNode xRooNode::poi ( ) const

Definition at line 4260 of file xRooNode.cxx.

◆ Print()

void xRooNode::Print ( Option_t option = "") const
overridevirtual

Print TNamed name and title.

Reimplemented from TNamed.

Definition at line 1806 of file xRooNode.cxx.

◆ reduced()

xRooNode xRooNode::reduced ( const std::string &  range = "") const

Definition at line 5521 of file xRooNode.cxx.

◆ Remove()

xRooNode xRooNode::Remove ( const xRooNode child)

Definition at line 1068 of file xRooNode.cxx.

◆ robs()

xRooNode xRooNode::robs ( ) const

Definition at line 4208 of file xRooNode.cxx.

◆ SaveAs()

void xRooNode::SaveAs ( const char *  filename = "",
Option_t option = "" 
) const
overridevirtual

Save this object in the file specified by filename.

  • if "filename" contains ".root" the object is saved in filename as root binary file.
  • if "filename" contains ".xml" the object is saved in filename as a xml ascii file.
  • if "filename" contains ".cc" the object is saved in filename as C code independant from ROOT. The code is generated via SavePrimitive(). Specific code should be implemented in each object to handle this option. Like in TF1::SavePrimitive().
  • otherwise the object is written to filename as a CINT/C++ script. The C++ code to rebuild this object is generated via SavePrimitive(). The "option" parameter is passed to SavePrimitive. By default it is an empty string. It can be used to specify the Draw option in the code generated by SavePrimitive.

    The function is available via the object context menu.

Reimplemented from TObject.

Definition at line 7776 of file xRooNode.cxx.

◆ SetAuxFunction()

void xRooNode::SetAuxFunction ( const char *  title,
const std::function< double(double, double, double)> &  func,
bool  symmetrize = false 
)
static

Definition at line 145 of file xRooNode.cxx.

◆ SetBinContent()

bool xRooNode::SetBinContent ( int  bin,
double  value,
const char *  par = nullptr,
double  parVal = 1 
)

Definition at line 2936 of file xRooNode.cxx.

◆ SetBinData()

bool xRooNode::SetBinData ( int  bin,
double  value,
const char *  dataName = "obsData" 
)

Definition at line 3175 of file xRooNode.cxx.

◆ SetBinError()

bool xRooNode::SetBinError ( int  bin,
double  value 
)

Definition at line 3180 of file xRooNode.cxx.

◆ SetChecked()

void RooFit::Detail::XRooFit::xRooNode::SetChecked ( bool  val = true)
inline

Definition at line 331 of file xRooNode.h.

◆ SetContents() [1/4]

bool RooFit::Detail::XRooFit::xRooNode::SetContents ( const TObject obj)
inline

Definition at line 258 of file xRooNode.h.

◆ SetContents() [2/4]

bool RooFit::Detail::XRooFit::xRooNode::SetContents ( const TObject obj,
const char *  par,
double  parVal 
)
inline

Definition at line 265 of file xRooNode.h.

◆ SetContents() [3/4]

bool xRooNode::SetContents ( double  value)

Definition at line 2751 of file xRooNode.cxx.

◆ SetContents() [4/4]

bool RooFit::Detail::XRooFit::xRooNode::SetContents ( double  value,
const char *  par,
double  parVal = 1 
)

◆ SetFitResult() [1/3]

void xRooNode::SetFitResult ( const RooFitResult fr = nullptr)

Definition at line 5070 of file xRooNode.cxx.

◆ SetFitResult() [2/3]

void RooFit::Detail::XRooFit::xRooNode::SetFitResult ( const std::shared_ptr< const RooFitResult > &  fr)
inline

Definition at line 309 of file xRooNode.h.

◆ SetFitResult() [3/3]

void xRooNode::SetFitResult ( const xRooNode fr)

Definition at line 5097 of file xRooNode.cxx.

◆ SetHidden()

void xRooNode::SetHidden ( Bool_t  set = kTRUE)

Definition at line 1694 of file xRooNode.cxx.

◆ SetName()

void xRooNode::SetName ( const char *  name)
overridevirtual

Set the name of the TNamed.

WARNING: if the object is a member of a THashTable or THashList container the container must be Rehash()'ed after SetName(). For example the list of objects in the current directory is a THashList.

Reimplemented from TNamed.

Definition at line 4011 of file xRooNode.cxx.

◆ SetRange()

void xRooNode::SetRange ( const char *  range,
double  low = std::numeric_limits<double>::quiet_NaN(),
double  high = std::numeric_limits<double>::quiet_NaN() 
)

Definition at line 5315 of file xRooNode.cxx.

◆ SetTitle()

void RooFit::Detail::XRooFit::xRooNode::SetTitle ( const char *  title)
inlineoverridevirtual

Set the title of the TNamed.

Reimplemented from TNamed.

Definition at line 120 of file xRooNode.h.

◆ SetXaxis() [1/7]

bool xRooNode::SetXaxis ( const char *  name,
const char *  title,
int  nbins,
double bins 
)

Definition at line 3811 of file xRooNode.cxx.

◆ SetXaxis() [2/7]

bool xRooNode::SetXaxis ( const char *  name,
const char *  title,
int  nbins,
double  low,
double  high 
)

Definition at line 3804 of file xRooNode.cxx.

◆ SetXaxis() [3/7]

bool RooFit::Detail::XRooFit::xRooNode::SetXaxis ( const char *  title,
int  nbins,
double bins 
)
inline

Definition at line 284 of file xRooNode.h.

◆ SetXaxis() [4/7]

bool RooFit::Detail::XRooFit::xRooNode::SetXaxis ( const char *  title,
int  nbins,
double  low,
double  high 
)
inline

Definition at line 280 of file xRooNode.h.

◆ SetXaxis() [5/7]

bool xRooNode::SetXaxis ( const RooAbsBinning binning)

Definition at line 3818 of file xRooNode.cxx.

◆ SetXaxis() [6/7]

bool RooFit::Detail::XRooFit::xRooNode::SetXaxis ( int  nbins,
double bins 
)
inline

Definition at line 286 of file xRooNode.h.

◆ SetXaxis() [7/7]

bool RooFit::Detail::XRooFit::xRooNode::SetXaxis ( int  nbins,
double  low,
double  high 
)
inline

Definition at line 285 of file xRooNode.h.

◆ shallowCopy()

xRooNode xRooNode::shallowCopy ( const std::string &  name,
std::shared_ptr< xRooNode parent = nullptr 
)

Definition at line 1752 of file xRooNode.cxx.

◆ sterilize()

void xRooNode::sterilize ( )

Definition at line 5835 of file xRooNode.cxx.

◆ Streamer()

void RooFit::Detail::XRooFit::xRooNode::Streamer ( TBuffer R__b)
overridevirtual

Stream an object of class TObject.

Reimplemented from TNamed.

◆ StreamerNVirtual()

void RooFit::Detail::XRooFit::xRooNode::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 380 of file xRooNode.h.

◆ style()

std::shared_ptr< TStyle > xRooNode::style ( TObject initObject = nullptr) const

Definition at line 3648 of file xRooNode.cxx.

◆ variations()

xRooNode xRooNode::variations ( ) const

Definition at line 4763 of file xRooNode.cxx.

◆ vars()

xRooNode xRooNode::vars ( ) const

Definition at line 4287 of file xRooNode.cxx.

◆ Vary()

xRooNode xRooNode::Vary ( const xRooNode child)

Definition at line 2441 of file xRooNode.cxx.

◆ ws()

RooWorkspace * xRooNode::ws ( ) const

Definition at line 3357 of file xRooNode.cxx.

Member Data Documentation

◆ auxFunctions

std::map< std::string, std::tuple< std::function< double(double, double, double)>, bool > > xRooNode::auxFunctions
static

Definition at line 57 of file xRooNode.h.

◆ fAcquirer

bool RooFit::Detail::XRooFit::xRooNode::fAcquirer = false

Definition at line 370 of file xRooNode.h.

◆ fBinNumber

int RooFit::Detail::XRooFit::xRooNode::fBinNumber = -1

Definition at line 355 of file xRooNode.h.

◆ fBrowsables

std::vector<std::shared_ptr<xRooNode> > RooFit::Detail::XRooFit::xRooNode::fBrowsables

Definition at line 377 of file xRooNode.h.

◆ fBrowseOperation

std::function<xRooNode(xRooNode *)> RooFit::Detail::XRooFit::xRooNode::fBrowseOperation

Definition at line 378 of file xRooNode.h.

◆ fComp

std::shared_ptr<TObject> RooFit::Detail::XRooFit::xRooNode::fComp
mutable

Definition at line 353 of file xRooNode.h.

◆ fFolder

std::string RooFit::Detail::XRooFit::xRooNode::fFolder = ""

Definition at line 357 of file xRooNode.h.

◆ fInterrupted

bool RooFit::Detail::XRooFit::xRooNode::fInterrupted = false
mutable

appears that if was fXaxis then dialog box for SetXaxis will take as current value

Definition at line 368 of file xRooNode.h.

◆ fParent

std::shared_ptr<xRooNode> RooFit::Detail::XRooFit::xRooNode::fParent

Definition at line 356 of file xRooNode.h.

◆ fProvider

std::shared_ptr<xRooNode> RooFit::Detail::XRooFit::xRooNode::fProvider

Definition at line 371 of file xRooNode.h.

◆ fRange

std::string RooFit::Detail::XRooFit::xRooNode::fRange
mutable

Definition at line 362 of file xRooNode.h.

◆ fTimes

int RooFit::Detail::XRooFit::xRooNode::fTimes = 1

Definition at line 354 of file xRooNode.h.

◆ fXAxis

std::shared_ptr<TAxis> RooFit::Detail::XRooFit::xRooNode::fXAxis
mutable

only here so can have char* GetRange return so can return nullptr for no range set (required for RooCategory)

Definition at line 366 of file xRooNode.h.

◆ gIntObj

BEGIN_XROOFIT_NAMESPACE xRooNode::InteractiveObject * xRooNode::gIntObj = nullptr
static

Definition at line 351 of file xRooNode.h.

Libraries for RooFit::Detail::XRooFit::xRooNode:

The documentation for this class was generated from the following files: