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

Public Member Functions

 FemtoSHCFPainter (Hal::FemtoSHCF *cf=nullptr)
 
virtual TString GetOptionForCorrFit () const
 
void SetColors (Color_t real, Color_t imag)
 
- 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

TH1 * GetRe (Int_t no) const
 
TH1 * GetIm (Int_t no) const
 
void AddHistograms (TH1 *re, TH1 *im)
 
std::pair< TH1 *, TH1 * > GetNewHistPair (Int_t l, Int_t m)
 
void MakeHistograms ()
 
Bool_t CheckPads () const
 
void SetHistRanges (TH1 *hist, Int_t l)
 
virtual ULong64_t SetOptionInternal (TString opts, ULong64_t prev=0)
 
virtual void ScaleHistograms ()
 
virtual void MakePadsAndCanvases ()
 
- Protected Member Functions inherited from Hal::FemtoCFPainter
TH1 * CloneHist (TH1 *) const
 
void DeleteHistograms ()
 
virtual void DrawHistograms ()
 
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
 

Additional Inherited Members

- 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}
 
- 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 25 of file FemtoSHCFPainter.h.

Constructor & Destructor Documentation

◆ FemtoSHCFPainter()

Hal::FemtoSHCFPainter::FemtoSHCFPainter ( Hal::FemtoSHCF * cf = nullptr)

Definition at line 55 of file FemtoSHCFPainter.cxx.

◆ ~FemtoSHCFPainter()

virtual Hal::FemtoSHCFPainter::~FemtoSHCFPainter ( )
inlinevirtual

Definition at line 58 of file FemtoSHCFPainter.h.

Member Function Documentation

◆ AddHistograms()

void Hal::FemtoSHCFPainter::AddHistograms ( TH1 * re,
TH1 * im )
protected

Definition at line 176 of file FemtoSHCFPainter.cxx.

◆ CheckPads()

Bool_t Hal::FemtoSHCFPainter::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 183 of file FemtoSHCFPainter.cxx.

◆ GetIm()

TH1 * Hal::FemtoSHCFPainter::GetIm ( Int_t no) const
inlineprotected

Definition at line 33 of file FemtoSHCFPainter.h.

◆ GetNewHistPair()

std::pair< TH1 *, TH1 * > Hal::FemtoSHCFPainter::GetNewHistPair ( Int_t l,
Int_t m )
protected

Definition at line 60 of file FemtoSHCFPainter.cxx.

◆ GetOptionForCorrFit()

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

Reimplemented from Hal::FemtoCFPainter.

Definition at line 190 of file FemtoSHCFPainter.cxx.

◆ GetRe()

TH1 * Hal::FemtoSHCFPainter::GetRe ( Int_t no) const
inlineprotected

Definition at line 32 of file FemtoSHCFPainter.h.

◆ MakeHistograms()

void Hal::FemtoSHCFPainter::MakeHistograms ( )
protectedvirtual

Implements Hal::FemtoCFPainter.

Definition at line 135 of file FemtoSHCFPainter.cxx.

◆ MakePadsAndCanvases()

void Hal::FemtoSHCFPainter::MakePadsAndCanvases ( )
protectedvirtual

creates pads and canvases, should call generate subpads

Implements Hal::Painter.

Definition at line 212 of file FemtoSHCFPainter.cxx.

◆ ScaleHistograms()

void Hal::FemtoSHCFPainter::ScaleHistograms ( )
protectedvirtual

Reimplemented from Hal::FemtoCFPainter.

Definition at line 196 of file FemtoSHCFPainter.cxx.

◆ SetColors()

void Hal::FemtoSHCFPainter::SetColors ( Color_t real,
Color_t imag )
inline

Definition at line 54 of file FemtoSHCFPainter.h.

◆ SetHistRanges()

void Hal::FemtoSHCFPainter::SetHistRanges ( TH1 * hist,
Int_t l )
protected

Definition at line 113 of file FemtoSHCFPainter.cxx.

◆ SetOptionInternal()

ULong64_t Hal::FemtoSHCFPainter::SetOptionInternal ( TString opts,
ULong64_t prev = 0 )
protectedvirtual

set draw options

Parameters
opts
  • im - draw imaginary part
  • re - draw real part if none of this (or both) are set - draw imaginary and real part
  • short - draw only chosen components of cf
  • neg - skip drawing the negative components of CF

Reimplemented from Hal::FemtoCFPainter.

Definition at line 33 of file FemtoSHCFPainter.cxx.


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