message: Fill Cluster E Histograms
diff: @@ -4020,24 +4020,20 @@ void AliAnalysisTaskGammaCalo::ProcessClusters()
  }
  //Loop to acquire highest energy clusters, which are not bad from analysis bad map (or trigger bad map)
  - Int_t highestClusterE_ID_AnaBM=-1;
  - Int_t highestClusterE_ID_BothBM=-1;
  Int_t highestClusterE_Iter_AnaBM=-1;
  Int_t highestClusterE_Iter_BothBM=-1;
  Double_t highestClusterE_Value_AnaBM=0;
  Double_t highestClusterE_Value_BothBM=0;
  for (Int_t iter = 0; iter < (Int_t)vectorCurrentClusters.size();iter++){
  - if ((vectorCurrentClusters.at(iter)->E())>0){
  + if ((vectorCurrentClusters.at(iter)->E())>0.){
  if ((vectorCurrentClusters.at(iter)->E())>highestClusterE_Value_AnaBM){
  highestClusterE_Value_AnaBM=vectorCurrentClusters.at(iter)->E();
  - highestClusterE_ID_AnaBM=vectorCurrentClusters.at(iter)->GetCaloClusterRef();
  highestClusterE_Iter_AnaBM=iter;
  }
  if (fCaloTriggerMimicHelper[fiCut]){
  if ((fCaloTriggerMimicHelper[fiCut]->IsClusterIDBadMapTrigger(vectorCurrentClusters.at(iter)->GetCaloClusterRef()))>0){
  if ((vectorCurrentClusters.at(iter)->E())>highestClusterE_Value_BothBM){
  highestClusterE_Value_BothBM=vectorCurrentClusters.at(iter)->E();
  - highestClusterE_ID_BothBM=vectorCurrentClusters.at(iter)->GetCaloClusterRef();
  highestClusterE_Iter_BothBM=iter;
  }
  }
  @@ -4048,15 +4044,15 @@ void AliAnalysisTaskGammaCalo::ProcessClusters()
  //MB and PHI7
  if (fCaloTriggerMimicHelper[fiCut]){
  if (highestClusterE_Iter_BothBM!=-1){
  - fHistoClusGammaPt_BothBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_BothBM)->Pt(), vectorPhotonWeight.at(iter));
  - fHistoClusGammaE_BothBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_BothBM)->E(), vectorPhotonWeight.at(iter));
  + fHistoClusGammaPt_BothBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_BothBM)->Pt(), vectorPhotonWeight.at(highestClusterE_Iter_BothBM));
  + fHistoClusGammaE_BothBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_BothBM)->E(), vectorPhotonWeight.at(highestClusterE_Iter_BothBM));
  }
  }
  //Only MB
  if ( ((AliConvEventCuts*)fEventCutArray->At(fiCut))->IsSpecialTrigger()==1 ){
  if (highestClusterE_Iter_AnaBM!=-1){
  - fHistoClusGammaPt_AnaBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_AnaBM)->Pt(), vectorPhotonWeight.at(iter));
  - fHistoClusGammaE_AnaBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_AnaBM)->E(), vectorPhotonWeight.at(iter));
  + fHistoClusGammaPt_AnaBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_AnaBM)->Pt(), vectorPhotonWeight.at(highestClusterE_Iter_AnaBM));
  + fHistoClusGammaE_AnaBM_highestE[fiCut]->Fill(vectorCurrentClusters.at(highestClusterE_Iter_AnaBM)->E(), vectorPhotonWeight.at(highestClusterE_Iter_AnaBM));
  }
  }
  