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 "TDirectory.h"
#include "Foption.h"
#include "TVectorFfwd.h"
#include "TVectorDfwd.h"
#include "TFitResultPtr.h"
#include <cfloat>
#include <string>
#include <stdexcept>
#include <type_traits>
#include <array>
#include <numeric>
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...
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Internal
 

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
 
template<typename T >
void ROOT::Internal::SetSliceContent (T &histo, const std::vector< Double_t > &input, const std::vector< std::pair< Int_t, Int_t > > &sliceEdges)
 Sets the content of a slice in a histogram.
 
template<typename T >
ROOT::Internal::Slice (const T &histo, std::vector< Int_t > &args)
 Creates a sliced copy of the given histogram.
 

Function Documentation

◆ operator*() [1/18]

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

Operator *.

Definition at line 9604 of file TH1.cxx.

◆ operator*() [2/18]

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

Definition at line 746 of file TH1.h.

◆ operator*() [3/18]

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

Operator *.

Definition at line 10529 of file TH1.cxx.

◆ operator*() [4/18]

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

Definition at line 964 of file TH1.h.

◆ operator*() [5/18]

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

Operator *.

Definition at line 10347 of file TH1.cxx.

◆ operator*() [6/18]

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

Definition at line 917 of file TH1.h.

◆ operator*() [7/18]

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

Operator *.

Definition at line 9978 of file TH1.cxx.

◆ operator*() [8/18]

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

Definition at line 828 of file TH1.h.

◆ operator*() [9/18]

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

Operator *.

Definition at line 10166 of file TH1.cxx.

◆ operator*() [10/18]

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

Definition at line 869 of file TH1.h.

◆ operator*() [11/18]

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

Operator *.

Definition at line 9790 of file TH1.cxx.

◆ operator*() [12/18]

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

Definition at line 787 of file TH1.h.

◆ operator*() [13/18]

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

Operator *.

Definition at line 9571 of file TH1.cxx.

◆ operator*() [14/18]

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

Operator *.

Definition at line 10496 of file TH1.cxx.

◆ operator*() [15/18]

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

Operator *.

Definition at line 10314 of file TH1.cxx.

◆ operator*() [16/18]

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

Operator *.

Definition at line 9945 of file TH1.cxx.

◆ operator*() [17/18]

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

Operator *.

Definition at line 10133 of file TH1.cxx.

◆ operator*() [18/18]

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

Operator *.

Definition at line 9757 of file TH1.cxx.

◆ operator+() [1/6]

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

Operator +.

Definition at line 9582 of file TH1.cxx.

◆ operator+() [2/6]

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

Operator +.

Definition at line 10507 of file TH1.cxx.

◆ operator+() [3/6]

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

Operator +.

Definition at line 10325 of file TH1.cxx.

◆ operator+() [4/6]

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

Operator +.

Definition at line 9956 of file TH1.cxx.

◆ operator+() [5/6]

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

Operator +.

Definition at line 10144 of file TH1.cxx.

◆ operator+() [6/6]

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

Operator +.

Definition at line 9768 of file TH1.cxx.

◆ operator-() [1/6]

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

Operator -.

Definition at line 9593 of file TH1.cxx.

◆ operator-() [2/6]

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

Operator -.

Definition at line 10518 of file TH1.cxx.

◆ operator-() [3/6]

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

Operator -.

Definition at line 10336 of file TH1.cxx.

◆ operator-() [4/6]

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

Operator -.

Definition at line 9967 of file TH1.cxx.

◆ operator-() [5/6]

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

Operator -.

Definition at line 10155 of file TH1.cxx.

◆ operator-() [6/6]

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

Operator -.

Definition at line 9779 of file TH1.cxx.

◆ operator/() [1/6]

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

Operator /.

Definition at line 9615 of file TH1.cxx.

◆ operator/() [2/6]

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

Operator /.

Definition at line 10540 of file TH1.cxx.

◆ operator/() [3/6]

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

Operator /.

Definition at line 10358 of file TH1.cxx.

◆ operator/() [4/6]

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

Operator /.

Definition at line 9989 of file TH1.cxx.

◆ operator/() [5/6]

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

Operator /.

Definition at line 10177 of file TH1.cxx.

◆ operator/() [6/6]

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

Operator /.

Definition at line 9801 of file TH1.cxx.

◆ R__H() [1/2]

TH1 * R__H ( const char * hname)
extern

return pointer to histogram with name hname

Definition at line 10564 of file TH1.cxx.

◆ R__H() [2/2]

TH1 * R__H ( Int_t hid)
extern

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

Definition at line 10553 of file TH1.cxx.