5 #include "SpyCorruption.h"
9 SpyCorruption:: SpyCorruption(){
16 SpyCorruption::sense(FILE *fd) {
17 int sumCorr=(int)h->Integral();
18 bool isBad=sumCorr>lastSum;
21 fprintf(fd,
"\nSpyCorruption: %s total=%d eve,\n details (type=value):",text.Data(),sumCorr);
24 for(i=1;i<=h->GetNbinsX();i++) {
25 fprintf(fd,
"%d=%.0f, ",i,h->GetBinContent(i));
26 if(h->GetBinContent(i) <=0)
continue;
29 fprintf(fd,
" --> nTypes=%d\n",k);
30 fprintf(fd,
" for definition see:\n @ http://www.star.bnl.gov/STAR/eemc/software/panitkin2005/\n");