131   bool profile = 
false;
 
  144      if (opt.
Contains(
"entrylistarray")) {
 
  202   char *
hname = 
nullptr;
 
  229         if (
hname[
j] != 
' ') 
break;
 
  269               while (
cdummy != 
nullptr) {
 
  284               for (
j = 0; 
j < i; 
j++) {
 
  295                  Error(
"DrawSelect", 
"ncols > 3, ncols=%d", 
ncols);
 
  316                           } 
else if (
ncols < 3) {
 
  356                           Error(
"DrawSelect", 
"j>8");
 
  362               Error(
"Begin", 
"Two open or close brackets found, hname=%s", 
hname);
 
  371            if (
hname[
j] != 
' ') 
break; 
 
  380            abrt.Form(
"An object of type '%s' has the same name as the requested histo (%s)", 
oldObject->IsA()->GetName(), 
hname);
 
  389               Warning(
"Begin", 
"Deleting old histogram, since (possibly new) limits and binnings have been given");
 
  402               abrt.Form(
"An object of type '%s' has the same name as the requested event list (%s)",
 
  441               abrt.Form(
"An object of type '%s' has the same name as the requested event list (%s)",
 
  455                     Abort(
"Input and output lists are the same!");
 
  490      Abort(
"Too many variables. Use the option \"para\", \"gl5d\" or \"candle\" to display more than 4 variables.");
 
  495      Abort(
"The options \"para\" and \"candle\" require at least 2 variables.");
 
  527         Warning(
"Begin", 
"Deleting old histogram with different dimensions");
 
  536      gROOT->MakeDefCanvas();
 
  538         Abort(
"Creation of default canvas failed");
 
  634      if (profile || opt.
Contains(
"prof")) {
 
  667               if (!opt.
Contains(
"goff")) 
hp->SetDirectory(
nullptr);
 
  707               if (!opt.
Contains(
"goff")) h2->SetDirectory(
nullptr);
 
  714         if (
l == 0 || 
optSame) graph = 
true;
 
  718         if (opt.
Contains(
"box"))                                                   graph = 
false;
 
  756                  Error(
"Begin", 
"You cannot use option same when no 3D view exists");
 
  809               if (!opt.
Contains(
"goff")) 
hp->SetDirectory(
nullptr);
 
  845               if (!opt.
Contains(
"goff")) h2->SetDirectory(
nullptr);
 
  859               h3 = 
new TH3F(
hname, 
htitle.Data(), 
fNbins[2], 
fVmin[2], 
fVmax[2], 
fNbins[1], 
fVmin[1], 
fVmax[1], 
fNbins[0], 
fVmin[0], 
fVmax[0]);
 
  861               h3 = 
new TH3D(
hname, 
htitle.Data(), 
fNbins[2], 
fVmin[2], 
fVmax[2], 
fNbins[1], 
fVmin[1], 
fVmax[1], 
fNbins[0], 
fVmin[0], 
fVmax[0]);
 
  876               h3->GetXaxis()->SetTitleOffset(1.2 * 
xoffset);
 
  877               h3->GetYaxis()->SetTitleOffset(1.2 * 
yoffset);
 
  883               if (!opt.
Contains(
"goff")) h3->SetDirectory(
nullptr);
 
 
 1027   for (i = 0; i < 
ncols; ++i) {
 
 
 1136          && !((i > 0 && 
varexp[i-1] == 
':') || 
varexp[i+1] == 
':')
 
 1141            names.push_back(
varexp(prev, i - prev));
 
 1150   return names.size();
 
 
 1261         if (ww == 0) 
continue;
 
 
 1311         if (ww == 0) 
continue;
 
 1337                       "Not implemented for %s",
 
 1338                       cl ? cl->
GetName() : 
"unknown class");
 
 
 1362   delete [] 
fW;   
fW  = 
nullptr;
 
 
 1399      if (h2->CanExtendAllAxes() && h2->TestBit(
kCanDelete)) {
 
 1400         for (i = 0; i < 
fNfill; i++) {
 
 1409      pm->SetEditable(
false);
 
 1439      for (i = 0; i < 
fNfill; i++) {
 
 1459         grs->SetName(
"graphs");
 
 1460         h2->GetListOfFunctions()->Add(
grs, 
"P");
 
 1461         for (col = 0; col < ncolors; col++) {
 
 1466            grs->AddAt(
gr, col);
 
 1470      h2->SetMinimum(
fVmin[2]);
 
 1471      h2->SetMaximum(
fVmax[2]);
 
 1473      for (i = 0; i < 
fNfill; i++) {
 
 1475         if (col < 0) col = 0;
 
 1476         if (col > ncolors - 1) col = ncolors - 1;
 
 1481      for (col = 0; col < ncolors; col++) {
 
 1506         pms->SetName(
"polymarkers");
 
 1507         h3->GetListOfFunctions()->Add(
pms);
 
 1508         for (col = 0; col < ncolors; col++) {
 
 1517      h3->SetMinimum(
fVmin[3]);
 
 1518      h3->SetMaximum(
fVmax[3]);
 
 1519      for (i = 0; i < 
fNfill; i++) {
 
 1521         if (col > ncolors-1) col = ncolors-1;
 
 1522         if (col < 0) col = 0;
 
 1533         gROOT->ProcessLine(
TString::Format(
"TParallelCoord::BuildParallelCoord((TSelectorDraw*)0x%zx,0x%zx)",
 
 1534                                (
size_t)
this, (
size_t)
candle));
 
 
 1563   for (i = 0; i < 
fValSize && i < 4; i++) {
 
 1575         for (i = 0; i < 
fNfill; i++) {
 
 1585      if (h2->CanExtendAllAxes()) {
 
 1586         for (i = 0; i < 
fNfill; i++) {
 
 1598      if (
hp->CanExtendAllAxes()) {
 
 1599         for (i = 0; i < 
fNfill; i++) {
 
 1611      if (h2->CanExtendAllAxes()) {
 
 1612         for (i = 0; i < 
fNfill; i++) {
 
 1628            h2->SetBins(
aX->GetNbins(), 
xmin, 
aX->GetXmax(), 
aY->GetNbins(), 
ymin, 
aY->GetXmax());
 
 1639            if (
h2c) 
h2c->SetStats(
false);
 
 1649      pm->SetEditable(
false);
 
 1688      if (h2->CanExtendAllAxes()) {
 
 1691         for (i = 0; i < 
fValSize && i < 4; i++) {
 
 1695         for (i = 0; i < 
fNfill; i++) {
 
 1715            h2->SetBins(
aX->GetNbins(), 
xmin, 
aX->GetXmax(), 
aY->GetNbins(), 
ymin, 
aY->GetXmax());
 
 1718         for (i = 0; i < 
fNfill; i++) {
 
 1726      if (h3->CanExtendAllAxes()) {
 
 1727         for (i = 0; i < 
fNfill; i++) {
 
 1748            if (
h3c) 
h3c->SetStats(
false);
 
 1760         gPad->Range(-1, -1, 1, 1);
 
 1767      for (i = 0; i < 
fNfill; i++) {
 
 1778      if (
hp->CanExtendAllAxes()) {
 
 1779         for (i = 0; i < 
fNfill; i++) {
 
 1793      if (h3->CanExtendAllAxes()) {
 
 1794         for (i = 0; i < 
fValSize && i < 4; i++) {
 
 1798         for (i = 0; i < 
fNfill; i++) {
 
 1810         for (i = 0; i < 
fNfill; i++) {
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
 
const Int_t kCustomHistogram
 
R__EXTERN TStyle * gStyle
 
virtual Color_t GetFillColor() const
Return the fill area color.
 
virtual Style_t GetFillStyle() const
Return the fill area style.
 
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
 
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
 
virtual Color_t GetLineColor() const
Return the line color.
 
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
 
virtual Width_t GetLineWidth() const
Return the line width.
 
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
 
virtual void SetLineColor(Color_t lcolor)
Set the line color.
 
virtual Style_t GetLineStyle() const
Return the line style.
 
virtual Style_t GetMarkerStyle() const
Return the marker style.
 
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
 
virtual Color_t GetMarkerColor() const
Return the marker color.
 
virtual Size_t GetMarkerSize() const
Return the marker size.
 
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
 
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
 
Class to manage histogram axis.
 
UInt_t FirstSetBit(UInt_t startBit=0) const
Return position of first non null bit (starting from position 0 and up)
 
TClass instances represent classes, structs and namespaces in the ROOT type system.
 
static void InitializeColors()
Initialize colors used by the TCanvas based graphics (via TColor objects).
 
A specialized string object used for TTree selections.
 
A list of entries and subentries in a TTree or TChain.
 
virtual TEntryListArray * GetSubListForEntry(Long64_t entry, TTree *tree=nullptr)
Return the list holding the subentries for the given entry or 0.
 
A List of entry numbers in a TTree or TChain.
 
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
 
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
Set the value of a resource or create a new resource.
 
<div class="legacybox"><h2>Legacy Code</h2> TEventList is a legacy interface: there will be no bug fi...
 
A TGraph is an object made of two arrays X and Y with npoints each.
 
virtual void SetPoint(Int_t i, Double_t x, Double_t y)
Set x and y values for point number i.
 
1-D histogram with a double per channel (see TH1 documentation)
 
1-D histogram with a float per channel (see TH1 documentation)
 
TH1 is the base class of all histogram classes in ROOT.
 
virtual void SetDirectory(TDirectory *dir)
By default, when a histogram is created, it is added to the list of histogram objects in the current ...
 
virtual Int_t GetDimension() const
 
@ kNoStats
Don't draw stats box.
 
virtual Bool_t CanExtendAllAxes() const
Returns true if all axes are extendable.
 
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
 
virtual UInt_t SetCanExtend(UInt_t extendBitMask)
Make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
 
virtual void FillN(Int_t ntimes, const Double_t *x, const Double_t *w, Int_t stride=1)
Fill this histogram with an array x and weights w.
 
virtual void Sumw2(Bool_t flag=kTRUE)
Create structure to store sum of squares of weights.
 
2-D histogram with a double per channel (see TH1 documentation)
 
2-D histogram with a float per channel (see TH1 documentation)
 
Service class for 2-D histogram classes.
 
3-D histogram with a double per channel (see TH1 documentation)
 
3-D histogram with a float per channel (see TH1 documentation)
 
The 3-D histogram classes derived from the 1-D histogram classes.
 
static THLimitsFinder * GetLimitsFinder()
Return pointer to the current finder.
 
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
 
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
 
const char * GetName() const override
Returns name of object.
 
Mother of all ROOT objects.
 
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
 
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
 
virtual void Delete(Option_t *option="")
Delete this object.
 
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
 
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
virtual const char * GetTitle() const
Returns title of object.
 
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
 
@ kCanDelete
if object in a list can be deleted
 
Profile2D histograms are used to display the mean value of Z and its error for each cell in X,...
 
A specialized TSelector for TTree::Draw.
 
void ProcessFill(Long64_t entry) override
Called in the entry loop for all entries accepted by Select.
 
TEntryListArray * fTreeElistArray
! Pointer to Tree Event list array
 
virtual void SetEstimate(Long64_t n)
Set number of entries to estimate variable limits.
 
virtual void InitArrays(Int_t newsize)
Initialization of the primitive type arrays if the new size is bigger than the available space.
 
void Terminate() override
Called at the end of a loop on a TTree.
 
Int_t fAction
! Action type
 
Int_t GetMultiplicity() const
 
TTreeFormulaManager * fManager
Pointer to the formula manager.
 
TTreeFormula * GetVar(Int_t i) const
Return the TTreeFormula corresponding to the i-th component of the request formula (where the compone...
 
bool * fVarMultiple
![fDimension] True if fVar[i] has a variable index
 
~TSelectorDraw() override
Selector destructor.
 
TSelectorDraw()
Default selector constructor.
 
Double_t * fW
![fSelectedRows]Local buffer for weights
 
virtual UInt_t SplitNames(const TString &varexp, std::vector< TString > &names)
Build Index array for names in varexp.
 
Long64_t fCurrentSubEntry
Current subentry when fSelectMultiple is true. Used to fill TEntryListArray.
 
TTreeFormula * fSelect
Pointer to selection formula.
 
Long64_t fSelectedRows
Number of selected entries.
 
Int_t fForceRead
Force Read flag.
 
virtual void ClearFormula()
Delete internal buffers.
 
virtual void TakeAction()
Execute action for object obj fNfill times.
 
Long64_t fOldEstimate
Value of Tree fEstimate when selector is called.
 
Double_t fWeight
Tree weight (see TTree::SetWeight)
 
Int_t fNfill
! Total number of histogram fills
 
TH1 * fOldHistogram
! Pointer to previously used histogram
 
virtual bool CompileVariables(const char *varexp="", const char *selection="")
Compile input variables and selection expression.
 
Double_t * fVmax
![fDimension] Maxima of varexp columns
 
Int_t fMultiplicity
Indicator of the variability of the size of entries.
 
TTreeFormula ** fVar
![fDimension] Array of pointers to variables formula
 
virtual void ProcessFillMultiple(Long64_t entry)
Called in the entry loop for all entries accepted by Select.
 
bool fSelectMultiple
True if selection has a variable index.
 
TTree * fTree
Pointer to current Tree.
 
Int_t fDimension
Dimension of the current expression.
 
TObject * fTreeElist
Pointer to Tree Event list.
 
virtual Double_t * GetVal(Int_t i) const
Return the last values corresponding to the i-th component of the formula being processed (where the ...
 
Int_t * fNbins
![fDimension] Number of bins per dimension
 
Double_t ** fVal
![fSelectedRows][fDimension] Local buffer for the variables
 
Long64_t fDraw
! Last entry loop number when object was drawn
 
virtual void TakeEstimate()
Estimate limits for 1-D, 2-D or 3-D objects.
 
bool Notify() override
This function is called at the first entry of a new tree in a chain.
 
bool fCleanElist
True if original Tree elist must be saved.
 
bool fObjEval
True if fVar1 returns an object (or pointer to).
 
void Begin(TTree *tree) override
Called every time a loop on the tree(s) starts.
 
virtual void ProcessFillObject(Long64_t entry)
Called in the entry loop for all entries accepted by Select.
 
Double_t * fVmin
![fDimension] Minima of varexp columns
 
virtual void SetStatus(Long64_t status)
 
TList * fInput
List of objects available during processing.
 
TString fOption
Option given to TTree::Process.
 
virtual void Abort(const char *why, EAbort what=kAbortProcess)
Abort processing.
 
const char * GetOption() const override
 
TObject * fObject
! Current object if processing object (vs. TTree)
 
virtual void ResetAbort()
 
void ToLower()
Change string to lower-case.
 
const char * Data() const
 
TString & ReplaceAll(const TString &s1, const TString &s2)
 
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
Int_t GetColorPalette(Int_t i) const
Return color number i in current palette.
 
Int_t GetNumberOfColors() const
Return number of colors in the color palette.
 
A TTree represents a columnar dataset.
 
virtual Long64_t GetEstimate() const
 
virtual Double_t GetWeight() const
 
virtual TEntryList * GetEntryList()
Returns the entry list assigned to this tree.
 
virtual void SetEstimate(Long64_t nentries=1000000)
Set number of entries to estimate variable limits.
 
virtual TTree * GetTree() const
 
virtual void SetEntryList(TEntryList *list, Option_t *opt="")
Set an EntryList.
 
TEventList * GetEventList() const
 
virtual Int_t GetUpdate() const
 
virtual Long64_t GetChainOffset() const
 
virtual Double_t * GetRmax()=0
 
virtual Double_t * GetRmin()=0
 
static TView * CreateView(Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr)
Create a concrete default 3-d view via the plug-in manager.