message: changeg binning and range of EvtPl histogram
diff: @@ -750,12 +750,12 @@ void AliAnalysisTaskGammaHadron::UserCreateOutputObjects()
  fHistBinCheckXi[identifier]->GetYaxis()->SetTitle("Entries");
  fOutput->Add(fHistBinCheckXi[identifier]);
  - fHistBinCheckEvtPl[identifier] = new TH1F(Form("fHistBinCheckEvtPl_%0d",identifier),Form("fHistBinCheckEvtPl_%0d",identifier), 542, -182, 500);
  + fHistBinCheckEvtPl[identifier] = new TH1F(Form("fHistBinCheckEvtPl_%0d",identifier),Form("fHistBinCheckEvtPl_%0d",identifier), 182, -92, 272);
  fHistBinCheckEvtPl[identifier]->GetXaxis()->SetTitle("#Delta#varphi^{#gamma-EvtPl}");
  fHistBinCheckEvtPl[identifier]->GetYaxis()->SetTitle("Entries");
  fOutput->Add(fHistBinCheckEvtPl[identifier]);
  - fHistBinCheckEvtPl2[identifier]= new TH1F(Form("fHistBinCheckEvtPl2_%0d",identifier),Form("fHistBinCheckEvtPl2_%0d",identifier), 180, -100 , 180);
  + fHistBinCheckEvtPl2[identifier]= new TH1F(Form("fHistBinCheckEvtPl2_%0d",identifier),Form("fHistBinCheckEvtPl2_%0d",identifier), 47, -2 , 92);
  fHistBinCheckEvtPl2[identifier]->GetXaxis()->SetTitle("#Delta#varphi^{#gamma-EvtPl}");
  fHistBinCheckEvtPl2[identifier]->GetYaxis()->SetTitle("Entries");
  fOutput->Add(fHistBinCheckEvtPl2[identifier]);
  @@ -1707,7 +1707,7 @@ void AliAnalysisTaskGammaHadron::FillGhHistograms(Int_t identifier,AliTLorentzVe
  //..Histograms to test the binning
  fHistBinCheckEvtPl[identifier] ->Fill(evtPlaneAngle*fRtoD,Weight);
  - fHistBinCheckEvtPl2[identifier]->Fill(angleFromAxis*fRtoD,Weight);
  + //fHistBinCheckEvtPl2[identifier]->Fill(angleFromAxis*fRtoD,Weight);
  fHistBinCheckPt[identifier] ->Fill(G_PT_Value,Weight);
  fHistBinCheckZt[identifier] ->Fill(ZT_Value,Weight);
  fHistBinCheckXi[identifier] ->Fill(XI_Value,Weight);
  @@ -1973,19 +1973,15 @@ Double_t AliAnalysisTaskGammaHadron::DeltaPhi(AliTLorentzVector ClusterVec,Doubl
  Double_t dPhi = -999;
  Double_t pi = TMath::Pi();
  - cout<<"gamma angle: "<<phi_g*fRtoD<<endl;
  - cout<<"evtPl angle: "<<phi_EVP*fRtoD<<endl;
  //..delta phi between gamma and evt plane
  dPhi = phi_g-phi_EVP;
  - //--shift the second peak over the fist peak: \----/ --> ---
  + //--shift the second peak over the fist peak: \-^-/ --> -^-/\
  //--to create a histogram that starts at -pi/2 and ends at 3/2pi
  if (dPhi <= -pi/2) dPhi += 2*pi;
  if (dPhi > 3.0*pi/2.0)dPhi -= 2*pi;
  - if(dPhi*fRtoD>360)cout<<"strange angle (gamma-EVpl): "<<dPhi*fRtoD<<", phi gamma: "<<phi_g*fRtoD<<", phi EVP: "<<phi_EVP*fRtoD<<endl;
  -
  return dPhi;
  }
  //________________________________________________________________________
  