Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitInfo.h
1/*
2 * CorrFitInfo.h
3 *
4 * Created on: 10 kwi 2020
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCORRFITINFO_H_
10#define HALCORRFITINFO_H_
11
12#include "CorrFitParamsSetup.h"
13
14#include <TNamed.h>
15#include <TString.h>
16
20namespace Hal {
21 class CorrFitInfo : public TNamed {
22 TObject* fCF;
23 CorrFitParamsSetup fSetup;
24 TString fMacroText;
25 TString fPairFile;
26 Bool_t fVertical;
27
28 public:
30 CorrFitInfo(const CorrFitInfo& other);
31 void MarkAsVertical() { fVertical = kTRUE; };
32 void SetCf(TObject* cf) { fCF = cf; }
33 void SetPairFile(TString pairFile) { fPairFile = pairFile; }
34 void SetSetup(const CorrFitParamsSetup& setup) { fSetup = setup; }
35 void SetMacroText(const TString& macroText) { fMacroText = macroText; }
36 void Print(Option_t* option = "") const;
37 Int_t GetMainBins() const;
38 Bool_t IsVertical() const { return fVertical; }
39 TObject* GetCf() const { return fCF; }
40 TString GetMacroText() const { return fMacroText; }
41 TString GetPairFile() const { return fPairFile; }
42 CorrFitParamsSetup GetSetup() const { return fSetup; }
43 virtual ~CorrFitInfo();
44 ClassDef(CorrFitInfo, 1)
45 };
46} // namespace Hal
47
48#endif /* HALCORRFITINFO_H_ */