]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTOUT.cxx
Using fNContrubutors in AliAODVertex for SPD vertices.
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTOUT.cxx
index 84eeb57396ff6b8e7fd1dd27d404e1ed207efc3e..99fdc6fe80510e352cc352bcb05301495066c5c9 100644 (file)
@@ -48,6 +48,7 @@ AliHLTOUT::AliHLTOUT()
   , fpDataObject(NULL)
   , fpObjectBuffer(NULL)
   , fObjectBufferSize(0)
+  , fCurrentEventId(kAliHLTVoidEventID)
 {
   // see header file for class documentation
   // or
@@ -817,6 +818,7 @@ int AliHLTOUT::Reset()
   }
 
   ResetInput();
+  fCurrentEventId=kAliHLTVoidEventID;
 
   return iResult;
 }
@@ -879,3 +881,12 @@ int AliHLTOUT::ReleaseDataObject(TObject* pObject)
 
   return 0;
 }
+
+void AliHLTOUT::SetEventId(AliHLTUInt64_t id)
+{
+  // see header file for class documentation
+  if (fCurrentEventId!=kAliHLTVoidEventID && fCurrentEventId!=id) {
+    fLog.LoggingVarargs(kHLTLogWarning, "AliHLTOUT", "SetEventId" , __FILE__ , __LINE__ , "event id was already set to 0x%llx, setting now to 0x%llx", fCurrentEventId, id);
+  }
+  fCurrentEventId=id;
+}