4 TFile *
f1 =
new TFile(
"/bes3fs/groups/psip/psipgroup/temp/user/liuh/BbLum/psipp/BbEmc_00XXXX.root");
9 TPad *
c1_1 =
new TPad(
"c1_1",
"c1_1",0.01,0.01,0.99,0.99);
12 c1_1->Range(0.425458,-114.842,0.674993,802.951);
14 c1_1->SetBottomMargin(0.125129);
15 c1_1->SetFrameFillColor(0);
31 for(Int_t i=0;i<10;i++)
33 hdltphi[i] =
new TH1D(
" ",
"dltphi distribution",50,-50.,50.);
36 TH1 *
htime =
new TH1D(
"htime",
"time", 80, -10., 10.);
47 for(Int_t i=0;i<11;i++)
51 for(Int_t i=0;i<10;i++)
68 for(Int_t i=0;i<10;i++)
75 TCanvas *
c1 =
new TCanvas(
"c1",
" ",700,500);
76 c1->SetFillColor(kWhite);
80 TF1 *
g1 =
new TF1(
"g1",
"[0]*exp(-x/[1])",0,10000.);
81 g1->SetParameters(
lum[0],1e+4.);
86 gr->SetMarkerColor(4);
87 gr->SetMarkerStyle(21);
88 gr->SetTitle(
"BbLum_000XXXX");
89 gr->GetXaxis()->SetTitle(
"Time");
90 gr->GetYaxis()->SetTitle(
"Luminosity");
96 m_outputFile<<XXXX<<
" "<<
difft<<
" "<<
g1->GetParameter(0)<<
" "<<(
g1->GetParameter(0) *
exp(- 1.0 *
difft / (
g1->GetParameter(1))))<<
" "<<
g1->GetParameter(1)<<endl;
99 TString result = Form(
"tau = %6.2f",
g1->GetParameter(1));
100 TText* text01 =
new TText(0.7,0.8,result);
102 text01->Draw(
"same");
104 c1->GetFrame()->SetFillColor(kWhite);
105 c1->GetFrame()->SetBorderSize(1);
107 c1->Print(
"lum_0000XXXX.ps");
EvtComplex exp(const EvtComplex &c)
std::ofstream m_outputFile