1 #ifndef ALIFASTJETINPUT_H
2 #define ALIFASTJETINPUT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 //---------------------------------------------------------------------
7 // Class for input particles
8 // manages the search for jets
9 // Authors: Elena Bruna elena.bruna@yale.edu
11 //---------------------------------------------------------------------
14 #include "fastjet/PseudoJet.hh"
15 #include "fastjet/ClusterSequenceArea.hh"
16 #include "fastjet/AreaDefinition.hh"
17 #include "fastjet/JetDefinition.hh"
18 // get info on how fastjet was configured
19 #include "fastjet/config.h"
20 #ifdef ENABLE_PLUGIN_SISCONE
21 #include "fastjet/SISConePlugin.hh"
24 #include<sstream> // needed for internal io
33 class AliFastJetInput : public TObject
37 AliFastJetInput(const AliFastJetInput &input);
38 AliFastJetInput& operator=(const AliFastJetInput& source);
39 virtual ~AliFastJetInput() {;}
40 void SetHeader(AliJetHeader *header) {fHeader=header;}
41 void SetReader(AliJetReader *reader) {fReader=reader;}
43 vector<fastjet::PseudoJet> GetInputParticles() const {return fInputParticles;}
44 vector<fastjet::PseudoJet> GetInputParticlesCh() const {return fInputParticlesCh;}
46 Float_t EtaToTheta(Float_t arg);
47 static Double_t Thermalspectrum(Double_t *x, Double_t *par);
50 AliJetReader *fReader; //! reader
51 AliJetHeader *fHeader; //! header
53 vector<fastjet::PseudoJet> fInputParticles; //! input particles for FastJet
54 vector<fastjet::PseudoJet> fInputParticlesCh; //! input charged particles for FastJet
56 ClassDef(AliFastJetInput, 1); // Analysis task for standard jet analysis