9#include "FemtoSHSlice.h"
18 FemtoSHSlice::FemtoSHSlice(Int_t L) : fMaxJM((L + 1) * (L + 1)) {
19 fCFImag.resize(fMaxJM);
20 fCFReal.resize(fMaxJM);
21 fCFImagE.resize(fMaxJM);
22 fCFRealE.resize(fMaxJM);
23 fNumReal.resize(fMaxJM);
24 fNumImag.resize(fMaxJM);
25 fDenReal.resize(fMaxJM);
26 fDenImag.resize(fMaxJM);
27 fNumRealE.resize(fMaxJM);
28 fNumImagE.resize(fMaxJM);
29 fDenRealE.resize(fMaxJM);
30 fDenImagE.resize(fMaxJM);
31 fCovCF.MakeBigger(fMaxJM * 2, fMaxJM * 2);
32 fCovNum.MakeBigger(fMaxJM * 2, fMaxJM * 2);
33 fCovDen.MakeBigger(fMaxJM * 2, fMaxJM * 2);
36 void FemtoSHSlice::BuildSlice(FemtoSHCF& cf, Int_t bin) {
37 for (
int i = 0; i < fMaxJM; i++) {
38 fNumReal[i] = cf.fNumReal[i]->GetBinContent(bin);
39 fDenReal[i] = cf.fDenReal[i]->GetBinContent(bin);
40 fNumImag[i] = cf.fNumImag[i]->GetBinContent(bin);
41 fDenImag[i] = cf.fDenImag[i]->GetBinContent(bin);
42 fNumRealE[i] = cf.fNumReal[i]->GetBinError(bin);
43 fDenRealE[i] = cf.fDenReal[i]->GetBinError(bin);
44 fNumImagE[i] = cf.fNumImag[i]->GetBinError(bin);
45 fDenImagE[i] = cf.fDenImag[i]->GetBinError(bin);
48 for (
int ilmzero = 0; ilmzero < 2 * fMaxJM; ilmzero++)
49 for (
int ilmprim = 0; ilmprim < 2 * fMaxJM; ilmprim++) {
50 fCovNum[ilmzero][ilmprim] = cf.fCovNum[bin - 1][ilmzero][ilmprim];
54 FemtoSHSlice::~FemtoSHSlice() {}