74 fTsumwz = fTsumwz2 = 0;
110 :
TH2D(name,title,nx,xlow,xup,ny,ylow,yup)
120 :
TH2D(name,title,nx,xbins,ny,ylow,yup)
129 :
TH2D(name,title,nx,xlow,xup,ny,ybins)
138 :
TH2D(name,title,nx,xbins,ny,ybins)
154 TProfile2D::TProfile2D(
const char *
name,
const char *title,
Int_t nx,
Double_t xlow,
Double_t xup,
Int_t ny,
Double_t ylow,
Double_t yup,
Double_t zlow,
Double_t zup,
Option_t *option)
155 :
TH2D(name,title,nx,xlow,xup,ny,ylow,yup)
203 Error(
"Add",
"Function not implemented for TProfile2D");
214 Error(
"Add",
"Attempt to add a non-existing profile");
218 Error(
"Add",
"Attempt to add a non-profile2D object");
233 Error(
"Add",
"Attempt to add a non-existing profile");
237 Error(
"Add",
"Attempt to add a non-profile2D object");
241 Error(
"Add",
"Attempt to add a non-profile2D object");
277 if (!nbentries)
return 0;
280 if (action == 0)
return 0;
281 nbentries = -nbentries;
292 for (
Int_t i=1;i<nbentries;i++) {
294 if (x < xmin) xmin =
x;
295 if (x > xmax) xmax =
x;
297 if (y < ymin) ymin =
y;
298 if (y > ymax) ymax =
y;
315 for (
Int_t i=0;i<nbentries;i++) {
316 Fill(buffer[4*i+2],buffer[4*i+3],buffer[4*i+4],buffer[4*i+1]);
341 nbentries = -nbentries;
351 return Fill(x,y,z,w);
372 for (
int bin=0;bin<
fNcells;bin++) {
384 Fatal(
"Copy",
"Cannot copy a TProfile2D in a %s",obj.IsA()->
GetName());
396 Error(
"Divide",
"Function not implemented for TProfile2D");
411 Error(
"Divide",
"Attempt to divide a non-existing profile2D");
415 Error(
"Divide",
"Attempt to divide a non-profile2D object");
426 Error(
"Divide",
"Attempt to divide profiles with different number of bins");
431 Error(
"Divide",
"Attempt to divide profiles with different number of bins");
444 for (binx =0;binx<=nx+1;binx++) {
445 for (biny =0;biny<=ny+1;biny++) {
469 else fSumw2.
fArray[bin] = (e0*c1*c1 + e1*c0*c0)/(c12*c12);
477 Warning(
"Divide",
"Cannot preserve during the division of profiles the sum of bin weight square");
498 Error(
"Divide",
"Attempt to divide a non-existing profile2D");
502 Error(
"Divide",
"Attempt to divide a non-profile2D object");
507 Error(
"Divide",
"Attempt to divide a non-profile2D object");
518 Error(
"Divide",
"Attempt to divide profiles with different number of bins");
523 Error(
"Divide",
"Attempt to divide profiles with different number of bins");
527 Error(
"Divide",
"Coefficient of dividing profile cannot be zero");
545 for (binx =0;binx<=nx+1;binx++) {
546 for (biny =0;biny<=ny+1;biny++) {
550 if (b2) w = c1*b1/(c2*b2);
575 fSumw2.
fArray[bin] = ac1*ac2*(e1*b2*b2 + e2*b1*b1)/(b22*b22);
602 if (binx <0 || biny <0)
return -1;
641 if (binx <0 || biny <0)
return -1;
679 if (binx <0 || biny <0)
return -1;
716 if (binx <0 || biny <0)
return -1;
756 if (binx <0 || biny <0)
return -1;
788 if (bin < 0 || bin >=
fNcells)
return 0;
801 if (bin < 0 || bin >=
fNcells)
return 0;
879 Int_t bin, binx, biny;
882 for (bin=0;bin<9;bin++) stats[bin] = 0;
891 if (firstBinX == 1) firstBinX = 0;
895 if (firstBinY == 1) firstBinY = 0;
899 for (biny = firstBinY; biny <= lastBinY; biny++) {
901 for (binx = firstBinX; binx <= lastBinX; binx++) {
962 if (ax[0] ==
'y' || ax[0] ==
'Y') axis =
GetYaxis();
965 Warning(
"LabelsOption",
"Cannot sort. No labels");
998 if (sort < 0)
return;
1009 TIter nextold(labels);
1011 while ((obj=nextold())) {
1018 for (i=0;i<=
n;i++) pcont[i] = 0;
1019 for (i=1;i<
nx;i++) {
1020 for (j=1;j<
ny;j++) {
1034 obj = labold->
At(a[i]);
1038 for (i=1;i<
nx;i++) {
1039 for (j=1;j<
ny;j++) {
1042 fArray[bin] = sumw[a[i-1]+1+nx*j];
1046 fArray[bin] = sumw[i+nx*(a[j-1]+1)];
1054 const UInt_t kUsed = 1<<18;
1058 for (i=1;i<=
n;i++) {
1059 const char *label =
"zzzzzzzzzzzz";
1060 for (j=1;j<=
n;j++) {
1061 obj = labold->
At(j-1);
1063 if (obj->
TestBit(kUsed))
continue;
1065 if (strcmp(label,obj->
GetName()) < 0)
continue;
1076 for (i=1;i<=
n;i++) {
1077 obj = labels->
At(i-1);
1081 for (i=0;i<
nx;i++) {
1082 for (j=0;j<
ny;j++) {
1089 for (i=0;i<
nx;i++) {
1090 for (j=0;j<
ny;j++) {
1093 fArray[bin] = sumw[a[i]+nx*j];
1097 fArray[bin] = sumw[i+nx*a[j]];
1106 if (sumw)
delete [] sumw;
1107 if (errors)
delete [] errors;
1108 if (ent)
delete [] ent;
1135 Error(
"Multiply",
"Function not implemented for TProfile2D");
1148 Error(
"Multiply",
"Multiplication of profile2D histograms not implemented");
1162 Error(
"Multiply",
"Multiplication of profile2D histograms not implemented");
1200 if (pname.
IsNull() || pname ==
"_pxy")
1209 if (xbins->
fN == 0 && ybins->
fN == 0) {
1211 }
else if (xbins->
fN == 0) {
1213 }
else if (ybins->
fN == 0) {
1226 if (computeErrors || binWeight || (binEntries &&
fBinSumw2.
fN) ) h1->
Sumw2();
1229 Int_t bin,binx, biny;
1231 for (binx =0;binx<=nx+1;binx++) {
1232 for (biny =0;biny<=ny+1;biny++) {
1277 return DoProfile(
true, name, firstybin, lastybin, option);
1300 return DoProfile(
false, name, firstxbin, lastxbin, option);
1310 bool originalRange = opt.
Contains(
"o");
1312 TString expectedName = ( onX ?
"_pfx" :
"_pfy" );
1315 if (pname.
IsNull() || name == expectedName)
1325 if (bins->
fN == 0) {
1349 TString opt1 = (originalRange) ?
"o" :
"";
1350 TH1D * h1W = (onX) ? h2dW->
ProjectionX(
"h1temp-W",firstbin,lastbin,opt1) : h2dW->
ProjectionY(
"h1temp-W",firstbin,lastbin,opt1);
1351 TH1D * h1N = (onX) ? h2dN->
ProjectionX(
"h1temp-N",firstbin,lastbin,opt1) : h2dN->
ProjectionY(
"h1temp-N",firstbin,lastbin,opt1);
1359 for (
int i = 0; i < p1->
fN ; ++i) {
1458 if((nxgroup != 1) || (nygroup != 1)){
1465 if ((nxgroup <= 0) || (nxgroup > nxbins)) {
1466 Error(
"Rebin",
"Illegal value of nxgroup=%d",nxgroup);
1469 if ((nygroup <= 0) || (nygroup > nybins)) {
1470 Error(
"Rebin",
"Illegal value of nygroup=%d",nygroup);
1474 Int_t newxbins = nxbins/nxgroup;
1475 Int_t newybins = nybins/nygroup;
1478 if(newxbins*nxgroup != nxbins) {
1479 Warning(
"Rebin",
"nxgroup=%d should be an exact divider of nxbins=%d",nxgroup,nxbins);
1481 if(newybins*nygroup != nybins) {
1482 Warning(
"Rebin",
"nygroup=%d should be an exact divider of nybins=%d",nygroup,nybins);
1494 for(
Int_t ibin=0; ibin < (nxbins+2)*(nybins+2); ibin++){
1495 oldBins[ibin] = cu1[ibin];
1496 oldCount[ibin] = en1[ibin];
1497 oldErrors[ibin] = er1[ibin];
1498 if (ew1 &&
fBinSumw2.
fN) oldBinw2[ibin] = ew1[ibin];
1503 if(newname && strlen(newname) > 0) {
1509 if(newxbins*nxgroup != nxbins) {
1513 if(newybins*nygroup != nybins) {
1522 for(
Int_t i=0; i < newxbins+1; i++)
1524 for(
Int_t j=0; j < newybins+1; j++)
1526 hnew->
SetBins(newxbins,xbins,newybins,ybins);
1532 hnew->
SetBins(newxbins,xmin,xmax,newybins,ymin,ymax);
1540 Double_t binContent, binCount, binError, binSumw2;
1547 for(
Int_t xbin = 1; xbin <= newxbins; xbin++){
1549 for(
Int_t ybin = 1; ybin <= newybins; ybin++){
1554 for(
Int_t i=0; i < nxgroup; i++){
1555 if(oldxbin + i > nxbins)
break;
1556 for(
Int_t j=0; j < nygroup; j++){
1557 if(oldybin + j > nybins)
break;
1558 bin = oldxbin + i + (nxbins+2)*(oldybin+j);
1559 binContent += oldBins[bin];
1560 binCount += oldCount[bin];
1561 binError += oldErrors[bin];
1565 bin = xbin + (newxbins + 2)*ybin;
1566 cu2[bin] = binContent;
1567 er2[bin] = binError;
1568 en2[bin] = binCount;
1576 cu2[0] = oldBins[0];
1577 er2[0] = oldErrors[0];
1578 en2[0] = oldCount[0];
1586 for(
Int_t i=oldxbin; i <= nxbins+1; i++){
1587 for(
Int_t j=oldybin; j <= nybins+1; j++){
1589 bin = i + (nxbins+2)*j;
1590 binContent += oldBins[bin];
1591 binCount += oldCount[bin];
1592 binError += oldErrors[bin];
1596 bin = (newxbins+2)*(newybins+2)-1;
1597 cu2[bin] = binContent;
1598 er2[bin] = binError;
1599 en2[bin] = binCount;
1606 for(
Int_t i=oldxbin; i <= nxbins+1; i++){
1608 binContent += oldBins[bin];
1609 binCount += oldCount[bin];
1610 binError += oldErrors[bin];
1614 cu2[bin] = binContent;
1615 er2[bin] = binError;
1616 en2[bin] = binCount;
1623 for(
Int_t i=oldybin; i <= nybins+1; i++){
1624 bin = i*(nxbins + 2);
1625 binContent += oldBins[bin];
1626 binCount += oldCount[bin];
1627 binError += oldErrors[bin];
1630 bin = (newxbins + 2)*(newybins + 1);
1631 cu2[bin] = binContent;
1632 er2[bin] = binError;
1633 en2[bin] = binCount;
1636 Double_t binContentuf, binCountuf, binErroruf, binSumw2uf;
1637 Double_t binContentof, binCountof, binErrorof, binSumw2of;
1640 for(
Int_t xbin = 1; xbin <= newxbins; xbin++){
1649 for(
Int_t i = 0; i < nxgroup; i++){
1651 ufbin = (oldxbin2 + i);
1652 binContentuf += oldBins[ufbin];
1653 binCountuf += oldCount[ufbin];
1654 binErroruf += oldErrors[ufbin];
1656 for(
Int_t j = oldybin; j <= nybins+1; j++)
1658 ofbin = ufbin + j*(nxbins + 2);
1659 binContentof += oldBins[ofbin];
1660 binCountof += oldCount[ofbin];
1661 binErrorof += oldErrors[ofbin];
1667 ofbin = ufbin + (newybins + 1)*(newxbins + 2);
1668 cu2[ufbin] = binContentuf;
1669 er2[ufbin] = binErroruf;
1670 en2[ufbin] = binCountuf;
1672 cu2[ofbin] = binContentof;
1673 er2[ofbin] = binErrorof;
1674 en2[ofbin] = binCountof;
1677 oldxbin2 += nxgroup;
1681 for(
Int_t ybin = 1; ybin <= newybins; ybin++){
1690 for(
Int_t i = 0; i < nygroup; i++){
1692 ufbin = (oldybin2 + i)*(nxbins+2);
1693 binContentuf += oldBins[ufbin];
1694 binCountuf += oldCount[ufbin];
1695 binErroruf += oldErrors[ufbin];
1697 for(
Int_t j = oldxbin; j <= nxbins+1; j++)
1700 binContentof += oldBins[ofbin];
1701 binCountof += oldCount[ofbin];
1702 binErrorof += oldErrors[ofbin];
1707 ufbin = ybin * (newxbins + 2);
1708 ofbin = newxbins + 1 + ufbin;
1709 cu2[ufbin] = binContentuf;
1710 er2[ufbin] = binErroruf;
1711 en2[ufbin] = binCountuf;
1713 cu2[ofbin] = binContentof;
1714 er2[ofbin] = binErrorof;
1715 en2[ofbin] = binCountof;
1718 oldybin2 += nygroup;
1723 delete [] oldErrors;
1724 if (oldBinw2)
delete [] oldBinw2;
1730 if((newname) && (strlen(newname) > 0))
1742 return Rebin2D(ngroup,1,newname);
1750 return Rebin2D(1,ngroup,newname);
1764 out <<
" "<<std::endl;
1777 out <<
");" << std::endl;
1782 for (bin=0;bin<
fNcells;bin++) {
1785 out<<
" "<<
GetName()<<
"->SetBinEntries("<<bin<<
","<<bi<<
");"<<std::endl;
1789 for (bin=0;bin<
fNcells;bin++) {
1792 out<<
" "<<
GetName()<<
"->SetBinContent("<<bin<<
","<<bc<<
");"<<std::endl;
1797 for (bin=0;bin<
fNcells;bin++) {
1800 out<<
" "<<
GetName()<<
"->SetBinError("<<bin<<
","<<be<<
");"<<std::endl;
1868 if (buffersize <= 0) {
1872 if (buffersize < 100) buffersize = 100;
1906 void TProfile2D::Streamer(
TBuffer &R__b)
1916 TH2D::Streamer(R__b);
1923 R__b >> zmin;
fZmin = zmin;
1924 R__b >> zmax;
fZmax = zmax;
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
Int_t GetFirst() const
Return first bin on the axis i.e.
virtual Long64_t Merge(TCollection *list)
Merge all histograms in the collection in this histogram.
virtual const char * GetTitle() const
Returns title of object.
static void SetBinEntries(T *p, Int_t bin, Double_t w)
static void Scale(T *p, Double_t c1, Option_t *option)
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
virtual Double_t GetBinEntries(Int_t bin) const
Return bin entries of a Profile2D histogram.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual void Sumw2(Bool_t flag=kTRUE)
Create/Delete structure to store sum of squares of weights per bin This is needed to compute the corr...
static Double_t GetBinError(T *p, Int_t bin)
virtual void SetDirectory(TDirectory *dir)
By default when an histogram is created, it is added to the list of histogram objects in the current ...
virtual void ExtendAxis(Double_t x, TAxis *axis)
Profile histogram is resized along axis such that x is in the axis range.
static void SetErrorOption(T *p, Option_t *opt)
virtual void SetBins(Int_t nx, Double_t xmin, Double_t xmax)
Redefine x axis parameters.
static void LabelsInflate(T *p, Option_t *)
static Bool_t fgStatOverflows
flag to add histograms to the directory
virtual void Copy(TObject &hnew) const
Copy a Profile2D histogram to a new profile2D histogram*.
void ToUpper()
Change string to upper case.
Buffer base class used for serializing objects.
virtual Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
static THLimitsFinder * GetLimitsFinder()
Return pointer to the current finder.
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual TProfile2D * RebinY(Int_t ngroup=2, const char *newname="")
Rebin only the Y axis see Rebin2D.
Short_t Min(Short_t a, Short_t b)
void ToLower()
Change string to lower-case.
virtual TProfile2D * Rebin2D(Int_t nxgroup=2, Int_t nygroup=2, const char *newname="")
Rebin this histogram grouping nxgroup/nygroup bins along the xaxis/yaxis together.
virtual ~TProfile2D()
Default destructor for Profile2D histograms.
virtual Int_t GetNbinsX() const
const TKDTreeBinning * bins
void Copy(TArrayD &array) const
virtual Int_t FindGoodLimits(TH1 *h, Double_t xmin, Double_t xmax)
compute the best axis limits for the X axis.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual Bool_t Multiply(TF1 *h1, Double_t c1=1)
Performs the operation: this = this*c1*f1.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
TObject * Clone(const char *newname=0) const
Make a complete copy of the underlying object.
static void BuildArray(T *p)
virtual void Fatal(const char *method, const char *msgfmt,...) const
Issue fatal error message.
static Bool_t fgApproximate
virtual TProfile * DoProfile(bool onX, const char *name, Int_t firstbin, Int_t lastbin, Option_t *option) const
implementation of ProfileX or ProfileY for a TProfile2D Do correctly the combination of the bin avera...
Int_t Fill(const Double_t *v)
virtual Bool_t Divide(TF1 *h1, Double_t c1=1)
Performs the operation: this = this/(c1*f1) This function is not implemented.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
void BuildOptions(Double_t zmin, Double_t zmax, Option_t *option)
Set Profile2D histogram structure and options.
TProfile * ProfileX(const char *name="_pfx", Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const
*-*Project a 2-D histogram into a profile histogram along X *-* =====================================...
virtual void SetErrorOption(Option_t *option="")
Set option to compute profile2D errors The computation of the bin errors is based on the parameter op...
virtual TArrayD * GetBinSumw2()
static double p2(double t, double a, double b, double c)
static void LabelsDeflate(T *p, Option_t *)
static void Approximate(Bool_t approx=kTRUE)
static function set the fgApproximate flag.
TH1D * ProjectionX(const char *name="_px", Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const
Project a 2-D histogram into a 1-D histogram along X.
void Sort(Index n, const Element *a, Index *index, Bool_t down=kTRUE)
static T * ExtendAxis(T *p, Double_t x, TAxis *axis)
virtual void LabelsDeflate(Option_t *axis="X")
Reduce the number of bins for this axis to the number of bins having a label.
TH1D * ProjectionY(const char *name="_py", Int_t firstxbin=0, Int_t lastxbin=-1, Option_t *option="") const
Project a 2-D histogram into a 1-D histogram along Y.
virtual TArrayD * GetSumw2()
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void SetBinError(Int_t bin, Double_t error)
see convention for numbering bins in TH1::GetBin
virtual void SetBinsLength(Int_t n=-1)
Set total number of bins including under/overflow Reallocate bin contents array.
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this profile2D by a constant c1.
virtual Double_t GetEffectiveEntries() const
number of effective entries of the histogram, neff = (Sum of weights )^2 / (Sum of weight^2 ) In case...
virtual void SetUniqueID(UInt_t uid)
Set the unique object id.
virtual void AddBinContent(Int_t bin)
Increment bin content by 1.
void Clear(Option_t *option="")
Remove all objects from the list.
virtual Bool_t Add(TF1 *h1, Double_t c1=1, Option_t *option="")
Performs the operation: this = this + c1*f1.
virtual void Copy(TObject &hnew) const
Copy.
virtual Double_t GetBinContent(Int_t bin) const
Return bin content of a Profile2D histogram.
Class to manage histogram axis.
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
Collection abstract base class.
virtual Int_t BufferEmpty(Int_t action=0)
Fill histogram with all entries in the buffer.
static Int_t fgBufferSize
virtual void PutStats(Double_t *stats)
Replace current statistics with the values in array stats.
Bool_t TestBit(UInt_t f) const
virtual TProfile2D * RebinX(Int_t ngroup=2, const char *newname="")
Rebin only the X axis see Rebin2D.
virtual const char * GetName() const
Returns name of object.
virtual void LabelsOption(Option_t *option="h", Option_t *axis="X")
Set option(s) to draw axis with labels option = "a" sort by alphabetic order = ">" sort by decreasing...
virtual Double_t GetBinError(Int_t bin) const
-*Return bin error of a Profile2D histogram
static double p1(double t, double a, double b)
virtual void SetBuffer(Int_t buffersize, Option_t *option="")
set the buffer size in units of 8 bytes (double)
virtual void LabelsInflate(Option_t *axis="X")
Double the number of bins for axis.
1-D histogram with a double per channel (see TH1 documentation)}
virtual void GetStats(Double_t *stats) const
fill the array stats from the contents of this profile The array stats must be correctly dimensionned...
virtual Int_t GetBin(Int_t binx, Int_t biny, Int_t binz=0) const
Return Global bin number corresponding to binx,y,z.
const Double_t * GetArray() const
virtual Int_t FindBin(Double_t x)
Find bin number corresponding to abscissa x.
static Bool_t Add(T *p, const TH1 *h1, const TH1 *h2, Double_t c1, Double_t c2=1)
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual Int_t BufferFill(Double_t, Double_t)
accumulate arguments in buffer.
virtual Int_t GetSize() const
virtual const char * GetName() const
Returns name of object.
virtual void SavePrimitiveHelp(std::ostream &out, const char *hname, Option_t *option="")
helper function for the SavePrimitive functions from TH1 or classes derived from TH1, eg TProfile, TProfile2D.
virtual Double_t GetBinEffectiveEntries(Int_t bin)
Return bin effective entries for a weighted filled Profile histogram.
static Double_t GetBinEffectiveEntries(T *p, Int_t bin)
TH2D * ProjectionXY(const char *name="_pxy", Option_t *option="e") const
*-*Project this profile2D into a 2-D histogram along X,Y -* *-* =====================================...
virtual void SetBinEntries(Int_t bin, Double_t w)
Set the number of entries in bin -.
Profile2D histograms are used to display the mean value of Z and its RMS for each cell in X...
Array of doubles (64 bits per element).
Int_t GetLast() const
Return last bin on the axis i.e.
virtual Double_t GetBinCenter(Int_t bin) const
Return center of bin.
Mother of all ROOT objects.
virtual void SetBinEntries(Int_t bin, Double_t w)
Set the number of entries in bin.
virtual Int_t GetNbinsY() const
THashList * GetLabels() const
virtual void Add(TObject *obj)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual void Sumw2(Bool_t flag=kTRUE)
Create structure to store sum of squares of weights.
virtual Bool_t CanExtendAllAxes() const
returns true if all axes are extendable
virtual void SetEntries(Double_t n)
static void Sumw2(T *p, Bool_t flag)
const TArrayD * GetXbins() const
Option_t * GetErrorOption() const
-*Return option to compute profile2D errors *-* ========================================= ...
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content.
Double_t Sqrt(Double_t x)
virtual void Sumw2(Bool_t flag=kTRUE)
Create/delete structure to store sum of squares of weights per bin — This is needed to compute the c...
void SetBins(const Int_t *nbins, const Double_t *range)
void Set(Int_t n)
Set size of this array to n doubles.
Double_t fTsumwz
True when TProfile2D::Scale is called.
static Long64_t Merge(T *p, TCollection *list)
TProfile * ProfileY(const char *name="_pfy", Int_t firstxbin=0, Int_t lastxbin=-1, Option_t *option="") const
*-*Project a 2-D histogram into a profile histogram along X *-* =====================================...
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0
2-D histogram with a double per channel (see TH1 documentation)}
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.