]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliFastJetInput.cxx
minor coding rule corrections, removed deprecated class
[u/mrichter/AliRoot.git] / JETAN / AliFastJetInput.cxx
index c575391a741182635950bcd57eac50f15ea25958..6814f98eaa5f4b6e51363ce07c643382fb7bdc3c 100644 (file)
@@ -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<fastjet::PseudoJet> 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]);