- stat.open("Statistics");
- stat<<"Number of words:..........................................."<<CountWords<<endl;
- stat<<"Number of trailers (4 10 bits words in each one)..........."<<CountTrailer<<endl;
- stat<<"Number of fill words:......................................"<<fFillWords+EndFill<<endl;
- stat<<"Total number of words:....................................."<<CountWords+CountTrailer*4+fFillWords+EndFill<<endl;
- stat<<"-----------------------------------------"<<endl;
- stat<<"Number of Bunches............."<<Stat[0]<<endl;
- stat<<"Number of Time bin............"<<Stat[1]<<endl;
- stat<<"Number of One Samples Bunch..."<<Stat[2]<<endl;
- stat<<"Number of Central Samples....."<<Stat[3]<<endl;
- stat<<"Number of Border Samples......"<<Stat[4]<<endl;
- stat<<"-----------------------------------------"<<endl;
- ULong_t FileDimension=(ULong_t)TMath::Ceil(double((CountTrailer*4+CountWords+fFillWords+EndFill)*10/8));
- stat<<"Total file Size in bytes.."<<FileDimension<<endl;
- Double_t Percentage=TMath::Ceil((fFillWords+EndFill)*125)/FileDimension;
- stat<<"Fill Words................"<<(ULong_t)TMath::Ceil((fFillWords+EndFill)*10/8)<<" bytes "<<Percentage<<"%"<<endl;
- Percentage=(Double_t)CountTrailer*500/FileDimension;
- stat<<"Trailer..................."<<CountTrailer*5<<" bytes "<<Percentage<<"%"<<endl;
+ fStat.open("Statistics");
+ fStat<<"Number of words:..........................................."<<countWords<<endl;
+ fStat<<"Number of trailers (4 10 bits words in each one)..........."<<countTrailer<<endl;
+ fStat<<"Number of fill words:......................................"<<fFillWords+endFill<<endl;
+ fStat<<"Total number of words:....................................."<<countWords+countTrailer*4+fFillWords+endFill<<endl;
+ fStat<<"-----------------------------------------"<<endl;
+ fStat<<"Number of Bunches............."<<stat[0]<<endl;
+ fStat<<"Number of Time bin............"<<stat[1]<<endl;
+ fStat<<"Number of One Samples Bunch..."<<stat[2]<<endl;
+ fStat<<"Number of Central Samples....."<<stat[3]<<endl;
+ fStat<<"Number of Border Samples......"<<stat[4]<<endl;
+ fStat<<"-----------------------------------------"<<endl;
+ ULong_t fileDimension=(ULong_t)TMath::Ceil(double((countTrailer*4+countWords+fFillWords+endFill)*10/8));
+ fStat<<"Total file Size in bytes.."<<fileDimension<<endl;
+ Double_t percentage=TMath::Ceil((fFillWords+endFill)*125)/fileDimension;
+ fStat<<"Fill Words................"<<(ULong_t)TMath::Ceil((fFillWords+endFill)*10/8)<<" bytes "<<percentage<<"%"<<endl;
+ percentage=(Double_t)countTrailer*500/fileDimension;
+ fStat<<"Trailer..................."<<countTrailer*5<<" bytes "<<percentage<<"%"<<endl;