]> git.uio.no Git - u/mrichter/AliRoot.git/blob - JETAN/DEV/AliFastJetInput.h
enable tagging of jets with high qualitiy leading track
[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 class AliFastJetInput : public TObject
29 {
30  public:
31   AliFastJetInput();
32   AliFastJetInput(const AliFastJetInput &input);
33   AliFastJetInput& operator=(const AliFastJetInput& source);
34   virtual                    ~AliFastJetInput() {;}
35   void                       SetHeader(AliJetHeader *header)            {fHeader=header;}
36   void                       SetCalTrkEvent(AliJetCalTrkEvent *caltrk)  {fCalTrkEvent=caltrk;}
37   void                       FillInput();
38   vector<fastjet::PseudoJet> GetInputParticles()   const                {return fInputParticles;}
39   vector<fastjet::PseudoJet> GetInputParticlesCh() const                {return fInputParticlesCh;}
40   static Double_t            Thermalspectrum(const Double_t *x, const Double_t *par);
41
42  private:
43   AliJetHeader *fHeader;                        //! header 
44   AliJetCalTrkEvent *fCalTrkEvent;              //! caltrkevent
45    
46   vector<fastjet::PseudoJet> fInputParticles;   //! input particles for FastJet
47   vector<fastjet::PseudoJet> fInputParticlesCh; //! input charged particles for FastJet
48
49   ClassDef(AliFastJetInput, 2)                  //  fills input particles for FASTJET based analysis
50     
51 };
52  
53 #endif