]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliPreprocessor.cxx
minor changes in AliShuttleInterface and AliPreprocessor
[u/mrichter/AliRoot.git] / STEER / AliPreprocessor.cxx
index b70dc3a97c1aaa628c8027ea403c6d236c704700..a4e9506a715655f73e1232c86c816dee2d06cc20 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.1  2006/06/02 14:14:36  hristov
+Separate library for CDB (Jan)
+
 Revision 1.2  2006/03/07 07:52:34  hristov
 New version (B.Yordanov)
 
@@ -78,7 +81,12 @@ AliPreprocessor::AliPreprocessor(const char* detector, AliShuttleInterface* shut
        SetTitle(Form("AliPreprocessor for %s subdetector.", detector));
 
   if (!fShuttle)
+  {
     AliFatal("Initialized without Shuttle instance.");
+    return;
+  }
+
+  fShuttle->RegisterPreprocessor(this);
 }
 
 AliPreprocessor::~AliPreprocessor()
@@ -96,7 +104,7 @@ void AliPreprocessor::Initialize(Int_t run, UInt_t startTime,        UInt_t endTime)
   fEndTime = endTime;
 }
 
-Int_t AliPreprocessor::Store(TObject* object, AliCDBMetaData* metaData)
+UInt_t AliPreprocessor::Store(TObject* object, AliCDBMetaData* metaData)
 {
   // Stores the CDB object
   // This function should be called at the end of the preprocessor cycle