63 if (
TCanvas* c = dynamic_cast<TCanvas *> (obj)) {
76 TString &selector, TString &objname)
81 info.
Parse(var, sel, opt);
97 new TCanvas(name,
"FeedBack", 800,30,700,500);
100 (
TCanvas *)
gROOT->GetListOfCanvases()->FindObject(name) : 0;
114 : fStatus(0), fManager(0), fTree(0)
143 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
154 PDB(kDraw,1)
Info(
"Notify",
"Enter");
174 PDB(kDraw,1)
Info(
"Begin",
"Enter tree = %p", tree);
227 PDB(kDraw,3)
Info(
"ProcessSingle",
"w[%d] = %f", i, w);
232 v[j] =
fVar[j]->EvalInstance(i);
234 PDB(kDraw,4)
Info(
"Process",
"v[0] = %f", v[0]);
246 PDB(kDraw,3)
Info(
"Process",
"enter entry = %lld", entry);
248 fTree->LoadTree(entry);
251 PDB(kDraw,3)
Info(
"Process",
"ndata = %d", ndata);
253 for (
Int_t i=0;i<ndata;i++) {
266 PDB(kDraw,1)
Info(
"SlaveTerminate",
"Enter");
275 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
297 for (
Int_t i = 0; i < 4; i++)
312 TString
name = objname;
314 gROOT->MakeDefCanvas();
316 PDB(kDraw,2)
Info(
"SetCanvas",
"created canvas %s", name.Data());
319 Info(
"SetCanvas",
"using canvas %s",
gPad->GetName());
329 PDB(kDraw,2)
Info(
"SetDrawAtt",
"setting attributes for %s", o->
GetName());
339 al->SetLineStyle((
Style_t)att);
342 al->SetLineWidth((
Width_t)att);
343 PDB(kDraw,2)
Info(
"SetDrawAtt",
"line: c:%d, s:%d, wd:%d",
344 al->GetLineColor(), al->GetLineStyle(), al->GetLineWidth());
355 Info(
"SetDrawAtt",
"att: %d", att);
362 PDB(kDraw,2)
Info(
"SetDrawAtt",
"marker: c:%d, s:%d, sz:%f",
375 PDB(kDraw,2)
Info(
"SetDrawAtt",
"area: c:%d, s:%d",
392 m.Form(
"%s::%s: %s", IsA()->
GetName(), sub, mesg);
394 m.Form(
"TProofDraw::%s: %s", sub, mesg);
410 while(names.Tokenize(
n, from,
",")) {
412 na.Form(
"alias:%s",
n.Data());
419 if (
fTree->GetListOfAliases())
fTree->GetListOfAliases()->Print();
437 if (!
fVar[i]->GetNdim()) {
439 Error(
"CompileVariables",
"Error compiling expression");
440 SetError(
"CompileVariables",
"Error compiling variables");
527 PDB(kDraw,1)
Info(
"Begin",
"Enter tree = %p", tree);
551 Error(
"Begin",
"Wrong dimension");
570 double binsx, minx, maxx;
590 Error(
"DefVar1D",
"Cannot find varexp on the fInput");
605 double binsx, minx, maxx;
606 double binsy, miny, maxy;
636 Error(
"DefVar2D",
"Cannot find varexp on the fInput");
651 double binsx, minx, maxx;
652 double binsy, miny, maxy;
653 double binsz, minz, maxz;
694 Error(
"DefVar3D",
"Cannot find varexp on the fInput");
704 PDB(kDraw,1)
Info(
"DefVar",
"Enter");
728 Error(
"DefVar",
"Wrong dimension");
742 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
765 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
783 if (objname && strlen(objname) > 0 && strcmp(objname,
"htemp")) {
787 PDB(kDraw,1)
Info(
"SlaveBegin",
"original histogram found");
789 PDB(kDraw,1)
Info(
"SlaveBegin",
"original object '%s' not found"
790 " or it is not a histogram", objname);
796 Int_t countx = 100;
double minx = 0, maxx = 0;
797 Int_t county = 100;
double miny = 0, maxy = 0;
798 Int_t countz = 100;
double minz = 0, maxz = 0;
811 Error(
"SlaveBegin",
"Impossible - Wrong number of parameters");
830 Info(
"Begin",
"Wrong dimension");
836 if (strstr(opt->GetTitle(),
"rebin"))
869 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
910 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
914 Error(
"Init",
"Impossible - fElist cannot be 0");
928 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
970 PDB(kDraw,1)
Info(
"SlaveTerminate",
"Enter");
999 Error(
"Terminate",
"Cannot find output EventList");
1010 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
1021 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
1060 PDB(kDraw,1)
Info(
"SlaveTerminate",
"Enter");
1089 Error(
"Terminate",
"Cannot find output EventList");
1100 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
1123 PDB(kDraw,1)
Info(
"DefVar",
"Enter");
1144 double binsx, minx, maxx;
1165 Error(
"DefVar",
"Cannot find varexp on the fInput");
1175 PDB(kDraw,1)
Info(
"Begin",
"Enter tree = %p", tree);
1211 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
1235 PDB(kDraw,1)
Info(
"SlaveBegin",
"Original profile histogram found");
1239 Error(
"SlaveBegin",
"Original object found but it is not a histogram");
1241 Int_t countx = 100;
double minx = 0, maxx = 0;
1248 Error(
"SlaveBegin",
"Impossible - Wrong number of parameters");
1249 TString constructorOptions =
"";
1250 if (
fOption.Contains(
"profs"))
1251 constructorOptions =
"s";
1252 else if (
fOption.Contains(
"profi"))
1253 constructorOptions =
"i";
1254 else if (
fOption.Contains(
"profg"))
1255 constructorOptions =
"g";
1260 constructorOptions);
1265 if (strstr(opt->GetTitle(),
"rebin"))
1291 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
1332 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
1355 PDB(kDraw,1)
Info(
"DefVar",
"Enter");
1375 double binsx, minx, maxx;
1376 double binsy, miny, maxy;
1408 Error(
"DefVar",
"Cannot find varexp on the fInput");
1418 PDB(kDraw,1)
Info(
"Begin",
"Enter tree = %p", tree);
1451 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
1473 PDB(kDraw,1)
Info(
"SlaveBegin",
"Original profile histogram found");
1476 Error(
"SlaveBegin",
"Original object found but it is not a histogram");
1478 Int_t countx = 40;
double minx = 0, maxx = 0;
1479 Int_t county = 40;
double miny = 0, maxy = 0;
1489 Error(
"SlaveBegin",
"Impossible - Wrong number of parameters");
1491 TString constructorOptions =
"";
1492 if (
fOption.Contains(
"profs"))
1493 constructorOptions =
"s";
1494 else if (
fOption.Contains(
"profi"))
1495 constructorOptions =
"i";
1496 else if (
fOption.Contains(
"profg"))
1497 constructorOptions =
"g";
1503 constructorOptions);
1508 if (strstr(opt->GetTitle(),
"rebin"))
1534 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
1575 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
1597 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
1636 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
1646 if ( (hist = dynamic_cast<TH2F*> (orig)) == 0 ) {
1649 double binsx, minx, maxx;
1650 double binsy, miny, maxy;
1662 (
Int_t) binsx, minx, maxx, (
Int_t) binsy, miny, maxy);
1675 if (hist->CanExtendAllAxes() && hist->TestBit(
kCanDelete)) {
1708 hist->Fill(x,
y, 1);
1723 PDB(kDraw,1)
Info(
"Init",
"Enter tree = %p", tree);
1740 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
1779 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
1787 if (dynamic_cast<TPolyMarker3D*> (o)) {
1798 if ( (hist = dynamic_cast<TH3F*> (orig)) == 0 ) {
1801 if (
fOption.Contains(
"same")) {
1806 double binsx, minx, maxx;
1807 double binsy, miny, maxy;
1808 double binsz, minz, maxz;
1825 (
Int_t) binsx, minx, maxx,
1826 (
Int_t) binsy, miny, maxy,
1827 (
Int_t) binsz, minz, maxz);
1835 checkPrevious =
kTRUE;
1837 Info(
"Terminate",
"found histo '%s' in gDirectory",
1847 if (hist->CanExtendAllAxes() && hist->TestBit(
kCanDelete)) {
1848 rmin[0] = rmax[0] = rmin[1] = rmax[1] = rmin[2] = rmax[2] = 0;
1856 for (
int ii = 0; ii < 3; ii++) {
1857 if (v[ii] < rmin[ii]) rmin[ii] = v[ii];
1858 if (v[ii] > rmax[ii]) rmax[ii] = v[ii];
1862 if (checkPrevious) {
1863 rmin[0] = (hist->GetXaxis()->GetXmin() < rmin[0]) ? hist->GetXaxis()->GetXmin()
1865 rmin[1] = (hist->GetYaxis()->GetXmin() < rmin[1]) ? hist->GetYaxis()->GetXmin()
1867 rmin[2] = (hist->GetZaxis()->GetXmin() < rmin[2]) ? hist->GetZaxis()->GetXmin()
1869 rmax[0] = (hist->GetXaxis()->GetXmax() > rmax[0]) ? hist->GetXaxis()->GetXmax()
1871 rmax[1] = (hist->GetYaxis()->GetXmax() > rmax[1]) ? hist->GetYaxis()->GetXmax()
1873 rmax[2] = (hist->GetZaxis()->GetXmax() > rmax[2]) ? hist->GetZaxis()->GetXmax()
1878 rmin[0], rmax[0], rmin[1], rmax[1], rmin[2], rmax[2]);
1891 gPad->Range(-1,-1,1,1);
1903 hist->Fill(x,
y,
z, 1);
1917 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
1936 fPoints->SetName(
"PROOF_SCATTERPLOT");
1958 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
1971 if ( (hist = dynamic_cast<TH2F*> (orig)) == 0 ) {
1974 double binsx, minx, maxx;
1975 double binsy, miny, maxy;
1987 (
Int_t) binsx, minx, maxx, (
Int_t) binsy, miny, maxy);
2001 rmin[0] = rmax[0] = rmin[1] = rmax[1] = rmin[2] = rmax[2] = 0;
2002 if (points->size() > 0) {
2003 rmin[0] = rmax[0] = (*points)[0].fX;
2004 rmin[1] = rmax[1] = (*points)[0].fY;
2005 rmin[2] = rmax[2] = (*points)[0].fZ;
2007 for (vector<Point3D_t>::const_iterator i = points->begin() + 1; i < points->end(); ++i) {
2008 if (rmax[0] < i->fX) rmax[0] = i->fX;
2009 if (rmax[1] < i->fY) rmax[1] = i->fY;
2010 if (rmax[2] < i->fZ) rmax[2] = i->fZ;
2011 if (rmin[0] > i->fX) rmin[0] = i->fX;
2012 if (rmin[1] > i->fY) rmin[1] = i->fY;
2013 if (rmin[2] > i->fZ) rmin[2] = i->fZ;
2016 if (hist->CanExtendAllAxes() && hist->TestBit(
kCanDelete)) {
2018 rmin[1], rmax[1], rmin[2], rmax[2]);
2030 hist->GetListOfFunctions()->Add(grs,
"P");
2031 for (col=0;col<ncolors;col++) {
2040 for (vector<Point3D_t>::const_iterator i = points->begin();
2041 i < points->end(); ++i) {
2042 col =
Int_t((ncolors-1)*((i->fX-rmin[0])/(rmax[0]-rmin[0])));
2043 if (col < 0) col = 0;
2044 if (col > ncolors-1) col = ncolors-1;
2049 for (col=0;col<ncolors;col++) {
2072 PDB(kDraw,1)
Info(
"SlaveBegin",
"Enter tree = %p", tree);
2091 fPoints->SetName(
"PROOF_SCATTERPLOT");
2114 PDB(kDraw,1)
Info(
"Terminate",
"Enter");
2130 double binsx, minx, maxx;
2131 double binsy, miny, maxy;
2132 double binsz, minz, maxz;
2149 (
Int_t) binsx, minx, maxx,
2150 (
Int_t) binsy, miny, maxy,
2151 (
Int_t) binsz, minz, maxz);
2166 rmin[0] = rmax[0] = rmin[1] = rmax[1] = rmin[2] = rmax[2] = 0;
2167 if (points->size() > 0) {
2168 rmin[0] = rmax[0] = (*points)[0].fX;
2169 rmin[1] = rmax[1] = (*points)[0].fY;
2170 rmin[2] = rmax[2] = (*points)[0].fZ;
2171 rmin[3] = rmax[3] = (*points)[0].fT;
2173 for (vector<Point4D_t>::const_iterator i = points->begin() + 1; i < points->end(); ++i) {
2174 if (rmax[0] < i->fX) rmax[0] = i->fX;
2175 if (rmax[1] < i->fY) rmax[1] = i->fY;
2176 if (rmax[2] < i->fZ) rmax[2] = i->fZ;
2177 if (rmax[3] < i->fT) rmax[3] = i->fT;
2178 if (rmin[0] > i->fX) rmin[0] = i->fX;
2179 if (rmin[1] > i->fY) rmin[1] = i->fY;
2180 if (rmin[2] > i->fZ) rmin[2] = i->fZ;
2181 if (rmin[3] > i->fT) rmin[3] = i->fT;
2184 if (hist->CanExtendAllAxes() && hist->TestBit(
kCanDelete)) {
2186 rmin[1], rmax[1], rmin[2], rmax[2], rmin[3], rmax[3]);
2197 hist->GetListOfFunctions()->Add(pms);
2198 for (col=0;col<ncolors;col++) {
2203 pms->
AddAt(pm3d,col);
2206 for (vector<Point4D_t>::const_iterator i = points->begin();
2207 i < points->end(); ++i) {
2209 if (col < 0) col = 0;
2210 if (col > ncolors-1) col = ncolors-1;
virtual void Begin(TTree *)
Executed by the client before processing.
virtual void Enter(Long64_t entry)
Enter element entry into the list.
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)=0
virtual const char * GetTitle() const
Returns title of object.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual void Terminate()
See TProofDraw::Terminate().
virtual void Terminate()
See TProofDraw::Terminate().
TSelectorList * fOutput
! List of objects created during processing
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the histgram with given values.
virtual void SlaveBegin(TTree *)
Executed by each slave before processing.
virtual void ClearFormula()
Delete internal buffers.
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
3-D histogram with a float per channel (see TH1 documentation)}
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the scatter plot with the given values.
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the eventlist with given values.
TObject * FindObject(const char *name) const
Find object using its name.
void SetDrawAtt(TObject *o)
Set the drawing attributes from the input list.
R__EXTERN TStyle * gStyle
virtual void Terminate()
See TProofDraw::Terminate().
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
void SetError(const char *sub, const char *mesg)
Sets the error status.
void Add(const char *mesg)
Add an error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
virtual Int_t Size() const
TObject * GetOriginal() const
void DefVar3D()
Define variables for 3D histogram.
static THLimitsFinder * GetLimitsFinder()
Return pointer to the current finder.
virtual TObject * Remove(TObject *obj)
Remove object from array.
Implement Tree drawing using PROOF.
1-D histogram with a float per channel (see TH1 documentation)}
virtual void Init(TTree *)
Init the tree.
virtual void OptimizeStorage()
Checks if the array representation is more economical and if so, switches to it.
virtual void Init(TTree *)
See TProofDraw::Init().
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual TObject * FindObject(const char *name) const
Delete a TObjLink object.
virtual void Terminate()
See TProofDraw::Terminate().
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
Int_t GetNoParameters() const
virtual Int_t FindGoodLimits(TH1 *h, Double_t xmin, Double_t xmax)
Compute the best axis limits for the X axis.
TProofVectorContainer< Point4D_t > * fPoints
virtual Double_t GetEntries() const
Return the current number of entries.
TString GetObjectName() const
void SetObjectName(const char *s)
virtual void Begin3D(TTree *t)
Initialization for 3D histogram.
virtual void GetPoint(Int_t n, Float_t &x, Float_t &y, Float_t &z) const
Fills the parameters x, y, z with the coordinate of the n-th point n must be between 0 and Size() - 1...
virtual void Draw(Option_t *chopt="")
Draw this graph with its current attributes.
virtual void SlaveTerminate()
Executed by each slave after the processing has finished, before returning the results to the client...
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
Set the maximum number of entries to be kept in the buffer.
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
TObject * Clone(const char *newname=0) const
Make a complete copy of the underlying object.
if object in a list can be deleted
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=0)
Set the value of a resource or create a new resource.
virtual Int_t GetN() const
virtual void Init(TTree *)
See TProofDraw::Init().
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
Int_t Fill(const Double_t *v)
Fill Area Attributes class.
virtual void Reset(Option_t *option="")
Reset contents of a Profile histogram.
This class holds the status of an ongoing operation and collects error messages.
The TNamed class is the base class for all named ROOT classes.
virtual void Terminate()
See TProofDraw::Terminate().
TString GetProofSelectorName() const
Returns appropriate TSelector class name for proof for the object that is to be drawn assumes that Pa...
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the eventlist with given values.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual Bool_t Process(Long64_t)
Executed for each entry.
Int_t GetNumberOfColors() const
Return number of colors in the color palette.
TString GetObjectTitle() const
Returns the desired plot title.
Int_t DrawCanvas(TObject *obj)
virtual void Begin(TTree *t)
See TProofDraw::Begin().
TString fOption
Option given to TTree::Process.
TPolyMarker3D * fPolyMarker3D
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual TH1 * DrawCopy(Option_t *option="", const char *name_postfix="_copy") const
Copy this histogram and Draw in the current pad.
virtual void Terminate()
See TProofDraw::Terminate().
virtual void DefVar()
Define relevant variables.
Double_t GetParameter(int num) const
returns num-th parameter from brackets in the expression in case of an error (wrong number) returns 0...
virtual void Init(TTree *tree)
See TProofDraw::Init().
Int_t GetDrawArgs(const char *var, const char *sel, Option_t *opt, TString &selector, TString &objname)
The 3-D histogram classes derived from the 1-D histogram classes.
TObject * GetParameter(const char *par) const
Get specified parameter.
static Int_t GetMaxDimension()
return fgMaxDimension (cannot be inline)
TTreeFormulaManager * fManager
TObject * UncheckedAt(Int_t i) const
virtual void SetLineColor(Color_t lcolor)
Set the line color.
NOTE: Must always be 0 !!!
virtual Size_t GetMarkerSize() const
Return the marker size.
virtual void DefVar()
Define variables according to arguments.
virtual Bool_t Notify()
Called when a new tree is loaded.
TString GetVarExp(Int_t num) const
Returns the num-th variable string in case of an error prints an error message and returns an empty s...
Service class for 2-Dim histogram classes.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
void SetOriginal(TObject *o)
virtual void SetStatus(Long64_t status)
2-D histogram with a float per channel (see TH1 documentation)}
virtual void Begin(TTree *t)
See TProofDraw::Begin().
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual void Begin2D(TTree *t)
Initialization for 2D histogram.
virtual Color_t GetFillColor() const
Return the fill area color.
TObject * Remove(TObject *obj)
Remove object from the list.
TProofVectorContainer< Point3D_t > * fPoints
virtual void Init(TTree *)
See TProofDraw::Init().
char * Form(const char *fmt,...)
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the graph with the given values.
virtual void SlaveTerminate()
See TProofDraw::SlaveTerminate().
A TEventList object is a list of selected events (entries) in a TTree.
Int_t Fill(const Double_t *v)
The ROOT global object gROOT contains a list of all defined classes.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
void SetCanvas(const char *objname)
Move to a canvas named <name>_canvas; create the canvas if not existing.
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
Set the buffer size in units of 8 bytes (double).
void SetName(const char *name)
virtual void Terminate()
See TProofDraw::Terminate().
static Int_t GetDefaultBufferSize()
Static function return the default buffer size for automatic histograms the parameter fgBufferSize ma...
static constexpr double nm
virtual void Draw(Option_t *option="")
Draws 3-D polymarker with its current attributes.
virtual void AddAt(TObject *obj, Int_t idx)
Add object at position ids.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual void Init(TTree *)
See TProofDraw::Init().
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
void SetPoint(Int_t n, Double_t x, Double_t y, Double_t z)
Set point n to x, y, z.
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the scatter plot with the given values.
Double_t GetIfSpecified(Int_t num, Double_t def) const
virtual void Init(TTree *tree)
See TProofDraw::Init().
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
virtual void Reset(Option_t *option="")
Reset contents of a Profile2D histogram.
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
virtual const char * GetName() const
Returns name of object.
virtual void Terminate()
Executed by the client after getting the processing retults.
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the histogram with the given values.
virtual Bool_t CompileVariables()
Compiles each variable from fTreeDrawArgsParser for the tree fTree.
EAbort fAbort
Abort status.
void DefVar1D()
Define vars for 1D Histogram.
virtual void Terminate()
See TProofDraw::Terminate().
void FillWeight()
Get weight from input list, if any.
virtual Int_t GetPoint(Int_t i, Double_t &x, Double_t &y) const
Get x and y values for point number i.
TString GetSelection() const
virtual Bool_t Enter(Long64_t entry, TTree *tree=0)
Add entry #entry to the list.
Profile2D histograms are used to display the mean value of Z and its RMS for each cell in X...
TTreeDrawArgsParser fTreeDrawArgsParser
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetName(const char *name)
Change the name of this TEventList.
static TView * CreateView(Int_t system=1, const Double_t *rmin=0, const Double_t *rmax=0)
Create a concrete default 3-d view via the plug-in manager.
A class that parses all parameters for TTree::Draw().
virtual ~TProofDraw()
Destructor.
virtual Long64_t GetN() const
THist< 3, float, THistStatContent, THistStatUncertainty > TH3F
Bool_t GetShouldDraw() const
virtual UInt_t SetCanExtend(UInt_t extendBitMask)
Make the histogram axes extendable / not extendable according to the bit mask returns the previous bi...
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
virtual void SlaveTerminate()
See TProofDraw::SlaveTerminate().
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
Set the buffer size in units of 8 bytes (double).
virtual Color_t GetMarkerColor() const
Return the marker color.
virtual void DefVar()
Define relevant variables.
virtual void SetPoint(Int_t i, Double_t x, Double_t y)
Set x and y values for point number i.
TList * fInput
List of objects available during processing.
virtual void Add(TObject *obj)
Bool_t IsSpecified(int num) const
returns kTRUE if the num-th parameter was specified otherwise returns fFALSE in case of an error (wro...
Int_t GetDimension() const
virtual Bool_t ProcessSingle(Long64_t, Int_t)
Processes a single variable from an entry.
A Graph is a graphics object made of two arrays X and Y with npoints each.
virtual void Print(Option_t *option="") const
Standard print function.
void FeedBackCanvas(const char *name, Bool_t create)
virtual void Terminate()
See TProofDraw::Terminate().
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the scatter plot with the given values.
virtual void SlaveBegin(TTree *)
See TProofDraw::SlaveBegin().
virtual void DoFill(Long64_t entry, Double_t w, const Double_t *v)
Fills the profile histogram with the given values.
virtual void SetTitle(const char *title)
Change (i.e.
TObject * At(Int_t idx) const
virtual void Reset(Option_t *option="")
Reset this histogram: contents, errors, etc.
void DefVar2D()
Define variables for 2D histogram.
virtual Style_t GetMarkerStyle() const
Return the marker style.
virtual const char * GetTitle() const
Returns title of object.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void Init(TTree *)
See TProofDraw::Init().
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F
virtual void SetEditable(Bool_t editable=kTRUE)
if editable=kFALSE, the graph cannot be modified with the mouse by default a TGraph is editable ...
A List of entry numbers in a TTree or TChain.
Bool_t Parse(const char *varexp, const char *selection, Option_t *option)
Parses parameters from TTree::Draw().
virtual void SetStats(Bool_t stats=kTRUE)
Set statistics option on/off.
virtual void Begin1D(TTree *t)
Initialization for 1D Histogram.
virtual Int_t GetLastPoint() const
virtual void Begin(TTree *t)
See TProofDraw::Begin().