]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliFastJetFinder.h
Adding new macro, loadFromOCDB.C, for loading magnetic field, mapping and
[u/mrichter/AliRoot.git] / JETAN / AliFastJetFinder.h
1 #ifndef ALIFASTJETFINDER_H
2 #define ALIFASTJETFINDER_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7
8
9 //---------------------------------------------------------------------
10 // FastJet v2.3.4 finder algorithm interface
11 //
12 // Author: Rafael.Diaz.Valdes@cern.ch
13 //  
14 //---------------------------------------------------------------------
15
16 //FastJet classes 
17 #include "fastjet/PseudoJet.hh"
18 #include "fastjet/ClusterSequenceArea.hh"
19 #include "fastjet/AreaDefinition.hh"
20 #include "fastjet/JetDefinition.hh"
21 // get info on how fastjet was configured
22 #include "fastjet/config.h"
23 #ifdef ENABLE_PLUGIN_SISCONE
24 #include "fastjet/SISConePlugin.hh"
25 #endif
26
27
28 #include<sstream>  // needed for internal io
29 #include <vector> 
30 #include <cmath> 
31
32 #include "AliJetFinder.h"
33 #include "AliFastJetHeaderV1.h"
34
35 using namespace std;
36 class AliFastJetInput;
37 class AliJetBkg;
38
39 class AliFastJetFinder : public AliJetFinder
40 {
41  public:
42
43   AliFastJetFinder();
44   ~AliFastJetFinder();
45
46   virtual void    FindJets(); 
47   void    RunTest(const char* datafile); // a simple test
48   virtual void    WriteJHeaderToFile();
49   Float_t EtaToTheta(Float_t arg);
50   void    InitTask(TChain* tree);
51   virtual Bool_t ProcessEvent();
52   virtual Bool_t  ProcessEvent2();
53   
54       
55   protected:
56   AliFastJetFinder(const AliFastJetFinder& rfj);
57   AliFastJetFinder& operator = (const AliFastJetFinder& rsfj);
58   AliFastJetInput*                fInputFJ;     //! input particles array
59   AliJetBkg*                      fJetBkg;      //! pointer to bkg class
60   ClassDef(AliFastJetFinder,2)
61 };
62
63 #endif