List of all members | Public Member Functions | Private Member Functions | Private Attributes
PolarHist Class Reference

#include <PolarHist.h>

Public Member Functions

void DrawAxis (TCanvas &can)
 
void Fill (float r, float theta, float w=1)
 
void FillGauss (float r, float theta, float resolution=5, float range=10, float w=1)
 
TH2F *& GetHist ()
 
 PolarHist (std::string title, unsigned int nbin, float rmax)
 
void SetTitle (std::string title)
 
void UseDegree ()
 
void UseRadian ()
 
 ~PolarHist ()
 

Private Member Functions

 PolarHist ()
 

Private Attributes

float fconvfactor
 
TH2F * fhist
 
float frmax
 
std::vector< TGraph * > fv_axis
 

Detailed Description

Definition at line 9 of file PolarHist.h.

Constructor & Destructor Documentation

PolarHist::PolarHist ( std::string  title,
unsigned int  nbin,
float  rmax 
)
PolarHist::~PolarHist ( )
PolarHist::PolarHist ( )
private

Member Function Documentation

void PolarHist::DrawAxis ( TCanvas &  can)
void PolarHist::Fill ( float  r,
float  theta,
float  w = 1 
)
void PolarHist::FillGauss ( float  r,
float  theta,
float  resolution = 5,
float  range = 10,
float  w = 1 
)
TH2F*& PolarHist::GetHist ( )
inline

Definition at line 18 of file PolarHist.h.

References fhist.

void PolarHist::SetTitle ( std::string  title)
inline

Definition at line 13 of file PolarHist.h.

References fhist.

void PolarHist::UseDegree ( )
inline

Definition at line 16 of file PolarHist.h.

References fconvfactor.

void PolarHist::UseRadian ( )
inline

Definition at line 17 of file PolarHist.h.

References fconvfactor.

Member Data Documentation

float PolarHist::fconvfactor
private

Definition at line 26 of file PolarHist.h.

Referenced by UseDegree(), and UseRadian().

TH2F* PolarHist::fhist
private

Definition at line 25 of file PolarHist.h.

Referenced by GetHist(), and SetTitle().

float PolarHist::frmax
private

Definition at line 27 of file PolarHist.h.

std::vector<TGraph*> PolarHist::fv_axis
private

Definition at line 28 of file PolarHist.h.


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

, generated on Tue Sep 26 2023.