]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliFastJetInput.h
Changed member from "const char *" to TString
[u/mrichter/AliRoot.git] / JETAN / AliFastJetInput.h
index 4049b0cc3ad042287c1b399edb76f8844d29ce60..d24a38dfde6aca6f5cb4383658e483222185072d 100644 (file)
@@ -3,56 +3,59 @@
  
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
-  //---------------------------------------------------------------------
+
+/* $Id$ */
+
+//---------------------------------------------------------------------
 // Class for input particles
 // manages the search for jets 
 // Authors: Elena Bruna elena.bruna@yale.edu
-//         
+//
+// ** 2011 magali.estienne@subatech.in2p3.fr &  alexandre.shabetai@cern.ch             
+// Modified accordingly to reader/finder splitting and new handling of neutral information
 //---------------------------------------------------------------------
 
-//FastJet classes 
-#include "fastjet/PseudoJet.hh"
-#include "fastjet/ClusterSequenceArea.hh"
-#include "fastjet/AreaDefinition.hh"
-#include "fastjet/JetDefinition.hh"
-// get info on how fastjet was configured
-#include "fastjet/config.h"
-#ifdef ENABLE_PLUGIN_SISCONE
-#include "fastjet/SISConePlugin.hh"
+#include <TObject.h>
 
+// FastJet classes 
+#ifndef __CINT__
+# include "fastjet/PseudoJet.hh"
+#else
+namespace fastjet {
+  class PseudoJet;
+}
+#endif
 
-#include<sstream>  // needed for internal io
 #include <vector> 
-#include <cmath> 
-#endif
-class AliJetFinder;
+
+class AliJetCalTrkEvent;
 class AliJetHeader;
-class AliJetReader;
 
+using std::vector;
 
 class AliFastJetInput : public TObject
 {
  public:
-    AliFastJetInput();
-    AliFastJetInput(const AliFastJetInput &input);
-    AliFastJetInput& operator=(const AliFastJetInput& source);
-    virtual ~AliFastJetInput() {;}
-    void SetHeader(AliJetHeader *header)  {fHeader=header;}
-    void SetReader(AliJetReader *reader)  {fReader=reader;}
-    void FillInput();
-    vector<fastjet::PseudoJet> GetInputParticles()   const {return fInputParticles;}
-    vector<fastjet::PseudoJet> GetInputParticlesCh() const {return fInputParticlesCh;}
-    Float_t  EtaToTheta(Float_t arg);
-    static Double_t Thermalspectrum(const Double_t *x, const Double_t *par);
+  AliFastJetInput();
+  AliFastJetInput(const AliFastJetInput &input);
+  AliFastJetInput& operator=(const AliFastJetInput& source);
+  virtual                    ~AliFastJetInput() {;}
+  void                       SetHeader(AliJetHeader *header)            {fHeader=header;}
+  void                       SetCalTrkEvent(AliJetCalTrkEvent *caltrk)  {fCalTrkEvent=caltrk;}
+  void                       FillInput();
+  vector<fastjet::PseudoJet> GetInputParticles()   const                {return fInputParticles;}
+  vector<fastjet::PseudoJet> GetInputParticlesCh() const                {return fInputParticlesCh;}
+  static Double_t            Thermalspectrum(const Double_t *x, const Double_t *par);
 
  private:
-   AliJetReader *fReader;  //! reader 
-   AliJetHeader *fHeader;  //! header 
+  AliJetHeader *fHeader;                        //! header 
+  AliJetCalTrkEvent *fCalTrkEvent;              //! caltrkevent
    
-    vector<fastjet::PseudoJet> fInputParticles;     //! input particles for FastJet
-    vector<fastjet::PseudoJet> fInputParticlesCh;   //! input charged particles for FastJet
+  vector<fastjet::PseudoJet> fInputParticles;   //! input particles for FastJet
+  vector<fastjet::PseudoJet> fInputParticlesCh; //! input charged particles for FastJet
 
-  ClassDef(AliFastJetInput, 1); // Analysis task for standard jet analysis
+  ClassDef(AliFastJetInput, 2)                  //  fills input particles for FASTJET based analysis
+    
 };
  
 #endif