]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALJetFinderOutput.h
iostream replaced by Riostream.h
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinderOutput.h
1 #ifndef ALIEMCALJETFINDEROUTPUT_H
2 #define ALIEMCALJETFINDEROUTPUT_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 //  Output object for jetfinder
11 //
12 //*-- Author:   Renan Cabrera (LBL)
13 //              Mark Horner (LBL/UCT)
14 //
15
16
17 #include "TObject.h"
18 #include "TParticle.h"
19 #include "TClonesArray.h"
20 #include "AliEMCALParton.h"
21 #include "AliEMCALJet.h"
22 #include "AliEMCALJetFinderTypes.h"
23
24 class AliEMCALJetFinderOutput : public TObject
25 {
26                 
27         public:
28                 AliEMCALJetFinderOutput();
29                 ~AliEMCALJetFinderOutput();
30                 void Reset(AliEMCALJetFinderResetType_t resettype);
31                 void AddJet(AliEMCALJet *jet); 
32                 void AddParton(AliEMCALParton *parton);
33                 void AddParticle(TParticle *particle);
34                 void SetDebug(Int_t debug){fDebug = debug;}
35                 AliEMCALJet* GetJet(Int_t jetID);
36                 Int_t GetNJets(){return fNJets;}
37                 AliEMCALParton* GetParton(Int_t partonID);
38                 Int_t GetNPartons(){return fNPartons;}
39                 TParticle* GetParticle(Int_t particleID);
40                 Int_t GetNParticles(){return fNParticles;}
41
42         private:
43                 void InitArrays();
44                 TClonesArray*   fJetsArray;     //-> 
45                 Int_t           fNJets;         // Number of jets actually stored
46                 TClonesArray*   fPartonsArray;  //-> 
47                 Int_t           fNPartons;      // Number of Partons actually stored
48                 TClonesArray*  fParticlesArray; //-> 
49                 Int_t           fNParticles;    // Number of particles actually stored
50                 Int_t           fNMaxJets;      // Maximum number of jets 
51                 Int_t           fNMaxParticles; // Maximum number of primary particles
52                 Int_t           fNMaxPartons;   // Maximum number of primary particles
53                 Int_t           fDebug;         // Debug level
54                 Bool_t          fInitialised;   // stores whether or not the arrays have been initialised
55                 
56         ClassDef(AliEMCALJetFinderOutput,1)
57 };
58 #endif