134 #include <TObjString.h> 148 TNamed(detector, ""),
155 SetTitle(Form(
"AliPreprocessor for %s subdetector.", detector));
159 AliFatal(
"Initialized without Shuttle instance.");
163 fShuttle->RegisterPreprocessor(
this);
165 fRunTypes.SetOwner(kTRUE);
187 AliCDBMetaData* metaData, Int_t validityStart, Bool_t validityInfinite)
208 if(!offlineDetName)
return 0;
211 metaData, validityStart, validityInfinite);
232 if(!offlineDetName)
return 0;
251 if(!offlineDetName)
return 0;
263 TString detName(GetName());
264 if (detName !=
"GRP")
266 Log(
"StoreRunMetadataFile - Only GRP can call this function.");
333 if (!offlineDetName)
return 0;
378 TString detName(GetName());
379 if (detName !=
"GRP")
381 Log(
"GetTriggerConfiguration - Only GRP can call this function.");
394 TString detName(GetName());
395 if (detName !=
"GRP")
397 Log(
"GetCTPTimeParams - Only GRP can call this function.");
410 TString detName(GetName());
411 if (detName !=
"TRI")
413 Log(
"GetTriggerDetectorMask - Only TRI can call this function.");
433 Bool_t AliPreprocessor::AliPreprocessor::ProcessRunType()
440 Log(Form(
"Checking if run type %s is in the list of run types to be processed by this preprocessor...", runType));
443 Log(
"WARNING! There are no run types defined. This preprocessor will never run.");
447 Log(
"Run type found. Processing this run.");
451 Log(
"Run type not found. Skipping this run.");
485 TString detName(GetName());
486 if (detName !=
"GRP")
488 Log(
"GetForeignFile - Only GRP can call this function.");
503 TString detName(GetName());
504 if (detName !=
"GRP")
506 Log(
"GetForeignFileSources - Only GRP can call this function.");
virtual void SendMLFromDet(const char *value)=0
Bool_t Store(const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData, Int_t validityStart=0, Bool_t validityInfinite=kFALSE)
const char * GetRunParameter(const char *param)
TList * GetFileSources(Int_t system, const char *id=0)
const char * GetTriggerConfiguration()
virtual Bool_t StoreReferenceFile(const char *detector, const char *localFile, const char *gridFileName)=0
const char * GetForeignFile(const char *detector, Int_t system, const char *id, const char *source)
virtual Bool_t GetHLTStatus()=0
Bool_t StoreRunMetadataFile(const char *localFile, const char *gridFileName)
void SendToML(const char *)
AliCDBEntry * GetFromOCDB(const char *pathLevel2, const char *pathLevel3)
TString * GetLTUConfig(const char *det)
const char * GetCTPTimeParams()
const char * GetFile(Int_t system, const char *id, const char *source)
virtual UInt_t GetStartTimeDCSQuery()=0
virtual TString * GetLTUConfig(const char *det)=0
const char * GetTriggerDetectorMask()
virtual const char * GetFile(Int_t system, const char *detector, const char *id, const char *source)=0
Bool_t StoreReferenceData(const char *pathLevel2, const char *pathLevel3, TObject *object, AliCDBMetaData *metaData)
virtual void Log(const char *detector, const char *message, UInt_t level=3)=0
virtual Bool_t Store(const AliCDBPath &path, TObject *object, AliCDBMetaData *metaData, Int_t validityStart=0, Bool_t validityInfinite=kFALSE)=0
virtual TList * GetFileSources(Int_t system, const char *detector, const char *id=0)=0
virtual const char * GetRunParameter(const char *lbEntry)=0
void AddRunType(const char *runType)
TTimeStamp startTime(2009, 8, 7, 0, 0, 0)
TList * GetFileIDs(Int_t system, const char *source)
virtual AliCDBEntry * GetFromOCDB(const char *detector, const AliCDBPath &path)=0
virtual Bool_t StoreReferenceData(const AliCDBPath &path, TObject *object, AliCDBMetaData *metaData)=0
void Log(const char *message, UInt_t level=3)
UInt_t GetEndTimeDCSQuery()
virtual const char * GetTriggerDetectorMask()=0
virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime)
const char * GetRunType()
#define AliFatal(message)
UInt_t GetStartTimeDCSQuery()
TList * GetForeignFileSources(const char *detector, Int_t system, const char *id)
virtual TList * GetFileIDs(Int_t system, const char *detector, const char *source)=0
Bool_t StoreReferenceFile(const char *localFile, const char *gridFileName)
AliShuttleInterface * fShuttle
virtual Bool_t StoreRunMetadataFile(const char *localFile, const char *gridFileName)=0
virtual const char * GetRunType()=0
AliCDBEntry * GetGeometryFromOCDB()
virtual const char * GetCTPTimeParams()=0
static const char * GetOfflineDetName(const char *detName)
virtual UInt_t GetEndTimeDCSQuery()=0
virtual const char * GetTriggerConfiguration()=0
virtual ~AliPreprocessor()