]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/AliFastJetInput.h
Access to EMCAL Local2Master matrices via OADB
[u/mrichter/AliRoot.git] / JETAN / AliFastJetInput.h
1 #ifndef ALIFASTJETINPUT_H
2 #define ALIFASTJETINPUT_H
3  
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
10 //         
11 //---------------------------------------------------------------------
12
13 //FastJet classes 
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"
22
23
24 #include<sstream>  // needed for internal io
25 #include <vector> 
26 #include <cmath> 
27 #endif
28 class AliJetFinder;
29 class AliJetHeader;
30 class AliJetReader;
31
32
33 class AliFastJetInput : public TObject
34 {
35  public:
36     AliFastJetInput();
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;}
42     void FillInput();
43     vector<fastjet::PseudoJet> GetInputParticles()   const {return fInputParticles;}
44     vector<fastjet::PseudoJet> GetInputParticlesCh() const {return fInputParticlesCh;}
45
46     Float_t  EtaToTheta(Float_t arg);
47     static Double_t Thermalspectrum(Double_t *x, Double_t *par);
48
49  private:
50    AliJetReader *fReader;  //! reader 
51    AliJetHeader *fHeader;  //! header 
52    
53     vector<fastjet::PseudoJet> fInputParticles;     //! input particles for FastJet
54     vector<fastjet::PseudoJet> fInputParticlesCh;   //! input charged particles for FastJet
55
56   ClassDef(AliFastJetInput, 1); // Analysis task for standard jet analysis
57 };
58  
59 #endif