Dear All
I have created TProfile2D and filled it, but output is so unexpected.
Please tell me what should I do to delete this big orange “triangles”.
The profile have been created by below source code
[code]double diff;
FILE *file;
TProfile2D *profil=new TProfile2D(“diffAVR profil”,“diffAvr profil”,84,.0,105.,64,.0,64.);
// not important
for(int i=0;i<84;i++){
for(int j=0;j<64;j++){
for(int k=j*32+2;k<(j+1)*32;k++){
// not important
if(i<42){
profil->Fill(i,j,diff);
fprintf(file,"i<42=%d\tj=%d\tdiff=%lf\n",i,j,diff);
}else{
profil->Fill(i+22,j,diff);
fprintf(file,"i=%d\tj=%d\tdiff=%lf\n",i+22,j,diff);
}
}
}[/code]
and content of file http://codeviewer.org/view/code:28ec
Best regards