5#ifndef PAIRANALYSISSPECTRUM_H
6#define PAIRANALYSISSPECTRUM_H
17#include <TGraphErrors.h>
63 enum class ESystMethod
70 PairAnalysisSpectrum();
71 PairAnalysisSpectrum(
const char* name,
const char* title);
73 virtual ~PairAnalysisSpectrum();
77 void SetVariable(TString varType, TVectorD*
const binLimits)
80 fVarBinning = binLimits;
82 void SetSystMethod(ESystMethod mthd) { fSystMthd = mthd; }
85 void AddInput(TObjArray* raw, TString identifier, TObjArray* mc = NULL, TObjArray* truth = NULL);
86 void AddMCInput(PairAnalysisHistos* hf) { fMCInput.Add(hf); }
90 virtual void DrawSpectrum(
const char* varexp,
const char* selection =
"", Option_t* option =
"");
91 Int_t Write(
const char*, Int_t, Int_t) {
return -1; }
92 Int_t Write(
const char*, Int_t, Int_t)
const {
return -1; }
94 void Fit(TString drawoption =
"L");
101 virtual void Write();
107 TVectorD* fVarBinning = NULL;
110 ESystMethod fSystMthd = ESystMethod::kSystMax;
113 TString fInputKeys[100];
121 TList* fResults = NULL;
122 TObjArray* fExtractions = NULL;
125 TGraphErrors* fSignal = NULL;
127 PairAnalysisSpectrum(
const PairAnalysisSpectrum& c);
128 PairAnalysisSpectrum& operator=(
const PairAnalysisSpectrum& c);
130 ClassDef(PairAnalysisSpectrum,
ClassImp(CbmConverterManager)