Logo ROOT  
Reference Guide
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 "TArrayF.h"
#include "TArrayD.h"
#include "Foption.h"
#include "TVectorFfwd.h"
#include "TVectorDfwd.h"
#include "TFitResultPtr.h"
#include <float.h>
Include dependency graph for TH1.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TH1
 The TH1 histogram class. 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  TH1S
 1-D histogram with a short per channel (see TH1 documentation) More...
 

Functions

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

Function Documentation

◆ operator*() [1/15]

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

Operator *.

Definition at line 9070 of file TH1.cxx.

◆ operator*() [2/15]

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

Definition at line 481 of file TH1.h.

◆ operator*() [3/15]

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

Operator *.

Definition at line 9791 of file TH1.cxx.

◆ operator*() [4/15]

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

Definition at line 649 of file TH1.h.

◆ operator*() [5/15]

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

Operator *.

Definition at line 9612 of file TH1.cxx.

◆ operator*() [6/15]

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

Definition at line 606 of file TH1.h.

◆ operator*() [7/15]

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

Operator *.

Definition at line 9433 of file TH1.cxx.

◆ operator*() [8/15]

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

Definition at line 563 of file TH1.h.

◆ operator*() [9/15]

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

Operator *.

Definition at line 9251 of file TH1.cxx.

◆ operator*() [10/15]

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

Definition at line 522 of file TH1.h.

◆ operator*() [11/15]

TH1C operator* ( Double_t  c1,
const TH1C h1 
)

Operator *.

Definition at line 9037 of file TH1.cxx.

◆ operator*() [12/15]

TH1D operator* ( Double_t  c1,
const TH1D h1 
)

Operator *.

Definition at line 9758 of file TH1.cxx.

◆ operator*() [13/15]

TH1F operator* ( Double_t  c1,
const TH1F h1 
)

Operator *.

Definition at line 9579 of file TH1.cxx.

◆ operator*() [14/15]

TH1I operator* ( Double_t  c1,
const TH1I h1 
)

Operator *.

Definition at line 9400 of file TH1.cxx.

◆ operator*() [15/15]

TH1S operator* ( Double_t  c1,
const TH1S h1 
)

Operator *.

Definition at line 9218 of file TH1.cxx.

◆ operator+() [1/5]

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

Operator +.

Definition at line 9048 of file TH1.cxx.

◆ operator+() [2/5]

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

Operator +.

Definition at line 9769 of file TH1.cxx.

◆ operator+() [3/5]

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

Operator +.

Definition at line 9590 of file TH1.cxx.

◆ operator+() [4/5]

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

Operator +.

Definition at line 9411 of file TH1.cxx.

◆ operator+() [5/5]

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

Operator +.

Definition at line 9229 of file TH1.cxx.

◆ operator-() [1/5]

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

Operator -.

Definition at line 9059 of file TH1.cxx.

◆ operator-() [2/5]

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

Operator -.

Definition at line 9780 of file TH1.cxx.

◆ operator-() [3/5]

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

Operator -.

Definition at line 9601 of file TH1.cxx.

◆ operator-() [4/5]

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

Operator -.

Definition at line 9422 of file TH1.cxx.

◆ operator-() [5/5]

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

Operator -.

Definition at line 9240 of file TH1.cxx.

◆ operator/() [1/5]

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

Operator /.

Definition at line 9081 of file TH1.cxx.

◆ operator/() [2/5]

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

Operator /.

Definition at line 9802 of file TH1.cxx.

◆ operator/() [3/5]

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

Operator /.

Definition at line 9623 of file TH1.cxx.

◆ operator/() [4/5]

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

Operator /.

Definition at line 9444 of file TH1.cxx.

◆ operator/() [5/5]

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

Operator /.

Definition at line 9262 of file TH1.cxx.

◆ R__H() [1/2]

TH1 * R__H ( const char *  hname)

return pointer to histogram with name hname

Definition at line 9826 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 9815 of file TH1.cxx.