From 26daf90ef391a2d09a40aa8cff7b81fdbedd14d6 Mon Sep 17 00:00:00 2001 From: mhorner Date: Tue, 18 May 2004 21:13:48 +0000 Subject: [PATCH] Minor change --- EMCAL/AliEMCALJetFinderPlots.cxx | 6 +++--- EMCAL/AliEMCALJetFinderPlots.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EMCAL/AliEMCALJetFinderPlots.cxx b/EMCAL/AliEMCALJetFinderPlots.cxx index a5e30498f7c..d57d7b4d60b 100755 --- a/EMCAL/AliEMCALJetFinderPlots.cxx +++ b/EMCAL/AliEMCALJetFinderPlots.cxx @@ -308,7 +308,7 @@ delete fhEtaPhiSpread; } -void AliEMCALJetFinderPlots::FillFromOutput(AliEMCALJetFinderOutput* output, Float_t weight=1.0) +void AliEMCALJetFinderPlots::FillFromOutput(AliEMCALJetFinderOutput* output, Float_t weight) { // Fill histograms from an output object if (!fInitialised) InitPlots(); @@ -431,8 +431,8 @@ if (numappjet > 1) fhEtaPhiSpread2->Fill(jethighest->Eta()-parton->Eta(),jethighest->Phi() - parton->Phi()); fhJetEtSecond2->Fill(jetsecond->Energy()*fScaleFactor,weight); fhJetEtRatio2->Fill(jetsecond->Energy()/jethighest->Energy(),weight); - fhEtaPhiDist2->Fill( TMath::Sqrt((jethighest->Eta() - jetsecond->Eta())*(jethighest->Eta() - jetsecond->Eta(),weight) - + (jethighest->Phi() - jetsecond->Phi())*(jethighest->Phi() - jetsecond->Phi()) )); + fhEtaPhiDist2->Fill( TMath::Sqrt((jethighest->Eta() - jetsecond->Eta())*(jethighest->Eta() - jetsecond->Eta()) + + (jethighest->Phi() - jetsecond->Phi())*(jethighest->Phi() - jetsecond->Phi()) ),weight); /* Float_t *pt,*phi,*eta; Int_t *pdg; diff --git a/EMCAL/AliEMCALJetFinderPlots.h b/EMCAL/AliEMCALJetFinderPlots.h index 55b5cfedcc2..717f4e6b684 100755 --- a/EMCAL/AliEMCALJetFinderPlots.h +++ b/EMCAL/AliEMCALJetFinderPlots.h @@ -31,7 +31,7 @@ class AliEMCALJetFinderPlots : public TObject void SetNominalEnergy(Float_t energy){fNominalEnergy = energy;} void SetDebug(Int_t debug){fDebug = debug;} void SetBackHisto(TH1F* histo){fhBackHisto=histo;} - void FillFromOutput(AliEMCALJetFinderOutput* output,Float_t weight); + void FillFromOutput(AliEMCALJetFinderOutput* output,Float_t weight=1.0); //========================== CASE 1 ======================== // Only consider events with only 1 jet TH1F* GetFragmFcn(){return fhFragmFcn;} -- 2.43.5