Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TH1.h File Reference
#include "TAxis.h"
#include "TAttLine.h"
#include "TAttFill.h"
#include "TAttMarker.h"
#include "TArrayC.h"
#include "TArrayS.h"
#include "TArrayI.h"
#include "TArrayL64.h"
#include "TArrayF.h"
#include "TArrayD.h"
#include "Foption.h"
#include "TVectorFfwd.h"
#include "TVectorDfwd.h"
#include "TFitResultPtr.h"
#include <cfloat>
#include <string>
Include dependency graph for TH1.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TH1
 TH1 is the base class of all histogram classes in ROOT. More...
 
class  TH1C
 1-D histogram with a byte per channel (see TH1 documentation) More...
 
class  TH1D
 1-D histogram with a double per channel (see TH1 documentation) More...
 
class  TH1F
 1-D histogram with a float per channel (see TH1 documentation) More...
 
class  TH1I
 1-D histogram with an int per channel (see TH1 documentation) More...
 
class  TH1L
 1-D histogram with a long64 per channel (see TH1 documentation) More...
 
class  TH1S
 1-D histogram with a short per channel (see TH1 documentation) More...
 

Functions

TH1C operator* (const TH1C &h1, const TH1C &h2)
 Operator *.
 
TH1C operator* (const TH1C &h1, Double_t c1)
 
TH1D operator* (const TH1D &h1, const TH1D &h2)
 Operator *.
 
TH1D operator* (const TH1D &h1, Double_t c1)
 
TH1F operator* (const TH1F &h1, const TH1F &h2)
 Operator *.
 
TH1F operator* (const TH1F &h1, Double_t c1)
 
TH1I operator* (const TH1I &h1, const TH1I &h2)
 Operator *.
 
TH1I operator* (const TH1I &h1, Double_t c1)
 
TH1L operator* (const TH1L &h1, const TH1L &h2)
 Operator *.
 
TH1L operator* (const TH1L &h1, Double_t c1)
 
TH1S operator* (const TH1S &h1, const TH1S &h2)
 Operator *.
 
TH1S operator* (const TH1S &h1, Double_t c1)
 
TH1C operator* (Double_t c1, const TH1C &h1)
 Operator *.
 
TH1D operator* (Double_t c1, const TH1D &h1)
 Operator *.
 
TH1F operator* (Double_t c1, const TH1F &h1)
 Operator *.
 
TH1I operator* (Double_t c1, const TH1I &h1)
 Operator *.
 
TH1L operator* (Double_t c1, const TH1L &h1)
 Operator *.
 
TH1S operator* (Double_t c1, const TH1S &h1)
 Operator *.
 
TH1C operator+ (const TH1C &h1, const TH1C &h2)
 Operator +.
 
TH1D operator+ (const TH1D &h1, const TH1D &h2)
 Operator +.
 
TH1F operator+ (const TH1F &h1, const TH1F &h2)
 Operator +.
 
TH1I operator+ (const TH1I &h1, const TH1I &h2)
 Operator +.
 
TH1L operator+ (const TH1L &h1, const TH1L &h2)
 Operator +.
 
TH1S operator+ (const TH1S &h1, const TH1S &h2)
 Operator +.
 
TH1C operator- (const TH1C &h1, const TH1C &h2)
 Operator -.
 
TH1D operator- (const TH1D &h1, const TH1D &h2)
 Operator -.
 
TH1F operator- (const TH1F &h1, const TH1F &h2)
 Operator -.
 
TH1I operator- (const TH1I &h1, const TH1I &h2)
 Operator -.
 
TH1L operator- (const TH1L &h1, const TH1L &h2)
 Operator -.
 
TH1S operator- (const TH1S &h1, const TH1S &h2)
 Operator -.
 
TH1C operator/ (const TH1C &h1, const TH1C &h2)
 Operator /.
 
TH1D operator/ (const TH1D &h1, const TH1D &h2)
 Operator /.
 
TH1F operator/ (const TH1F &h1, const TH1F &h2)
 Operator /.
 
TH1I operator/ (const TH1I &h1, const TH1I &h2)
 Operator /.
 
TH1L operator/ (const TH1L &h1, const TH1L &h2)
 Operator /.
 
TH1S operator/ (const TH1S &h1, const TH1S &h2)
 Operator /.
 
TH1R__H (const char *hname)
 return pointer to histogram with name hname
 
TH1R__H (Int_t hid)
 return pointer to histogram with name hid if id >=0 h_id if id <0
 

Function Documentation

◆ operator*() [1/18]

TH1C operator* ( const TH1C h1,
const TH1C h2 
)

Operator *.

Definition at line 9650 of file TH1.cxx.

◆ operator*() [2/18]

TH1C operator* ( const TH1C h1,
Double_t  c1 
)
inline

Definition at line 503 of file TH1.h.

◆ operator*() [3/18]

TH1D operator* ( const TH1D h1,
const TH1D h2 
)

Operator *.

Definition at line 10575 of file TH1.cxx.

◆ operator*() [4/18]

TH1D operator* ( const TH1D h1,
Double_t  c1 
)
inline

Definition at line 721 of file TH1.h.

◆ operator*() [5/18]

TH1F operator* ( const TH1F h1,
const TH1F h2 
)

Operator *.

Definition at line 10393 of file TH1.cxx.

◆ operator*() [6/18]

TH1F operator* ( const TH1F h1,
Double_t  c1 
)
inline

Definition at line 674 of file TH1.h.

◆ operator*() [7/18]

TH1I operator* ( const TH1I h1,
const TH1I h2 
)

Operator *.

Definition at line 10024 of file TH1.cxx.

◆ operator*() [8/18]

TH1I operator* ( const TH1I h1,
Double_t  c1 
)
inline

Definition at line 585 of file TH1.h.

◆ operator*() [9/18]

TH1L operator* ( const TH1L h1,
const TH1L h2 
)

Operator *.

Definition at line 10212 of file TH1.cxx.

◆ operator*() [10/18]

TH1L operator* ( const TH1L h1,
Double_t  c1 
)
inline

Definition at line 626 of file TH1.h.

◆ operator*() [11/18]

TH1S operator* ( const TH1S h1,
const TH1S h2 
)

Operator *.

Definition at line 9836 of file TH1.cxx.

◆ operator*() [12/18]

TH1S operator* ( const TH1S h1,
Double_t  c1 
)
inline

Definition at line 544 of file TH1.h.

◆ operator*() [13/18]

TH1C operator* ( Double_t  c1,
const TH1C h1 
)

Operator *.

Definition at line 9617 of file TH1.cxx.

◆ operator*() [14/18]

TH1D operator* ( Double_t  c1,
const TH1D h1 
)

Operator *.

Definition at line 10542 of file TH1.cxx.

◆ operator*() [15/18]

TH1F operator* ( Double_t  c1,
const TH1F h1 
)

Operator *.

Definition at line 10360 of file TH1.cxx.

◆ operator*() [16/18]

TH1I operator* ( Double_t  c1,
const TH1I h1 
)

Operator *.

Definition at line 9991 of file TH1.cxx.

◆ operator*() [17/18]

TH1L operator* ( Double_t  c1,
const TH1L h1 
)

Operator *.

Definition at line 10179 of file TH1.cxx.

◆ operator*() [18/18]

TH1S operator* ( Double_t  c1,
const TH1S h1 
)

Operator *.

Definition at line 9803 of file TH1.cxx.

◆ operator+() [1/6]

TH1C operator+ ( const TH1C h1,
const TH1C h2 
)

Operator +.

Definition at line 9628 of file TH1.cxx.

◆ operator+() [2/6]

TH1D operator+ ( const TH1D h1,
const TH1D h2 
)

Operator +.

Definition at line 10553 of file TH1.cxx.

◆ operator+() [3/6]

TH1F operator+ ( const TH1F h1,
const TH1F h2 
)

Operator +.

Definition at line 10371 of file TH1.cxx.

◆ operator+() [4/6]

TH1I operator+ ( const TH1I h1,
const TH1I h2 
)

Operator +.

Definition at line 10002 of file TH1.cxx.

◆ operator+() [5/6]

TH1L operator+ ( const TH1L h1,
const TH1L h2 
)

Operator +.

Definition at line 10190 of file TH1.cxx.

◆ operator+() [6/6]

TH1S operator+ ( const TH1S h1,
const TH1S h2 
)

Operator +.

Definition at line 9814 of file TH1.cxx.

◆ operator-() [1/6]

TH1C operator- ( const TH1C h1,
const TH1C h2 
)

Operator -.

Definition at line 9639 of file TH1.cxx.

◆ operator-() [2/6]

TH1D operator- ( const TH1D h1,
const TH1D h2 
)

Operator -.

Definition at line 10564 of file TH1.cxx.

◆ operator-() [3/6]

TH1F operator- ( const TH1F h1,
const TH1F h2 
)

Operator -.

Definition at line 10382 of file TH1.cxx.

◆ operator-() [4/6]

TH1I operator- ( const TH1I h1,
const TH1I h2 
)

Operator -.

Definition at line 10013 of file TH1.cxx.

◆ operator-() [5/6]

TH1L operator- ( const TH1L h1,
const TH1L h2 
)

Operator -.

Definition at line 10201 of file TH1.cxx.

◆ operator-() [6/6]

TH1S operator- ( const TH1S h1,
const TH1S h2 
)

Operator -.

Definition at line 9825 of file TH1.cxx.

◆ operator/() [1/6]

TH1C operator/ ( const TH1C h1,
const TH1C h2 
)

Operator /.

Definition at line 9661 of file TH1.cxx.

◆ operator/() [2/6]

TH1D operator/ ( const TH1D h1,
const TH1D h2 
)

Operator /.

Definition at line 10586 of file TH1.cxx.

◆ operator/() [3/6]

TH1F operator/ ( const TH1F h1,
const TH1F h2 
)

Operator /.

Definition at line 10404 of file TH1.cxx.

◆ operator/() [4/6]

TH1I operator/ ( const TH1I h1,
const TH1I h2 
)

Operator /.

Definition at line 10035 of file TH1.cxx.

◆ operator/() [5/6]

TH1L operator/ ( const TH1L h1,
const TH1L h2 
)

Operator /.

Definition at line 10223 of file TH1.cxx.

◆ operator/() [6/6]

TH1S operator/ ( const TH1S h1,
const TH1S h2 
)

Operator /.

Definition at line 9847 of file TH1.cxx.

◆ R__H() [1/2]

TH1 * R__H ( const char *  hname)

return pointer to histogram with name hname

Definition at line 10610 of file TH1.cxx.

◆ R__H() [2/2]

TH1 * R__H ( Int_t  hid)

return pointer to histogram with name hid if id >=0 h_id if id <0

Definition at line 10599 of file TH1.cxx.