]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliFastJetFinder.h
bug fix
[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 #ifndef __CINT__
18 # include "fastjet/PseudoJet.hh"
19 # include "fastjet/ClusterSequenceArea.hh"
20 # include "fastjet/AreaDefinition.hh"
21 # include "fastjet/JetDefinition.hh"
22 // get info on how fastjet was configured
23 # include "fastjet/config.h"
24 # ifdef ENABLE_PLUGIN_SISCONE
25 #  include "fastjet/SISConePlugin.hh"
26 # endif
27 #else
28 namespace fastjet {
29 class PseudoJet;
30 class ClusterSequenceArea;
31 class AreaDefinition;
32 class JetDefinition;
33 }
34 #endif
35
36
37 #include<sstream>  // needed for internal io
38 #include <vector> 
39 #include <cmath> 
40
41 #include "AliJetFinder.h"
42 #include "AliFastJetHeaderV1.h"
43
44 using namespace std;
45 class AliFastJetInput;
46 class AliJetBkg;
47
48 class AliFastJetFinder : public AliJetFinder
49 {
50  public:
51
52   AliFastJetFinder();
53   ~AliFastJetFinder();
54
55   virtual void    FindJets(); 
56   void    RunTest(const char* datafile); // a simple test
57   virtual void    WriteJHeaderToFile() const;
58   Float_t EtaToTheta(Float_t arg);
59   void    InitTask(TChain* tree);
60   virtual Bool_t ProcessEvent();
61   virtual Bool_t  ProcessEvent2();
62   
63       
64   protected:
65   AliFastJetFinder(const AliFastJetFinder& rfj);
66   AliFastJetFinder& operator = (const AliFastJetFinder& rsfj);
67   AliFastJetInput*                fInputFJ;     //! input particles array
68   AliJetBkg*                      fJetBkg;      //! pointer to bkg class
69   ClassDef(AliFastJetFinder,2)
70 };
71
72 #endif