message: deactivate analysis with DCAL if Run1 data plus cosmetic changes
diff: @@ -183,9 +183,15 @@ AliCaloTrackReader * ConfigureReader(TString col, Bool_t simulation,
  // For data, check what is the range needed depending on the sample
  if ( !simulation )
  {
  + printf("AddTaskCaloTrackCorrBase::ConfigureReader() - Apply time cut:");
  reader->SwitchOnUseEMCALTimeCut();
  reader->SetEMCALTimeCut(-25,20);
  - if(year > 2015) reader->SetEMCALTimeCut(-20,15);
  + if ( year > 2013 )
  + {
  + reader->SetEMCALTimeCut(-20,15);
  + printf(" -20 ns < t < 15 ns\n");
  + }
  + else printf(" -25 ns < t < 20 ns\n");
  }
  // CAREFUL
  @@ -507,7 +513,8 @@ AliAnalysisTaskCaloTrackCorrelation * AddTaskCaloTrackCorrBase
  //
  // Create containers
  //
  - if(outputfile.Length()==0) outputfile = AliAnalysisManager::GetCommonFileName();
  + if ( outputfile.Length() == 0 )
  + outputfile = AliAnalysisManager::GetCommonFileName();
  AliAnalysisDataContainer *cout_pc = mgr->CreateContainer(anaCaloTrackCorrBase, TList::Class(),
  AliAnalysisManager::kOutputContainer,
  @@ -531,6 +538,9 @@ AliAnalysisTaskCaloTrackCorrelation * AddTaskCaloTrackCorrBase
  //
  gROOT->LoadMacro("$ALICE_PHYSICS/PWGGA/CaloTrackCorrelations/macros/CheckActiveEMCalTriggerPerPeriod.C");
  Bool_t doAnalysis = CheckActiveEMCalTriggerPerPeriod(simulation,trigger,period,year);
  +
  + if ( doAnalysis && calorimeter == "DCAL" && year < 2015 ) doAnalysis = kFALSE;
  +
  if ( !doAnalysis )
  {
  maker->SwitchOffProcessEvent();
  @@ -566,7 +576,8 @@ AliAnalysisTaskCaloTrackCorrelation * AddTaskCaloTrackCorrBase
  maker->SwitchOnHistogramsMaker() ;
  maker->SwitchOnAODsMaker() ;
  - if( simulation || !trigger.Contains("EMC") ) maker->SwitchOffDataControlHistograms();
  + if ( simulation || !trigger.Contains("EMC") )
  + maker->SwitchOffDataControlHistograms();
  if ( simulation )
  {
  @@ -629,7 +640,8 @@ AliAnalysisTaskCaloTrackCorrelation * AddTaskCaloTrackCorrBase
  }
  }
  - printf("AddTaskCaloTrackCorrBase::Main() << End Base Task Configuration for %s >>\n",anaCaloTrackCorrBase.Data());
  + printf("AddTaskCaloTrackCorrBase::Main() << End Base Task Configuration for %s >>\n",
  + anaCaloTrackCorrBase.Data());
  return task;
  }
  