Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FemtoSHCFPainter.h
1/*
2 * FemtoSHCFPainter.h
3 *
4 * Created on: 22 lip 2024
5 * Author: daniel
6 */
7
8#ifndef HAL_ANALYSIS_PAINTERS_FEMTOSHCFPAINTER_H_
9#define HAL_ANALYSIS_PAINTERS_FEMTOSHCFPAINTER_H_
10
11#include <Rtypes.h>
12#include <TString.h>
13
14#include "FemtoCFPainter.h"
15
16class TH1;
17namespace Hal {
18 class FemtoSHCF;
19} /* namespace Hal */
20
24namespace Hal {
26 static const int kReBit, kImBit, kShortBit, kSepBit;
27 Hal::FemtoSHCF* fSHCF = {nullptr};
28 std::vector<Double_t> fRangesYY;
29 Color_t fColorIm = {kRed}, fColorRe = {kBlue};
30
31 protected:
32 TH1* GetRe(Int_t no) const { return fHistograms[no][0]; };
33 TH1* GetIm(Int_t no) const { return fHistograms[no][1]; };
34 void AddHistograms(TH1* re, TH1* im);
35 std::pair<TH1*, TH1*> GetNewHistPair(Int_t l, Int_t m);
36 void MakeHistograms();
37 Bool_t CheckPads() const;
38 void SetHistRanges(TH1* hist, Int_t l);
47 virtual ULong64_t SetOptionInternal(TString opts, ULong64_t prev = 0);
48 virtual void ScaleHistograms();
49 virtual void MakePadsAndCanvases();
50
51 public:
52 FemtoSHCFPainter(Hal::FemtoSHCF* cf = nullptr);
53 virtual TString GetOptionForCorrFit() const;
54 void SetColors(Color_t real, Color_t imag) {
55 fColorIm = imag;
56 fColorRe = real;
57 }
58 virtual ~FemtoSHCFPainter() {};
59 ClassDef(FemtoSHCFPainter, 0)
60 };
61} // namespace Hal
62
63#endif /* HAL_ANALYSIS_PAINTERS_FEMTOSHCFPAINTER_H_ */
virtual TString GetOptionForCorrFit() const
virtual ULong64_t SetOptionInternal(TString opts, ULong64_t prev=0)
virtual void MakePadsAndCanvases()