message: read start and end of run time from GRP
diff: @@ -5,8 +5,7 @@ AliAnalysisTask *AddTaskT0Calib(Int_t runNumber)
  {
  //
  // add calibration task
  - //
  -
  + // read start and end of run time from GRP
  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
  ::Error("AddTaskT0Calib", "No analysis manager to connect to.");
  @@ -87,6 +86,13 @@ void readCDB (TObject *task1, Int_t runNumber) {
  mytask->SetStartEndTime(timeStart,timeEnd);
  cout<<"T0 start time "<<timeStart<<" end time "<<timeEnd<<endl;
  + // AliCDBEntry* entryGRP = AliCDBManager::Instance()->Get("GRP/GRP/Data");
  + // AliGRPObject* grpData = dynamic_cast<AliGRPObject*>(entryGRP->GetObject());
  + UInt_t timeStart = grpData->GetTimeStart();
  + UInt_t timeEnd = grpData->GetTimeEnd();
  + mytask->SetStartEndTime(timeStart,timeEnd);
  + cout<<"T0 start time "<<timeStart<<" end time "<<timeEnd<<endl;
  +
  ::Info("AddTaskT0Calib","LHCperiod:%s ---> isLHC10b:%d isLHC10c:%d",
  LHCperiod.Data(),(Int_t)isLHC10b, (Int_t)isLHC10c);
  