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 9082 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 9803 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 9624 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 9445 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 9263 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 9049 of file TH1.cxx.

◆ operator*() [12/15]

TH1D operator* ( Double_t  c1,
const TH1D h1 
)

Operator *.

Definition at line 9770 of file TH1.cxx.

◆ operator*() [13/15]

TH1F operator* ( Double_t  c1,
const TH1F h1 
)

Operator *.

Definition at line 9591 of file TH1.cxx.

◆ operator*() [14/15]

TH1I operator* ( Double_t  c1,
const TH1I h1 
)

Operator *.

Definition at line 9412 of file TH1.cxx.

◆ operator*() [15/15]

TH1S operator* ( Double_t  c1,
const TH1S h1 
)

Operator *.

Definition at line 9230 of file TH1.cxx.

◆ operator+() [1/5]

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

Operator +.

Definition at line 9060 of file TH1.cxx.

◆ operator+() [2/5]

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

Operator +.

Definition at line 9781 of file TH1.cxx.

◆ operator+() [3/5]

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

Operator +.

Definition at line 9602 of file TH1.cxx.

◆ operator+() [4/5]

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

Operator +.

Definition at line 9423 of file TH1.cxx.

◆ operator+() [5/5]

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

Operator +.

Definition at line 9241 of file TH1.cxx.

◆ operator-() [1/5]

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

Operator -.

Definition at line 9071 of file TH1.cxx.

◆ operator-() [2/5]

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

Operator -.

Definition at line 9792 of file TH1.cxx.

◆ operator-() [3/5]

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

Operator -.

Definition at line 9613 of file TH1.cxx.

◆ operator-() [4/5]

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

Operator -.

Definition at line 9434 of file TH1.cxx.

◆ operator-() [5/5]

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

Operator -.

Definition at line 9252 of file TH1.cxx.

◆ operator/() [1/5]

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

Operator /.

Definition at line 9093 of file TH1.cxx.

◆ operator/() [2/5]

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

Operator /.

Definition at line 9814 of file TH1.cxx.

◆ operator/() [3/5]

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

Operator /.

Definition at line 9635 of file TH1.cxx.

◆ operator/() [4/5]

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

Operator /.

Definition at line 9456 of file TH1.cxx.

◆ operator/() [5/5]

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

Operator /.

Definition at line 9274 of file TH1.cxx.

◆ R__H() [1/2]

TH1 * R__H ( const char *  hname)

return pointer to histogram with name hname

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