AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliH2F Class Reference

#include <AliH2F.h>

Inheritance diagram for AliH2F:

Public Member Functions

 AliH2F ()
 
 AliH2F (const Text_t *name, const Text_t *title, Int_t nbinsx, Axis_t xlow, Axis_t xup, Int_t nbinsy, Axis_t ylow, Axis_t yup)
 
 ~AliH2F ()
 
 AliH2F (const AliH2F &his)
 
AliH2Foperator= (const AliH2F &his)
 
void ClearSpectrum ()
 
void AddGauss (Float_t x, Float_t y, Float_t sx, Float_t sy, Float_t max)
 
void AddNoise (Float_t sn)
 
void ClearUnderTh (Int_t threshold)
 
void Round ()
 
AliH2FGetSubrange2d (Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax)
 
Float_t GetOccupancy (Float_t th=1., Float_t xmin=0, Float_t xmax=0, Float_t ymin=0, Float_t ymax=0)
 
TH1F * GetAmplitudes (Float_t zmin, Float_t zmax, Float_t th=1., Float_t xmin=0, Float_t xmax=0, Float_t ymin=0, Float_t ymax=0)
 

Detailed Description

Implementation of class AliH2F

Author
Marian Ivanov

include files and class forward declarations

Definition at line 16 of file AliH2F.h.

Constructor & Destructor Documentation

AliH2F::AliH2F ( )

Definition at line 38 of file AliH2F.cxx.

Referenced by GetSubrange2d().

AliH2F::AliH2F ( const Text_t *  name,
const Text_t *  title,
Int_t  nbinsx,
Axis_t  xlow,
Axis_t  xup,
Int_t  nbinsy,
Axis_t  ylow,
Axis_t  yup 
)

Definition at line 43 of file AliH2F.cxx.

AliH2F::~AliH2F ( )

Definition at line 53 of file AliH2F.cxx.

AliH2F::AliH2F ( const AliH2F his)

Definition at line 59 of file AliH2F.cxx.

Member Function Documentation

void AliH2F::AddGauss ( Float_t  x,
Float_t  y,
Float_t  sx,
Float_t  sy,
Float_t  max 
)

transform to histogram coordinata

Definition at line 122 of file AliH2F.cxx.

void AliH2F::AddNoise ( Float_t  sn)

add gauss noise with sigma sn

Definition at line 103 of file AliH2F.cxx.

void AliH2F::ClearSpectrum ( )

clera histogram

Definition at line 88 of file AliH2F.cxx.

void AliH2F::ClearUnderTh ( Int_t  threshold)

clear histogram for bin under threshold

Definition at line 151 of file AliH2F.cxx.

TH1F * AliH2F::GetAmplitudes ( Float_t  zmin,
Float_t  zmax,
Float_t  th = 1.,
Float_t  xmin = 0,
Float_t  xmax = 0,
Float_t  ymin = 0,
Float_t  ymax = 0 
)

this function return pointer to the new created histogram which is subhistogram of the calculate number subhistogram range must be inside histogram

Definition at line 231 of file AliH2F.cxx.

Referenced by AliTPCPRF2D::DrawDist().

Float_t AliH2F::GetOccupancy ( Float_t  th = 1.,
Float_t  xmin = 0,
Float_t  xmax = 0,
Float_t  ymin = 0,
Float_t  ymax = 0 
)

this function return pointer to the new created histogram which is subhistogram of the calculate number subhistogram range must be inside histogram

Definition at line 274 of file AliH2F.cxx.

AliH2F * AliH2F::GetSubrange2d ( Float_t  xmin,
Float_t  xmax,
Float_t  ymin,
Float_t  ymax 
)

this function return pointer to the new created histogram which is subhistogram of the calculate number subhistogram range must be inside histogram

Definition at line 183 of file AliH2F.cxx.

Referenced by AliDigits::DrawDigits(), and AliSimDigits::DrawTracks().

AliH2F & AliH2F::operator= ( const AliH2F his)

Definition at line 66 of file AliH2F.cxx.

void AliH2F::Round ( )

round float to integer

Definition at line 166 of file AliH2F.cxx.


The documentation for this class was generated from the following files: