From: sgorbuno Date: Fri, 20 Nov 2009 16:10:56 +0000 (+0000) Subject: update X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=d2831d6ae7833540dd5955e5a9fc9092db137e85 update --- diff --git a/HLT/global/AliHLTGlobalVertexerHistoComponent.cxx b/HLT/global/AliHLTGlobalVertexerHistoComponent.cxx index 176ed9bfdf3..1d8b0d968e8 100644 --- a/HLT/global/AliHLTGlobalVertexerHistoComponent.cxx +++ b/HLT/global/AliHLTGlobalVertexerHistoComponent.cxx @@ -114,12 +114,24 @@ void AliHLTGlobalVertexerHistoComponent::GetInputDataTypes(AliHLTComponentDataTy } + AliHLTComponentDataType AliHLTGlobalVertexerHistoComponent::GetOutputDataType() { - //Output are histogramms. - return kAliHLTDataTypeHistogram /*| kAliHLTDataOriginOut*/; + // see header file for class documentation + return kAliHLTMultipleDataType; } +int AliHLTGlobalVertexerHistoComponent::GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList) + +{ + // see header file for class documentation + tgtList.clear(); + tgtList.push_back(kAliHLTDataTypeHistogram|kAliHLTDataOriginOut); + tgtList.push_back(kAliHLTDataTypeHistogram|kAliHLTDataOriginITSSPD); + return tgtList.size(); +} + + void AliHLTGlobalVertexerHistoComponent::GetOutputDataSize(unsigned long& constBase, double& inputMultiplier) { //8000 is a temporary number. Find the way to @@ -222,14 +234,14 @@ int AliHLTGlobalVertexerHistoComponent::DoEvent(const AliHLTComponentEventData& } } - PushBack(&fPrimaryXY, kAliHLTDataTypeHistogram, 0); - PushBack(&fPrimaryZX, kAliHLTDataTypeHistogram, 0); - PushBack(&fPrimaryZY, kAliHLTDataTypeHistogram, 0); - - PushBack(&fSPDVertexXY, kAliHLTDataTypeHistogram, 0); - PushBack(&fSPDVertexX, kAliHLTDataTypeHistogram, 0); - PushBack(&fSPDVertexY, kAliHLTDataTypeHistogram, 0); - PushBack(&fSPDVertexZ, kAliHLTDataTypeHistogram, 0); + PushBack(&fPrimaryXY, kAliHLTDataTypeHistogram | kAliHLTDataOriginOut, 0); + PushBack(&fPrimaryZX, kAliHLTDataTypeHistogram | kAliHLTDataOriginOut, 0); + PushBack(&fPrimaryZY, kAliHLTDataTypeHistogram | kAliHLTDataOriginOut, 0); + + PushBack(&fSPDVertexXY, kAliHLTDataTypeHistogram | kAliHLTDataOriginITSSPD, 0); + PushBack(&fSPDVertexX, kAliHLTDataTypeHistogram | kAliHLTDataOriginITSSPD, 0); + PushBack(&fSPDVertexY, kAliHLTDataTypeHistogram | kAliHLTDataOriginITSSPD, 0); + PushBack(&fSPDVertexZ, kAliHLTDataTypeHistogram | kAliHLTDataOriginITSSPD, 0); return iResult; } diff --git a/HLT/global/AliHLTGlobalVertexerHistoComponent.h b/HLT/global/AliHLTGlobalVertexerHistoComponent.h index 3afca92fc1c..e135afdb858 100644 --- a/HLT/global/AliHLTGlobalVertexerHistoComponent.h +++ b/HLT/global/AliHLTGlobalVertexerHistoComponent.h @@ -35,7 +35,10 @@ public: /** interface function, see AliHLTComponent for description. why not const? */ AliHLTComponentDataType GetOutputDataType(); /** interface function, see AliHLTComponent for description */ - virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); + int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList); + + /** interface function, see AliHLTComponent for description */ + virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); /** interface function, see AliHLTComponent for description */ AliHLTComponent* Spawn();