2.5. Visualisation dedicated to uncertainties

ROOT integrates many high level visualisation features, but some of them, devoted to statistics are missing. As they are linked to data, it seemed relevant to develop them in this library. Many of the methods discussed throughout this section are in any case, based on the original ROOT methods that produce plots from a TTree-object: the TTree::Draw method (and subsequently the TTree::Scan when dumping on screen the content of the TDataServer).

Summary: TTree::Draw and TTree::Scan methods

  • TTree::Draw(const char* varexp=””, const char* select=””, Option_t* option=”” )

    Draw the expression varexp for specified entries.

    Returns -1 in case of error or number of selected events in case of success.

    The list of the options is located on the THistPainter class on the ROOT website.

  • TTree::Scan( const char* varexp=””, const char* select=””, Option_t* option=”” )

    Scan the expression varexp for specified entries.

    Returns -1 in case of error or number of selected events in case of success.

These tree arguments are the same on the TDataServer::draw and TDataServer::scan methods.