X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EMCAL%2FAliEMCALJetFinderOutput.h;h=c7056559e2a82c719b92ea431ace1b8655e6b212;hp=000bef6dd4cf962b465baab0e37ad492d7b7b684;hb=5bf42aa6b55e3e9fe0955658eb048b24da18437c;hpb=1d98347afdac3ea968fdf0c819e67e3db7ec27eb diff --git a/EMCAL/AliEMCALJetFinderOutput.h b/EMCAL/AliEMCALJetFinderOutput.h index 000bef6dd4c..c7056559e2a 100755 --- a/EMCAL/AliEMCALJetFinderOutput.h +++ b/EMCAL/AliEMCALJetFinderOutput.h @@ -33,18 +33,21 @@ class AliEMCALJetFinderOutput : public TObject void SetDebug(Int_t debug){fDebug = debug;} AliEMCALJet* GetJet(Int_t jetID); Int_t GetNJets() const {return fNJets;} + TClonesArray *GetJets() {return fJetsArray; } AliEMCALParton* GetParton(Int_t partonID); Int_t GetNPartons() const {return fNPartons;} TParticle* GetParticle(Int_t particleID); + TClonesArray *GetParticles() {return fParticlesArray; } Int_t GetNParticles() const {return fNParticles;} + ClassDef(AliEMCALJetFinderOutput,5) private: void InitArrays(); - AliEMCALJet fJetsArray[10]; // [10] Array of jet objects - AliEMCALParton fPartonsArray[4]; // [4] Array of parton objects + TClonesArray *fJetsArray; // Array of jet objects + TClonesArray *fPartonsArray; // Array of parton objects Int_t fNPartons; // Number of Partons actually stored Int_t fNJets; // Number of jets actually stored - TParticle fParticlesArray[2000]; // [2000] Array of particles + TClonesArray *fParticlesArray; // Array of particles Int_t fNParticles; // Number of particles actually stored Int_t fNMaxJets; // Maximum number of jets Int_t fNMaxParticles; // Maximum number of primary particles @@ -52,6 +55,5 @@ class AliEMCALJetFinderOutput : public TObject Int_t fDebug; // Debug level Bool_t fInitialised; // stores whether or not the arrays have been initialised - ClassDef(AliEMCALJetFinderOutput,3) }; #endif