]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
update
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Nov 2009 16:10:56 +0000 (16:10 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Nov 2009 16:10:56 +0000 (16:10 +0000)
HLT/global/AliHLTGlobalVertexerHistoComponent.cxx
HLT/global/AliHLTGlobalVertexerHistoComponent.h

index 176ed9bfdf3feb2fe5babd7dab033b2fcd3e6513..1d8b0d968e8472dcb80a256f4c416da399b6a1e1 100644 (file)
@@ -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; 
 }
index 3afca92fc1c411e5c9358b6e41fc6a90b1c3d526..e135afdb8588125b1257e534bda4c96bb67b96ee 100644 (file)
@@ -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();