Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Femto3DCFPainter Class Reference
Inheritance diagram for Hal::Femto3DCFPainter:
Hal::FemtoCFPainter Hal::Painter

Public Member Functions

 Femto3DCFPainter (Femto3DCF *cf=nullptr)
 
virtual TString GetOptionForCorrFit () const
 
- Public Member Functions inherited from Hal::FemtoCFPainter
std::pair< Double_t, Double_t > GetMinMax (Int_t x=0, Int_t y=0) const
 
virtual void Rescale (Double_t newScale)
 
- Public Member Functions inherited from Hal::Painter
Bool_t HasParent () const
 
 Painter (const Painter &other)=delete
 
void AddPainter (Painter *painter)
 
virtual void SetOption (TString option)
 
void Paint ()
 
PainterGetParent () const
 
Painteroperator= (const Painter &other)=delete
 
TCanvas * GetCanvas (Int_t canvasNo=0) const
 
TVirtualPad * GetPad (Int_t index, Int_t canvasNo=0) const
 
void SetGlobalPadStyle (Hal::PadStyle &pad)
 

Protected Member Functions

virtual void MakePadsAndCanvases ()
 
Int_t GetPadsRequired () const
 
virtual ULong64_t SetOptionInternal (TString opt, ULong64_t prev=0)
 
virtual void MakeHistograms ()
 
virtual void ScaleHistograms ()
 
virtual void PrepareHtml (TH1 *h)
 
virtual void Prepare3DFull (TH1 *h)
 
virtual void Prepare3D (TH1 *h)
 
virtual void PrepareDiagonal1 (TH1 *h)
 
virtual void PrepareDiagonal2 (TH1 *h)
 
virtual void PrepareTwoDim (TH1 *h)
 
virtual void DrawHistograms ()
 
virtual Bool_t CheckPads () const
 
TH1D * GetProjection1D (TH1 *h, Double_t min1, Double_t max1, Double_t min2, Double_t max2, Option_t *opt) const
 
- Protected Member Functions inherited from Hal::FemtoCFPainter
TH1 * CloneHist (TH1 *) const
 
void DeleteHistograms ()
 
ULong64_t PrepBitTemplate (std::initializer_list< int > temps) const
 
Bool_t AreSimiliar (ULong64_t current, ULong64_t pattern) const
 
virtual void InnerPaint ()
 
virtual void InnerRepaint ()
 
- Protected Member Functions inherited from Hal::Painter
void SetFlag (Int_t bit, Bool_t state)
 
void SetFlagForced (ULong64_t flag)
 
void ResetFewBits (ULong64_t &flag, std::initializer_list< Int_t > bits, Int_t set=-1) const
 
Bool_t OwnGraphic () const
 
Bool_t CheckOpt (Int_t opt) const
 
ULong64_t GetDrawFlags () const
 
virtual void OptionsApplied ()
 
virtual void SetDefaultFlag ()
 
Bool_t CanvasExist (Int_t canvasNo=0) const
 
Bool_t GetPatterns (TString opt, TString flag, std::vector< double > &vals) const
 
void ContitionalPattern (TString &option, TString pattern, ULong64_t &drawOpt, Int_t bit, Bool_t remove=kTRUE) const
 
void LockPad ()
 
void UnlockPad ()
 
Int_t GetPadsNo (Int_t canvasNo=0) const
 
void GotoPad (Int_t no, Int_t canvasNo=0)
 
void MakeCanvasPads (Int_t x=1, Int_t y=1, Int_t canvasNo=0)
 
void UpdateAllPads ()
 
void ClearCanvas (Int_t canvas)
 
void CleanCommonData ()
 
PainterGetAncestor () const
 

Protected Attributes

Femto3DCFfCF
 
Double_t fThetaPad = {30.}
 
Double_t fPhiPad = {30.}
 
- Protected Attributes inherited from Hal::FemtoCFPainter
Double_t fRangeX [2] = {0, 0}
 
Double_t fRangeY [2] = {0, 0}
 
Double_t fScale = {1.0}
 
Double_t fDrawScale = {1.0}
 
TString fDefDrawFlag = "SAME+P"
 
std::vector< std::vector< TH1 * > > fHistograms
 
- Protected Attributes inherited from Hal::Painter
Bool_t fOptionsChanged = {kFALSE}
 

Additional Inherited Members

- Static Protected Attributes inherited from Hal::FemtoCFPainter
static const int kNumBit = 8
 
static const int kDenBit = 9
 
static const int kCFBit = 10
 
static const int kHideTitles = 11
 
- Static Protected Attributes inherited from Hal::Painter
static const int kHtmlBit = 0
 
static const int kGridBit = 1
 

Detailed Description

Definition at line 17 of file Femto3DCFPainter.h.

Constructor & Destructor Documentation

◆ Femto3DCFPainter()

Hal::Femto3DCFPainter::Femto3DCFPainter ( Femto3DCF * cf = nullptr)

Definition at line 98 of file Femto3DCFPainter.cxx.

◆ ~Femto3DCFPainter()

Hal::Femto3DCFPainter::~Femto3DCFPainter ( )
virtual

Definition at line 389 of file Femto3DCFPainter.cxx.

Member Function Documentation

◆ CheckPads()

Bool_t Hal::Femto3DCFPainter::CheckPads ( ) const
protectedvirtual
Returns
true if number of subpads is proper for drawing, if return false this painter will not be drawn

Reimplemented from Hal::Painter.

Definition at line 91 of file Femto3DCFPainter.cxx.

◆ DrawHistograms()

void Hal::Femto3DCFPainter::DrawHistograms ( )
protectedvirtual

Reimplemented from Hal::FemtoCFPainter.

Definition at line 396 of file Femto3DCFPainter.cxx.

◆ GetOptionForCorrFit()

TString Hal::Femto3DCFPainter::GetOptionForCorrFit ( ) const
virtual
Returns
option for drawing corrfit

Reimplemented from Hal::FemtoCFPainter.

Definition at line 362 of file Femto3DCFPainter.cxx.

◆ GetPadsRequired()

Int_t Hal::Femto3DCFPainter::GetPadsRequired ( ) const
protected

Definition at line 293 of file Femto3DCFPainter.cxx.

◆ GetProjection1D()

TH1D * Hal::Femto3DCFPainter::GetProjection1D ( TH1 * h,
Double_t min1,
Double_t max1,
Double_t min2,
Double_t max2,
Option_t * opt ) const
protected

Definition at line 151 of file Femto3DCFPainter.cxx.

◆ MakeHistograms()

void Hal::Femto3DCFPainter::MakeHistograms ( )
protectedvirtual

Implements Hal::FemtoCFPainter.

Definition at line 62 of file Femto3DCFPainter.cxx.

◆ MakePadsAndCanvases()

void Hal::Femto3DCFPainter::MakePadsAndCanvases ( )
protectedvirtual

creates pads and canvases, should call generate subpads

Implements Hal::Painter.

Definition at line 391 of file Femto3DCFPainter.cxx.

◆ Prepare3D()

void Hal::Femto3DCFPainter::Prepare3D ( TH1 * h)
protectedvirtual

Definition at line 157 of file Femto3DCFPainter.cxx.

◆ Prepare3DFull()

void Hal::Femto3DCFPainter::Prepare3DFull ( TH1 * h)
protectedvirtual

Definition at line 100 of file Femto3DCFPainter.cxx.

◆ PrepareDiagonal1()

void Hal::Femto3DCFPainter::PrepareDiagonal1 ( TH1 * h)
protectedvirtual

Definition at line 205 of file Femto3DCFPainter.cxx.

◆ PrepareDiagonal2()

void Hal::Femto3DCFPainter::PrepareDiagonal2 ( TH1 * h)
protectedvirtual

Definition at line 235 of file Femto3DCFPainter.cxx.

◆ PrepareHtml()

void Hal::Femto3DCFPainter::PrepareHtml ( TH1 * h)
protectedvirtual

Definition at line 312 of file Femto3DCFPainter.cxx.

◆ PrepareTwoDim()

void Hal::Femto3DCFPainter::PrepareTwoDim ( TH1 * h)
protectedvirtual

Definition at line 278 of file Femto3DCFPainter.cxx.

◆ ScaleHistograms()

void Hal::Femto3DCFPainter::ScaleHistograms ( )
protectedvirtual

Reimplemented from Hal::FemtoCFPainter.

Definition at line 376 of file Femto3DCFPainter.cxx.

◆ SetOptionInternal()

ULong64_t Hal::Femto3DCFPainter::SetOptionInternal ( TString opt,
ULong64_t prev = 0 )
protectedvirtual

see

See also
Hal::FemtoCFPainter::SetOptionInternal
Parameters
opt
  • diag1 - diagonal one projections
  • diag2 - diagonal two projections (not working correctly) TODO -fix this
  • hidetitles - hide titles of projections
  • {ang=theta,phi} set theta phi angles of pad
prev
Returns

Reimplemented from Hal::FemtoCFPainter.

Definition at line 27 of file Femto3DCFPainter.cxx.

Member Data Documentation

◆ fCF

Femto3DCF* Hal::Femto3DCFPainter::fCF
protected

Definition at line 22 of file Femto3DCFPainter.h.

◆ fPhiPad

Double_t Hal::Femto3DCFPainter::fPhiPad = {30.}
protected

Definition at line 24 of file Femto3DCFPainter.h.

◆ fThetaPad

Double_t Hal::Femto3DCFPainter::fThetaPad = {30.}
protected

Definition at line 23 of file Femto3DCFPainter.h.


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