1 #ifndef HARPOVERTEXING_H
2 #define HARPOVERTEXING_H
18 #include "TGNumberEntry.h"
19 #include "TGraphErrors.h"
28 void Save(
char *mode=NULL);
33 Double_t
GetFraction(Int_t ndet, Double_t x, Double_t z, Double_t &phi0, Double_t &phi1);
50 TArrayD*
GetPeaks(Int_t n, Double_t *x, Double_t *w, Int_t plane, Int_t v);
51 void GetPeak(Int_t n, Double_t *x, Double_t *w, Double_t &muOut, Double_t &sigOut, Int_t plane, Int_t v);
54 TGraph*
GetGraph(TH2F* h, Int_t n, Double_t x0, Double_t z0, Double_t px, Double_t pz);
55 TArrayD*
FitGraph(TGraph* g,
const Int_t nFit);
TGNumberEntry * fChooseSeparation
TArrayD * FitGraph(TGraph *g, const Int_t nFit)
void FitVertex(TH2F *h, HarpoRecoVertex *vertex)
TArrayD * GetPeaks(Int_t n, Double_t *x, Double_t *w, Int_t plane, Int_t v)
TH2F * fHistProj2Draw[20]
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
TGNumberEntry * fChooseRadiusZ
TArrayD * GetPeaks2(TH1F *h)
TGraph * GetGraph(TH2F *h, Int_t n, Double_t x0, Double_t z0, Double_t px, Double_t pz)
void GetPeak(Int_t n, Double_t *x, Double_t *w, Double_t &muOut, Double_t &sigOut, Int_t plane, Int_t v)
2D vertex object, containing position, angle and associated track numbers, and quality info ...
void DisplayAnalysis(TRootEmbeddedCanvas *ecTab, TGListBox *infobox)
Double_t GetFraction(Int_t ndet, Double_t x, Double_t z, Double_t &phi0, Double_t &phi1)
Redefine empty default.
unpacked dcc data The class contains the data map for DCC or Feminos The data is stored as a 2D TMatr...
Dummy analysis to run as test and example. Give basic histograms of the data.
TGNumberEntry * fChooseMinFrac
void ConfigFrame(TGMainFrame *fMain, Int_t id)
void RefineVertexPosition()
void print()
Overloaded method which do all job.
TGNumberEntry * fChooseRadiusX
void Save(char *mode=NULL)
void GetConnex(Int_t i, Int_t j, Int_t n, Int_t n0, HarpoDccMap *m, TH2F *h)
TGNumberEntry * fChooseQmin