int iResult=0;
- AliSysInfo::AddStamp("DoEvent.Start", evtData.fStructSize);
+ AliSysInfo::AddStamp("AliHLTGlobalEsdConverterComponent::DoEvent.Start", evtData.fStructSize);
bool benchmark = true;
if(benchmark){
- Int_t nV0s = pESD->GetNumberOfV0s();
- Int_t nTracks = pESD->GetNumberOfTracks();
-
Double_t statistics[10];
TString names[10];
fBenchmark.GetStatisticsData(statistics, names);
- // statistics[5] = nTracks;
- // statistics[6] = time;
- // statistics[7] = nV0s;
-
- // FillBenchmarkHistos( statistics, names);
fBenchmark.Reset();
- AliSysInfo::AddStamp("DoEvent.Stop", (int)(statistics[1]), (int)(statistics[2]),pESD->GetNumberOfV0s(),pESD->GetNumberOfTracks() );
+ AliSysInfo::AddStamp("AliHLTGlobalEsdConverterComponent::DoEvent.Stop", (int)(statistics[1]), (int)(statistics[2]),pESD->GetNumberOfV0s(),pESD->GetNumberOfTracks() );
}
for(Int_t i=0; i<fkNPartition; i++){
#include "TTree.h"
#include "AliCDBEntry.h"
#include "AliCDBManager.h"
+#include "AliSysInfo.h"
using namespace std;
AliHLTComponentBlockDataList& outputBlocks) {
// see header file for class documentation
- printf("AliHLTGlobalEsdToFlatConverterComponent::DoEvent\n");
+
+
+
+ AliSysInfo::AddStamp("AliHLTGlobalEsdToFlatConverterComponent::DoEvent.Start");
Int_t iResult=0;
for ( const TObject *iter = GetFirstInputObject(kAliHLTDataTypeESDObject | kAliHLTDataOriginOut); iter != NULL; iter = GetNextInputObject() ) {
- cout<<"Found ESD in esd test component !!!"<<endl;
esd =dynamic_cast<AliESDEvent*>(const_cast<TObject*>(iter));
if( esd ){
esd->GetStdContent();
- cout<<"N ESD tracks: "<<esd->GetNumberOfTracks()<<endl;
iResult=1;
} else {
- cout<<"ESD pointer is NULL "<<endl;
}
}
for ( const TObject *iter = GetFirstInputObject(kAliHLTDataTypeESDfriendObject | kAliHLTDataOriginOut); iter != NULL; iter = GetNextInputObject() ) {
//fBenchmark.AddInput(pBlock->fSize);
- cout<<"Found ESD friend in esd test component !!!"<<endl;
const AliESDfriend *esdFriend = dynamic_cast<const AliESDfriend*>(iter);
if( esdFriend ){
- cout<<"N friend tracks: "<<esdFriend->GetNumberOfTracks()<<endl;
} else {
- cout<<"ESD friend pointer is NULL "<<endl;
}
}
}
+
+ AliSysInfo::AddStamp("AliHLTGlobalEsdToFlatConverterComponent::DoEvent.Stop",0, flatEsd->GetSize(),flatEsd->GetNumberOfV0s(),flatEsd->GetNumberOfTracks());
return iResult;
#include "AliHLTTPCDefinitions.h"
#include "AliHLTTPCClusterMCData.h"
#include "AliHLTTPCTransform.h"
+#include "AliSysInfo.h"
/** ROOT macro for the implementation of ROOT specific class methods */
ClassImp(AliHLTGlobalFlatEsdConverterComponent)
{
// see header file for class documentation
+ AliSysInfo::AddStamp("AliHLTGlobalFlatEsdConverterComponent::DoEvent.Start");
+
+
int iResult=0;
+ bool benchmark = true;
if (!IsDataEvent()) return iResult;
size += outBlock.fSize;
}
+ if(benchmark){
+
+
+ Double_t statistics[10];
+ TString names[10];
+ fBenchmark.GetStatisticsData(statistics, names);
+ fBenchmark.Reset();
+
+ AliSysInfo::AddStamp("AliHLTGlobalFlatEsdConverterComponent::DoEvent.Stop", (int)(statistics[1]), (int)(statistics[2]),flatEsd->GetNumberOfV0s(),flatEsd->GetNumberOfTracks() );
+ }
+
+
+
fBenchmark.Stop(0);
HLTWarning( fBenchmark.GetStatistics() );
#include "./AliFlatESDTrack.h"
#include "./AliFlatTPCCluster.h"
#include "./AliFlatExternalTrackParam.h"
+#include "./AliFlatESDTrigger.h"
#include "Riostream.h"
#endif
<<endl;
// compare tracks
-if(verbose){
+if(verbose){/*
static const int nExt = 4;
AliFlatESDTrack *track = const_cast<AliFlatESDTrack*> ( flatEsd->GetTracks() );
//new (track)AliFlatESDTrack(1);
cout<<" 1/pt"<<iExt<<" :" << (ext[iExt] ? ext[iExt]->GetSigned1Pt(): -9999) <<endl;
-}
-
-// read clusters
-
-
-
+}
track = const_cast<AliFlatESDTrack*> (track->GetNextTrack());
}
+
+*/
+
+
+ // compare triggers
+
+
+ cout<<"------------------\ntriggers\n------------------\n";
+ AliFlatESDTrigger * trigger =const_cast<AliFlatESDTrigger*>(flatEsd->GetTriggerClasses() ) ;
+ for( Int_t i = 0; i < flatEsd->GetNumberOfTriggerClasses() ; i++ ){
+ cout<<"\nnew trigger\n";
+ cout<<"AliFlatESDTrigger::GetSize"<<trigger->GetSize()<<endl;
+ cout<<"AliFlatESDTrigger::GetTriggerIndex"<<trigger->GetTriggerIndex()<<endl;
+ cout<< "AliFlatESDTrigger::GetTriggerClassName"<<trigger->GetTriggerClassName()<<endl;
+
+ trigger= trigger->GetNextTriggerNonConst();
+ }
+
+
+
+
+
}
// Printf("curr: %p \t + %d = %p , diff:%p", curr, flatEsd->GetSize() ,curr+ flatEsd->GetSize(), endBuff-(curr+ flatEsd->GetSize()) );