From 36a9f79d11763cde566d4642037168bf01c12818 Mon Sep 17 00:00:00 2001 From: acolla Date: Thu, 5 Apr 2007 08:05:55 +0000 Subject: [PATCH] Conversion from online to offline detector name in StoreReferenceFile --- STEER/AliPreprocessor.cxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/STEER/AliPreprocessor.cxx b/STEER/AliPreprocessor.cxx index a07c20e7547..6e5b8bc3b9d 100644 --- a/STEER/AliPreprocessor.cxx +++ b/STEER/AliPreprocessor.cxx @@ -15,6 +15,21 @@ /* $Log$ +Revision 1.11 2007/04/04 10:29:18 jgrosseo +1) Storing of files to the Grid is now done _after_ your preprocessors succeeded. This is transparent, which means that you can still use the same functions (Store, StoreReferenceData) to store files to the Grid. However, the Shuttle first stores them locally and transfers them after the preprocessor finished. The return code of these two functions has changed from UInt_t to Bool_t which gives you the success of the storing. +In case of an error with the Grid, the Shuttle will retry the storing later, the preprocessor does not need to be run again. + +2) The meaning of the return code of the preprocessor has changed. 0 is now success and any other value means failure. This value is stored in the log and you can use it to keep details about the error condition. + +3) New function StoreReferenceFile to _directly_ store a file (without opening it) to the reference storage. + +4) The memory usage of the preprocessor is monitored. If it exceeds 2 GB it is terminated. + +5) New function AliPreprocessor::ProcessDCS(). If you do not need to have DCS data in all cases, you can skip the processing by implemting this function and returning kFALSE under certain conditions. E.g. if there is a certain run type. +If you always need DCS data (like before), you do not need to implement it. + +6) The run type has been added to the monitoring page + Revision 1.9 2007/02/28 10:42:58 acolla Run type field added in SHUTTLE framework. Run type is read from "run type" logbook and retrieved by AliPreprocessor::GetRunType() function. @@ -202,6 +217,8 @@ Bool_t AliPreprocessor::StoreReferenceFile(const char* localFile, const char* gr // // The call is delegated to AliShuttleInterface + const char* offlineDetName = AliShuttleInterface::GetOfflineDetName(GetName()); + if(!offlineDetName) return 0; return fShuttle->StoreReferenceFile(GetName(), localFile, gridFileName); } -- 2.39.3