message: Refining the MCSimTrigger() method (2)
diff: @@ -1569,21 +1569,17 @@ Bool_t AliAnalysisTaskEMCALPhotonIsolation::MCSimTrigger(AliVEvent *eventIn, Int
  // AliError(Form("Trigger used in the events %s",fired));
  if(triggerLevel == 1){
  - // threshold = 11.5;
  - // spread = 0.5;
  - threshold = 11.40; // Values obtained by fit on data (13d, 13e and 13f separately and averaged)
  - spread = 1.85;
  + threshold = 11.40; // Value obtained by fit on data (13d, 13e and 13f separately and averaged)
  + spread = 0.50;
  }
  if(triggerLevel == 2){
  - // threshold = 7.2;
  - // spread = 0.3;
  threshold = 7.03;
  - spread = 1.30;
  + spread = 0.30;
  }
  if(spread != 0.){
  - TF1* triggerSmearing = new TF1("triggerSmearing","[0]*exp(-0.5*((x-[1])/[2])**2)", 0., 20.);
  + TF1* triggerSmearing = new TF1("triggerSmearing","[0]*exp(-0.5*((x-[1])/[2])**2)", 0., 15.);
  triggerSmearing->SetParameter(0, 1./(spread*TMath::Sqrt(2.*TMath::Pi())));
  triggerSmearing->SetParameter(1, threshold);
  triggerSmearing->SetParameter(2, spread);
  @@ -1592,9 +1588,10 @@ Bool_t AliAnalysisTaskEMCALPhotonIsolation::MCSimTrigger(AliVEvent *eventIn, Int
  }
  AliClusterContainer *clusters = GetClusterContainer(0);
  + AliVCluster *coi = 0x0;
  for(auto it : clusters->accepted()){
  - AliVCluster* coi = static_cast<AliVCluster*>(it);
  + coi = static_cast<AliVCluster*>(it);
  if(!coi)
  continue;
  