hi everyone,
I can suceed to get one hisgram of one asic file.like this:
{
int i=0,j,k;
float sig[14][9];
char filename[200];
TH2D *SigMax = new TH2D("SigMax","",8,0,8,13,0,13);
sprintf(filename,"%d.sigMax",i);//0.sigMax asic file exists in current
dictory
input=fopen(filename,"r");
for(j=1;j<14;j++)
for(k=1;k<9;k++)
fscanf(input,"%f ",&sig[j][k]);
for(j=13;j>=1;j--)
for(k=1;k<=8;k++)
SigMax->SetBinContent(k,j,sig[j][k]);
}
Now,I need to get many hisgrams,so I try to create a dimension array of
hisgram like in the attchment,but I failed.
Would you help me?Thank you in advance!
with best wishes,
Fengrong Zhu
Institute of High Energy Physics,
C.A.S P.R.C
zhufr_at_ihep.ac.cn
--
Open WebMail Project (http://openwebmail.org)
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET