]>
Commit | Line | Data |
---|---|---|
a17e6965 | 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 | ||
392c9b47 | 8 | |
a17e6965 | 9 | //--------------------------------------------------------------------- |
392c9b47 | 10 | // FastJet v2.3.4 finder algorithm interface |
11 | // | |
a17e6965 | 12 | // Author: Rafael.Diaz.Valdes@cern.ch |
392c9b47 | 13 | // |
a17e6965 | 14 | //--------------------------------------------------------------------- |
15 | ||
392c9b47 | 16 | //FastJet classes |
13fa2a91 | 17 | #ifndef __CINT__ |
18 | # include "fastjet/PseudoJet.hh" | |
19 | # include "fastjet/ClusterSequenceArea.hh" | |
20 | # include "fastjet/AreaDefinition.hh" | |
21 | # include "fastjet/JetDefinition.hh" | |
392c9b47 | 22 | // get info on how fastjet was configured |
13fa2a91 | 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 | } | |
392c9b47 | 34 | #endif |
35 | ||
36 | ||
37 | #include<sstream> // needed for internal io | |
38 | #include <vector> | |
39 | #include <cmath> | |
40 | ||
a17e6965 | 41 | #include "AliJetFinder.h" |
8838ab7a | 42 | #include "AliFastJetHeaderV1.h" |
392c9b47 | 43 | |
44 | using namespace std; | |
d1993270 | 45 | class AliFastJetInput; |
46 | class AliJetBkg; | |
a17e6965 | 47 | |
48 | class AliFastJetFinder : public AliJetFinder | |
49 | { | |
50 | public: | |
51 | ||
52 | AliFastJetFinder(); | |
53 | ~AliFastJetFinder(); | |
54 | ||
287697fc | 55 | virtual void FindJets(); |
8838ab7a | 56 | void RunTest(const char* datafile); // a simple test |
b430dff0 | 57 | virtual void WriteJHeaderToFile() const; |
8838ab7a | 58 | Float_t EtaToTheta(Float_t arg); |
59 | void InitTask(TChain* tree); | |
287697fc | 60 | virtual Bool_t ProcessEvent(); |
61 | virtual Bool_t ProcessEvent2(); | |
d1993270 | 62 | |
63 | ||
392c9b47 | 64 | protected: |
65 | AliFastJetFinder(const AliFastJetFinder& rfj); | |
66 | AliFastJetFinder& operator = (const AliFastJetFinder& rsfj); | |
d1993270 | 67 | AliFastJetInput* fInputFJ; //! input particles array |
68 | AliJetBkg* fJetBkg; //! pointer to bkg class | |
392c9b47 | 69 | ClassDef(AliFastJetFinder,2) |
a17e6965 | 70 | }; |
71 | ||
72 | #endif |