2 TCanvas* c1=
new TCanvas(
"c1");
8 c1->SetWindowSize(750,500);
11 gStyle->SetOptTitle(0);
12 gStyle->SetOptStat(0);
14 gROOT->LoadMacro(
"load2ptLibs.C");
16 gSystem->Load(
"StEStructPoolSupport.so");
31 char *dir =
"/common/star/stardata/estruct/prindle/Hijing/auau200/QuenchOff/testMode0";
32 float sf[2] = {0.98,0.98};
34 for (
int ic=0;ic<nCent;ic++) {
39 sprintf(fileName,
"%s/data/Data%iSymm.root",dir,ic);
40 tf[ic] =
new TFile(fileName);
42 ytyt[ic] = (TH2F**) ehelp[ic]->buildNChargeTypes(
"YtYt");
45 float dx = ytyt[ic][j]->GetXaxis()->GetBinWidth(1);
46 float dy = ytyt[ic][j]->GetYaxis()->GetBinWidth(1);
47 float sf2 = sqrt(dx*dy);
48 ytyt[ic][j]->Scale(1.0/sf2);
50 ptdedp[ic] = (TH2F**) ehelp[ic]->buildPtChargeTypes(
"DEtaDPhi",0,1);
51 dedp[ic] = (TH2F**) ehelp[ic]->buildNChargeTypes(
"DEtaDPhi");
53 phiphi[ic] = (TH2F**) ehelp[ic]->buildNChargeTypes(
"PhiPhi");
59 char *chargeCombo[] = {
"LS",
"US",
"CD",
"CI"};
63 for (
int ic=0;ic<nCent;ic++) {
67 phiphi[ic][icharge]->Draw(
"surf1");
74 for (
int i=0;i<nCent;i++) {
75 ytyt[i][2]->SetMaximum(0.02);
76 ytyt[i][3]->SetMaximum(0.04);
83 for (
int ic=0;ic<nCent;ic++) {
87 ytyt[ic][icharge]->Draw(
"surf1");
96 for (
int ic=0;ic<nCent;ic++) {
97 for (
int ih=0;ih<4;ih++) {
98 sprintf(fileName,
"%s/txt/asciiYtYtData%i_%i.txt",dir,ic,ih);
99 ehelp[ic][dumpEm[id]]->writeAscii( ytyt[ic], ih, fileName, 0 );
100 sprintf(fileName,
"%s/txt/asciidedpData%i_%i.txt",dir,ic,ih);
101 ehelp[ic][dumpEm[id]]->writeAscii( dedp[ic], ih, fileName, 0 );
102 sprintf(fileName,
"%s/txt/asciiptdedpData%i_%i.txt",dir,ic,ih);
103 ehelp[ic][dumpEm[id]]->writeAscii( ptdedp[ic], ih, fileName, 0 );