X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2Fpendolino%2FAliHLTPendolino.h;h=ce9362d15ef495f580be620445183ce04b566815;hb=db71a16874ffe1cb2b7a1db382e95aa805e5c015;hp=4874e4f7bf9de7189b93153e09668d5b362ef8de;hpb=bf5602555f8b2bc32242678fc889fc0081a12a29;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/pendolino/AliHLTPendolino.h b/HLT/pendolino/AliHLTPendolino.h index 4874e4f7bf9..ce9362d15ef 100644 --- a/HLT/pendolino/AliHLTPendolino.h +++ b/HLT/pendolino/AliHLTPendolino.h @@ -22,6 +22,11 @@ //#include "AliHLTPredictionProcessorInterface.h" +#ifdef SHUTTLE_PRE_REV29388_INTERFACE +#define CONST_PROPERTY const +#else +#define CONST_PROPERTY +#endif class AliHLTPendolinoLogger; @@ -105,9 +110,12 @@ class AliHLTPendolino : public AliShuttleInterface { * @param runType the current run type * @param logger pointer to the desired logger; default is the command * line logger. + * @param startTime start time of the DCS Archive DB request + * @param endTime end time of the DCS Archive DB request */ AliHLTPendolino(Int_t run, TString HCDBbase, TString runType = "TEST", - AliHLTPendolinoLogger* logger = 0); + AliHLTPendolinoLogger* logger = 0, UInt_t startTime = 0, + UInt_t endTime = 0); /** * Destructor for @@ -362,6 +370,33 @@ class AliHLTPendolino : public AliShuttleInterface { * list; else false. */ virtual Bool_t includeAliCDBEntryInList(const TString& entryPath); + + /** + * Function to get the start time of the DCS Archive DB request; in HLT + * this is the same like the start time given in the Initialize() call + * to the PredictionProcessors (NOTE: thsi is differnet to the + * implementation in the Offline Shuttle - there the initial start time + * is set to the start-of-data for the complete run.) + */ +#ifdef SHUTTLE_PRE_REV29388_INTERFACE + virtual const UInt_t GetStartTimeDCSQuery(); +#else + virtual UInt_t GetStartTimeDCSQuery(); +#endif + + /** + * Function to get the end time of the DCS Archive DB request; in HLT + * this is the same like the end time given in the Initialize() call + * to the PredictionProcessors (NOTE: thsi is differnet to the + * implementation in the Offline Shuttle - there the initial end time + * is set to the end-of-data for the complete run.) + */ +#ifdef SHUTTLE_PRE_REV29388_INTERFACE + virtual const UInt_t GetEndTimeDCSQuery(); +#else + virtual UInt_t GetEndTimeDCSQuery(); +#endif + protected: @@ -453,8 +488,18 @@ class AliHLTPendolino : public AliShuttleInterface { * Indicates, if Logger is owned by Pendolino */ Bool_t fOwnLogger; // Indicates, if Logger is owned by Pendolino + + /** + * Stores the start time of the DCS Archive DB request + */ + UInt_t fStartTime; + + /** + * Stores the end time of the DCS Archive DB request + */ + UInt_t fEndTime; - ClassDef(AliHLTPendolino, 5); + ClassDef(AliHLTPendolino, 6); };