37 fZRSectionTolerance[1] = 0.071;
38 fZRSectionTolerance[2] = fZRSectionTolerance[0] = 0.1647;
43 for (Int_t i = 0; i < 3*4; i++) {
44 Pxy[i] = (
P[i] +
P[i+3*4])/2.0;
54 Int_t iSeq[8] = {0,3,1,2,5,6,4,7};
55 for (Int_t i = 0; i < 4; i++) {
56 for (Int_t j = 0; j < 3; j++) {
57 Pzr[3*i+j] = (
P[3*iSeq[2*i]+j] +
P[3*iSeq[2*i+1]+j])/2.0;
69 if (fPhiMin > fPhiMax && fPhiMin - fPhiMax < 180.0)
71 Double_t phiTemp = fPhiMin;
76 if (fPhiMax > fPhiMin && fPhiMax - fPhiMin > 180.0)
78 Double_t phiTemp = fPhiMin;
220 TString opt = option;
228 fScinXYFired->SetLineColor(lcScinFired);
229 fScinXYFired->SetLineWidth(lwScinFired);
230 fScinXYFired->SetFillColor(fcScinFired);
231 fScinXYFired->SetFillStyle(fsScinFired);
236 fScinXY->SetLineColor(lcScin);
237 fScinXY->SetLineWidth(lwScin);
238 fScinXY->SetFillColor(fcScin);
239 fScinXY->SetFillStyle(fsScin);
244 fScinXY->SetLineColor(lcScinHL);
245 fScinXY->SetLineWidth(lwScinHL);
246 fScinXY->SetFillColor(fcScinHL);
247 fScinXY->SetFillStyle(fsScinHL);
250 fScinXYFired->SetLineColor(lcScinFiredHL);
251 fScinXYFired->SetLineWidth(lwScinFiredHL);
252 fScinXYFired->SetFillColor(fcScinFiredHL);
253 fScinXYFired->SetFillStyle(fsScinFiredHL);
257 if (fScinXY) fScinXY->
Paint();
266 fScinXYFired->
SetSize(fCharge/fChargeMax);
267 fScinXYFired->
Paint();
277 fScinZRFired->SetLineColor(lcScinFired);
278 fScinZRFired->SetLineWidth(lwScinFired);
279 fScinZRFired->SetFillColor(fcScinFired);
280 fScinZRFired->SetFillStyle(fsScinFired);
285 fScinZR->SetLineColor(lcScin);
286 fScinZR->SetLineWidth(lwScin);
287 fScinZR->SetFillColor(fcScin);
288 fScinZR->SetFillStyle(fsScin);
293 fScinZR->SetLineColor(lcScinHL);
294 fScinZR->SetLineWidth(lwScinHL);
295 fScinZR->SetFillColor(fcScinHL);
296 fScinZR->SetFillStyle(fsScinHL);
299 fScinZRFired->SetLineColor(lcScinFiredHL);
300 fScinZRFired->SetLineWidth(lwScinFiredHL);
301 fScinZRFired->SetFillColor(fcScinFiredHL);
302 fScinZRFired->SetFillStyle(fsScinFiredHL);
306 if (fScinZR) fScinZR->
Paint();
315 fScinZRFired->
SetSize(fCharge/fChargeMax);
316 fScinZRFired->
Paint();
344 Double_t zrPhi = viewPhi-90.0;
348 for (Int_t i = 0; i < 2; i++) {
354 if (zrPhi >= fPhiMin-fZRSectionTolerance[
GetPart()] &&
355 zrPhi <= fPhiMax+fZRSectionTolerance[
GetPart()]) {
359 else if (fPhiMin > fPhiMax) {
360 if (zrPhi >= fPhiMin-fZRSectionTolerance[
GetPart()] ||
361 zrPhi <= fPhiMax+fZRSectionTolerance[
GetPart()]) {
cout<<"end eff5"<< endl;TGraph *gr1=new TGraphErrors(15, x, eff_ep, errx, err_ep);TGraph *gr2=new TGraphErrors(15, x, eff_em, errx, err_em);TGraph *gr3=new TGraphErrors(15, x, eff_ep2, errx, err_ep2);TGraph *gr4=new TGraphErrors(15, x, eff_em2, errx, err_em2);TGraph *gr5=new TGraphErrors(15, x, eff_ep3, errx, err_ep3);TGraph *gr6=new TGraphErrors(15, x, eff_em3, errx, err_em3);TGraph *gr7=new TGraphErrors(15, x, eff_ep4, errx, err_ep4);TGraph *gr8=new TGraphErrors(15, x, eff_em4, errx, err_em4);TGraph *gr9=new TGraphErrors(15, x, eff_ep5, errx, err_ep5);TGraph *gr10=new TGraphErrors(15, x, eff_em5, errx, err_em5);TCanvas *c1=new TCanvas("c1","bhabha_eff", 100, 10, 600, 400);TMultiGraph *mg=new TMultiGraph();mg-> SetTitle("bhabha_eff")
virtual void SetText(std::vector< TString > infoCon)
virtual void SetPos(Int_t px, Int_t py)