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 9621 of file TH1.cxx.

◆ operator*() [2/18]

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

Definition at line 491 of file TH1.h.

◆ operator*() [3/18]

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

Operator *.

Definition at line 10546 of file TH1.cxx.

◆ operator*() [4/18]

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

Definition at line 709 of file TH1.h.

◆ operator*() [5/18]

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

Operator *.

Definition at line 10364 of file TH1.cxx.

◆ operator*() [6/18]

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

Definition at line 662 of file TH1.h.

◆ operator*() [7/18]

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

Operator *.

Definition at line 9995 of file TH1.cxx.

◆ operator*() [8/18]

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

Definition at line 573 of file TH1.h.

◆ operator*() [9/18]

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

Operator *.

Definition at line 10183 of file TH1.cxx.

◆ operator*() [10/18]

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

Definition at line 614 of file TH1.h.

◆ operator*() [11/18]

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

Operator *.

Definition at line 9807 of file TH1.cxx.

◆ operator*() [12/18]

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

Definition at line 532 of file TH1.h.

◆ operator*() [13/18]

TH1C operator* ( Double_t  c1,
const TH1C h1 
)

Operator *.

Definition at line 9588 of file TH1.cxx.

◆ operator*() [14/18]

TH1D operator* ( Double_t  c1,
const TH1D h1 
)

Operator *.

Definition at line 10513 of file TH1.cxx.

◆ operator*() [15/18]

TH1F operator* ( Double_t  c1,
const TH1F h1 
)

Operator *.

Definition at line 10331 of file TH1.cxx.

◆ operator*() [16/18]

TH1I operator* ( Double_t  c1,
const TH1I h1 
)

Operator *.

Definition at line 9962 of file TH1.cxx.

◆ operator*() [17/18]

TH1L operator* ( Double_t  c1,
const TH1L h1 
)

Operator *.

Definition at line 10150 of file TH1.cxx.

◆ operator*() [18/18]

TH1S operator* ( Double_t  c1,
const TH1S h1 
)

Operator *.

Definition at line 9774 of file TH1.cxx.

◆ operator+() [1/6]

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

Operator +.

Definition at line 9599 of file TH1.cxx.

◆ operator+() [2/6]

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

Operator +.

Definition at line 10524 of file TH1.cxx.

◆ operator+() [3/6]

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

Operator +.

Definition at line 10342 of file TH1.cxx.

◆ operator+() [4/6]

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

Operator +.

Definition at line 9973 of file TH1.cxx.

◆ operator+() [5/6]

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

Operator +.

Definition at line 10161 of file TH1.cxx.

◆ operator+() [6/6]

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

Operator +.

Definition at line 9785 of file TH1.cxx.

◆ operator-() [1/6]

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

Operator -.

Definition at line 9610 of file TH1.cxx.

◆ operator-() [2/6]

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

Operator -.

Definition at line 10535 of file TH1.cxx.

◆ operator-() [3/6]

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

Operator -.

Definition at line 10353 of file TH1.cxx.

◆ operator-() [4/6]

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

Operator -.

Definition at line 9984 of file TH1.cxx.

◆ operator-() [5/6]

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

Operator -.

Definition at line 10172 of file TH1.cxx.

◆ operator-() [6/6]

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

Operator -.

Definition at line 9796 of file TH1.cxx.

◆ operator/() [1/6]

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

Operator /.

Definition at line 9632 of file TH1.cxx.

◆ operator/() [2/6]

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

Operator /.

Definition at line 10557 of file TH1.cxx.

◆ operator/() [3/6]

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

Operator /.

Definition at line 10375 of file TH1.cxx.

◆ operator/() [4/6]

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

Operator /.

Definition at line 10006 of file TH1.cxx.

◆ operator/() [5/6]

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

Operator /.

Definition at line 10194 of file TH1.cxx.

◆ operator/() [6/6]

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

Operator /.

Definition at line 9818 of file TH1.cxx.

◆ R__H() [1/2]

TH1 * R__H ( const char *  hname)

return pointer to histogram with name hname

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