X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=JETAN%2FAliFastJetInput.cxx;h=6814f98eaa5f4b6e51363ce07c643382fb7bdc3c;hp=c575391a741182635950bcd57eac50f15ea25958;hb=48a828ec8de6d8f8fcd64bfa72c0355ee1820364;hpb=c01e7c1b0c0dcef471530c88f0a0236d3d59c667 diff --git a/JETAN/AliFastJetInput.cxx b/JETAN/AliFastJetInput.cxx index c575391a741..6814f98eaa5 100644 --- a/JETAN/AliFastJetInput.cxx +++ b/JETAN/AliFastJetInput.cxx @@ -91,14 +91,9 @@ void AliFastJetInput::FillInput(){ fInputParticles.clear(); fInputParticlesCh.clear(); - Bool_t debug = header->GetDebug(); // debug option - Int_t fOpt = fReader->GetReaderHeader()->GetDetector(); - - // check if we are reading AOD jets - TRefArray *refs = 0; - Bool_t fromAod = !strcmp(fReader->ClassName(),"AliJetAODReader"); - if (fromAod) { refs = fReader->GetReferences(); } - + Int_t debug = header->GetDebug(); // debug option + Int_t fOpt = fReader->GetReaderHeader()->GetDetector(); + // RUN ALGORITHM // read input particles ----------------------------- vector inputParticles; @@ -194,7 +189,7 @@ Float_t AliFastJetInput::EtaToTheta(Float_t arg) } -Double_t AliFastJetInput::Thermalspectrum(Double_t *x, Double_t *par){ +Double_t AliFastJetInput::Thermalspectrum(const Double_t *x, const Double_t *par){ return x[0]*TMath::Exp(-x[0]/par[0]);