-/*
-$Log$
-Revision 1.50 2007/07/02 17:19:32 acolla
-preprocessor is run in a temp directory that is removed when process is finished.
-
-Revision 1.49 2007/06/29 10:45:06 acolla
-Number of columns in MySql Shuttle logbook increased by one (HLT added)
-
-Revision 1.48 2007/06/21 13:06:19 acolla
-GetFileSources returns dummy list with 1 source if system=DCS (better than
-returning error as it was)
-
-Revision 1.47 2007/06/19 17:28:56 acolla
-HLT updated; missing map bug removed.
-
-Revision 1.46 2007/06/09 13:01:09 jgrosseo
-Switching to retrieval of several DCS DPs at a time (multiDPrequest)
-
-Revision 1.45 2007/05/30 06:35:20 jgrosseo
-Adding functionality to the Shuttle/TestShuttle:
-o) Function to retrieve list of sources from a given system (GetFileSources with id=0)
-o) Function to retrieve list of IDs for a given source (GetFileIDs)
-These functions are needed for dealing with the tag files that are saved for the GRP preprocessor
-Example code has been added to the TestProcessor in TestShuttle
-
-Revision 1.44 2007/05/11 16:09:32 acolla
-Reference files for ITS, MUON and PHOS are now stored in OfflineDetName/OnlineDetName/run_...
-example: ITS/SPD/100_filename.root
-
-Revision 1.43 2007/05/10 09:59:51 acolla
-Various bug fixes in StoreRefFilesToGrid; Cleaning of reference storage before processing detector (CleanReferenceStorage)
-
-Revision 1.42 2007/05/03 08:01:39 jgrosseo
-typo in last commit :-(
-
-Revision 1.41 2007/05/03 08:00:48 jgrosseo
-fixing log message when pp want to skip dcs value retrieval
-
-Revision 1.40 2007/04/27 07:06:48 jgrosseo
-GetFileSources returns empty list in case of no files, but successful query
-No mails sent in testmode
-
-Revision 1.39 2007/04/17 12:43:57 acolla
-Correction in StoreOCDB; change of text in mail to detector expert
-
-Revision 1.38 2007/04/12 08:26:18 jgrosseo
-updated comment
-
-Revision 1.37 2007/04/10 16:53:14 jgrosseo
-redirecting sub detector stdout, stderr to sub detector log file
-
-Revision 1.35 2007/04/04 16:26:38 acolla
-1. Re-organization of function calls in TestPreprocessor to make it more meaningful.
-2. Added missing dependency in test preprocessors.
-3. in AliShuttle.cxx: processing time and memory consumption info on a single line.
-
-Revision 1.34 2007/04/04 10:33:36 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.33 2007/04/03 13:56:01 acolla
-Grid Storage at the end of preprocessing. Added virtual method to disable DCS query according to the
-run type.
-
-Revision 1.32 2007/02/28 10:41:56 acolla
-Run type field added in SHUTTLE framework. Run type is read from "run type" logbook and retrieved by
-AliPreprocessor::GetRunType() function.
-Added some ldap definition files.
-
-Revision 1.30 2007/02/13 11:23:21 acolla
-Moved getters and setters of Shuttle's main OCDB/Reference, local
-OCDB/Reference, temp and log folders to AliShuttleInterface
-
-Revision 1.27 2007/01/30 17:52:42 jgrosseo
-adding monalisa monitoring
-
-Revision 1.26 2007/01/23 19:20:03 acolla
-Removed old ldif files, added TOF, MCH ldif files. Added some options in
-AliShuttleConfig::Print. Added in Ali Shuttle: SetShuttleTempDir and
-SetShuttleLogDir
-
-Revision 1.25 2007/01/15 19:13:52 acolla
-Moved some AliInfo to AliDebug in SendMail function
-
-Revision 1.21 2006/12/07 08:51:26 jgrosseo
-update (alberto):
-table, db names in ldap configuration
-added GRP preprocessor
-DCS data can also be retrieved by data point
-
-Revision 1.20 2006/11/16 16:16:48 jgrosseo
-introducing strict run ordering flag
-removed giving preprocessor name to preprocessor, they have to know their name themselves ;-)
-
-Revision 1.19 2006/11/06 14:23:04 jgrosseo
-major update (Alberto)
-o) reading of run parameters from the logbook
-o) online offline naming conversion
-o) standalone DCSclient package
-
-Revision 1.18 2006/10/20 15:22:59 jgrosseo
-o) Adding time out to the execution of the preprocessors: The Shuttle forks and the parent process monitors the child
-o) Merging Collect, CollectAll, CollectNew function
-o) Removing implementation of empty copy constructors (declaration still there!)
-
-Revision 1.17 2006/10/05 16:20:55 jgrosseo
-adapting to new CDB classes
-
-Revision 1.16 2006/10/05 15:46:26 jgrosseo
-applying to the new interface
-
-Revision 1.15 2006/10/02 16:38:39 jgrosseo
-update (alberto):
-fixed memory leaks
-storing of objects that failed to be stored to the grid before
-interfacing of shuttle status table in daq system
-
-Revision 1.14 2006/08/29 09:16:05 jgrosseo
-small update
-
-Revision 1.13 2006/08/15 10:50:00 jgrosseo
-effc++ corrections (alberto)
-
-Revision 1.12 2006/08/08 14:19:29 jgrosseo
-Update to shuttle classes (Alberto)
-
-- Possibility to set the full object's path in the Preprocessor's and
-Shuttle's Store functions
-- Possibility to extend the object's run validity in the same classes
-("startValidity" and "validityInfinite" parameters)
-- Implementation of the StoreReferenceData function to store reference
-data in a dedicated CDB storage.
-
-Revision 1.11 2006/07/21 07:37:20 jgrosseo
-last run is stored after each run
-
-Revision 1.10 2006/07/20 09:54:40 jgrosseo
-introducing status management: The processing per subdetector is divided into several steps,
-after each step the status is stored on disk. If the system crashes in any of the steps the Shuttle
-can keep track of the number of failures and skips further processing after a certain threshold is
-exceeded. These thresholds can be configured in LDAP.
-
-Revision 1.9 2006/07/19 10:09:55 jgrosseo
-new configuration, accesst to DAQ FES (Alberto)
-
-Revision 1.8 2006/07/11 12:44:36 jgrosseo
-adding parameters for extended validity range of data produced by preprocessor
-
-Revision 1.7 2006/07/10 14:37:09 jgrosseo
-small fix + todo comment
-
-Revision 1.6 2006/07/10 13:01:41 jgrosseo
-enhanced storing of last sucessfully processed run (alberto)
-
-Revision 1.5 2006/07/04 14:59:57 jgrosseo
-revision of AliDCSValue: Removed wrapper classes, reduced storage size per value by factor 2
-
-Revision 1.4 2006/06/12 09:11:16 jgrosseo
-coding conventions (Alberto)
-
-Revision 1.3 2006/06/06 14:26:40 jgrosseo
-o) removed files that were moved to STEER
-o) shuttle updated to follow the new interface (Alberto)
-
-Revision 1.2 2006/03/07 07:52:34 hristov
-New version (B.Yordanov)
-
-Revision 1.6 2005/11/19 17:19:14 byordano
-RetrieveDATEEntries and RetrieveConditionsData added
-
-Revision 1.5 2005/11/19 11:09:27 byordano
-AliShuttle declaration added
-
-Revision 1.4 2005/11/17 17:47:34 byordano
-TList changed to TObjArray
-
-Revision 1.3 2005/11/17 14:43:23 byordano
-import to local CVS
-
-Revision 1.1.1.1 2005/10/28 07:33:58 hristov
-Initial import as subdirectory in AliRoot
-
-Revision 1.2 2005/09/13 08:41:15 byordano
-default startTime endTime added
-
-Revision 1.4 2005/08/30 09:13:02 byordano
-some docs added
-
-Revision 1.3 2005/08/29 21:15:47 byordano
-some docs added
-
-*/