]>
Commit | Line | Data |
---|---|---|
d89b8229 | 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 | |
13fa2a91 | 21 | #ifndef __CINT__ |
22 | # include "fastjet/PseudoJet.hh" | |
23 | #else | |
24 | namespace fastjet { | |
25 | class PseudoJet; | |
26 | } | |
27 | #endif | |
d89b8229 | 28 | |
29 | #include <vector> | |
30 | ||
31 | class AliJetCalTrkEvent; | |
32 | class AliJetHeader; | |
33 | ||
3a7af7bd | 34 | using std::vector; |
35 | ||
d89b8229 | 36 | class AliFastJetInput : public TObject |
37 | { | |
38 | public: | |
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); | |
49 | ||
50 | private: | |
51 | AliJetHeader *fHeader; //! header | |
52 | AliJetCalTrkEvent *fCalTrkEvent; //! caltrkevent | |
53 | ||
54 | vector<fastjet::PseudoJet> fInputParticles; //! input particles for FastJet | |
55 | vector<fastjet::PseudoJet> fInputParticlesCh; //! input charged particles for FastJet | |
56 | ||
57 | ClassDef(AliFastJetInput, 2) // fills input particles for FASTJET based analysis | |
58 | ||
59 | }; | |
60 | ||
61 | #endif |