]>
Commit | Line | Data |
---|---|---|
50c7d9f7 | 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 */ | |
139cbd96 | 6 | |
7 | /* $Id$ */ | |
8 | ||
9 | //--------------------------------------------------------------------- | |
50c7d9f7 | 10 | // Class for input particles |
11 | // manages the search for jets | |
12 | // Authors: Elena Bruna elena.bruna@yale.edu | |
139cbd96 | 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 | |
50c7d9f7 | 16 | //--------------------------------------------------------------------- |
17 | ||
139cbd96 | 18 | #include <TObject.h> |
19 | ||
20 | // FastJet classes | |
13fa2a91 | 21 | #ifndef __CINT__ |
22 | # include "fastjet/PseudoJet.hh" | |
13fa2a91 | 23 | #else |
24 | namespace fastjet { | |
139cbd96 | 25 | class PseudoJet; |
13fa2a91 | 26 | } |
50c7d9f7 | 27 | #endif |
139cbd96 | 28 | |
29 | #include <vector> | |
30 | ||
31 | class AliJetCalTrkEvent; | |
50c7d9f7 | 32 | class AliJetHeader; |
50c7d9f7 | 33 | |
139cbd96 | 34 | using std::vector; |
50c7d9f7 | 35 | |
36 | class AliFastJetInput : public TObject | |
37 | { | |
38 | public: | |
139cbd96 | 39 | AliFastJetInput(); |
40 | AliFastJetInput(const AliFastJetInput &input); | |
41 | AliFastJetInput& operator=(const AliFastJetInput& source); | |
42 | virtual ~AliFastJetInput() {;} | |
43 | void SetHeader(AliJetHeader *header) {fHeader=header;} | |
44 | void SetCalTrkEvent(AliJetCalTrkEvent *caltrk) {fCalTrkEvent=caltrk;} | |
45 | void FillInput(); | |
46 | vector<fastjet::PseudoJet> GetInputParticles() const {return fInputParticles;} | |
47 | vector<fastjet::PseudoJet> GetInputParticlesCh() const {return fInputParticlesCh;} | |
48 | static Double_t Thermalspectrum(const Double_t *x, const Double_t *par); | |
50c7d9f7 | 49 | |
50 | private: | |
139cbd96 | 51 | AliJetHeader *fHeader; //! header |
52 | AliJetCalTrkEvent *fCalTrkEvent; //! caltrkevent | |
50c7d9f7 | 53 | |
139cbd96 | 54 | vector<fastjet::PseudoJet> fInputParticles; //! input particles for FastJet |
55 | vector<fastjet::PseudoJet> fInputParticlesCh; //! input charged particles for FastJet | |
50c7d9f7 | 56 | |
139cbd96 | 57 | ClassDef(AliFastJetInput, 2) // fills input particles for FASTJET based analysis |
58 | ||
50c7d9f7 | 59 | }; |
60 | ||
61 | #endif |