]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/DEV/AliFastJetInput.h
Compatibility with ROOT trunk
[u/mrichter/AliRoot.git] / JETAN / DEV / 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 /* $Id$ */
8
9 //---------------------------------------------------------------------
10 // Class for input particles
11 // manages the search for jets 
12 // Authors: Elena Bruna elena.bruna@yale.edu
13 //
14 // ** 2011 magali.estienne@subatech.in2p3.fr &  alexandre.shabetai@cern.ch             
15 // Modified accordingly to reader/finder splitting and new handling of neutral information
16 //---------------------------------------------------------------------
17
18 #include <TObject.h>
19
20 // FastJet classes 
21 #include "fastjet/PseudoJet.hh"
22
23 #include <vector> 
24
25 class AliJetCalTrkEvent;
26 class AliJetHeader;
27
28 using std::vector;
29
30 class AliFastJetInput : public TObject
31 {
32  public:
33   AliFastJetInput();
34   AliFastJetInput(const AliFastJetInput &input);
35   AliFastJetInput& operator=(const AliFastJetInput& source);
36   virtual                    ~AliFastJetInput() {;}
37   void                       SetHeader(AliJetHeader *header)            {fHeader=header;}
38   void                       SetCalTrkEvent(AliJetCalTrkEvent *caltrk)  {fCalTrkEvent=caltrk;}
39   void                       FillInput();
40   vector<fastjet::PseudoJet> GetInputParticles()   const                {return fInputParticles;}
41   vector<fastjet::PseudoJet> GetInputParticlesCh() const                {return fInputParticlesCh;}
42   static Double_t            Thermalspectrum(const Double_t *x, const Double_t *par);
43
44  private:
45   AliJetHeader *fHeader;                        //! header 
46   AliJetCalTrkEvent *fCalTrkEvent;              //! caltrkevent
47    
48   vector<fastjet::PseudoJet> fInputParticles;   //! input particles for FastJet
49   vector<fastjet::PseudoJet> fInputParticlesCh; //! input charged particles for FastJet
50
51   ClassDef(AliFastJetInput, 2)                  //  fills input particles for FASTJET based analysis
52     
53 };
54  
55 #endif