message: modified AddTaskSignificance
diff: -AliAnalysisTaskSESignificance *AddTaskSignificance(TString filename="cuts4SignifMaximDplus.root",Int_t decCh=0,Bool_t readMC=kFALSE,Int_t flagOPartAntiPart=0,Int_t nofsteps=8,AliAnalysisTaskSESignificance::FeedDownEnum fromcb=AliAnalysisTaskSESignificance::kBoth, TString usercomment = "username", TString cutsobjname="loosecuts")
  +AliAnalysisTaskSESignificance *AddTaskSignificance(TString filename="cuts4SignifMaximDplus.root",
  + Int_t decCh=0,Bool_t readMC=kFALSE,
  + Int_t flagOPartAntiPart=0,
  + Int_t nofsteps=8,
  + AliAnalysisTaskSESignificance::FeedDownEnum fromcb=AliAnalysisTaskSESignificance::kBoth, TString usercomment = "username",
  + TString cutsobjname="loosecuts")
  {
  //
  // Test macro for the AliAnalysisTaskSE for D meson candidates
  @@ -9,17 +14,29 @@ AliAnalysisTaskSESignificance *AddTaskSignificance(TString filename="cuts4Signif
  // Get the pointer to the existing analysis manager via the static access method.
  //============================================================================
  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  +
  if (!mgr) {
  +
  ::Error("AddTaskSignificance", "No analysis manager to connect to.");
  +
  return NULL;
  +
  }
  - TFile* filecuts=TFile::Open(filename.Data());
  +
  + Bool_t stdcuts=kFALSE;
  + TFile* filecuts;
  + if( filename.EqualTo("") ) {
  + stdcuts=kTRUE;
  + } else {
  + filecuts=TFile::Open(filename.Data());
  if(!filecuts ||(filecuts&& !filecuts->IsOpen())){
  - cout<<"Input file not found: exit"<<endl;
  - return;
  + ::Fatal("AddTaskDStarSpectrajay", "Input file not found : check your cut object");
  + }
  }
  +
  +
  AliRDHFCuts *analysiscuts=0x0;
  TString suffix="";
  TString suffix2="";
  @@ -60,9 +77,11 @@ AliAnalysisTaskSESignificance *AddTaskSignificance(TString filename="cuts4Signif
  if(!analysiscuts){
  cout<<"Specific AliRDHFCuts not found"<<endl;
  - return;
  + return NULL;
  }
  +
  +
  TString centr=Form("%.0f%.0f",analysiscuts->GetMinCentrality(),analysiscuts->GetMaxCentrality());
  suffix+=centr;
  