#include "TStopwatch.h"
-TStopwatch fgWatch; //CRAP PTH
+
+//TStopwatch fgWatch; //CRAP PTH
AliHLTCaloRawAnalyzerComponentv3::AliHLTCaloRawAnalyzerComponentv3(TString det):AliHLTCaloProcessor(),
{
//See base class for documentation
int iResult=0;
-
+
for(int i = 0; i < argc; i++)
{
if(!strcmp("-offset", argv[i]))
}
-
int
AliHLTCaloRawAnalyzerComponentv3::DoDeinit()
{
delete fAltroRawStreamPtr;
fAltroRawStreamPtr = 0;
}
-
return 0;
}
void
AliHLTCaloRawAnalyzerComponentv3::PrintDebugInfo()
{
+ static TStopwatch Watch; //CRAP PTH
static double wlast = -1;
static double wcurrent = 0;
{
cout << __FILE__ << __LINE__ << " : Processing event " << fCaloEventCount << endl;
wlast = wcurrent;
- wcurrent = fgWatch.RealTime();
+ wcurrent = Watch.RealTime();
cout << __FILE__ << __LINE__ << "The event rate is " <<
- 1000/( wcurrent - wlast ) << " Hz" << endl; fgWatch.Start(kFALSE);
+ 1000/( wcurrent - wlast ) << " Hz" << endl; Watch.Start(kFALSE);
}
}
}