X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=JETAN%2FAliCdfJetFinder.h;h=8407aad21fd9ce720e5f277c121bab9dea33e7a5;hb=44b922895414b6dd65270d8104fb9e72f92bc1ba;hp=9f05e53c36f4f8508205f4abedb9d55e2e84f1c8;hpb=10a123ae3fcff88d0b8b8bffeb6c35ef0d38904e;p=u%2Fmrichter%2FAliRoot.git diff --git a/JETAN/AliCdfJetFinder.h b/JETAN/AliCdfJetFinder.h index 9f05e53c36f..8407aad21fd 100644 --- a/JETAN/AliCdfJetFinder.h +++ b/JETAN/AliCdfJetFinder.h @@ -7,6 +7,8 @@ * */ +/* $Id$ */ + // Definition of constants, structures and functions for jet finder #include "AliJetFinder.h" @@ -16,64 +18,58 @@ using namespace std ; // structure of jet and particles container struct varContainer - { - Double_t pt; // pt of particle/jet +{ + Double_t pt; // pt of particle/jet Double_t eta; // eta of particle/jet Double_t phi; // phi of particle/jet Int_t njet; // njet is multiplicity of jet or if particles are stored , njet is index number of jet - } ; +}; class AliCdfJetHeader; class AliCdfJetFinder : public AliJetFinder - { - public: - - AliCdfJetFinder(); - virtual ~AliCdfJetFinder(); - - void CreateOutputObjects(TList * const histos); - void FindJets(); - void InitData(); - void FindCones(); - void ComputeConesWeight(); - void WriteJets() ; - void AnalizeJets(); - void Clean(); - - virtual void FinishRun(); - - void SetAnalyseJets(Bool_t flag = kTRUE) {fAnalyseJets = flag;} +{ + public: + AliCdfJetFinder(); + virtual ~AliCdfJetFinder(); + + void CreateOutputObjects(TList * const histos); + void FindJets(); + void InitData(); + void FindCones(); + void ComputeConesWeight(); + void WriteJets() ; + void AnalizeJets(); + void Clean(); - protected: - AliCdfJetFinder ( const AliCdfJetFinder& jf ); - AliCdfJetFinder& operator = ( const AliCdfJetFinder& jf ); + protected: + AliCdfJetFinder ( const AliCdfJetFinder& jf ); + AliCdfJetFinder& operator = ( const AliCdfJetFinder& jf ); - TList *fHistos; // List of histograms + TList* fHistos; // List of histograms - Bool_t fFromAod ; // is the data taken from AOD (or ESD filter) - Bool_t fAODwrite ; // write jets to AOD - Bool_t fAODtracksWrite ; // write jet tracks to AOD - Bool_t fAnalyseJets; // analyse jets + Bool_t fAODwrite ; // write jets to AOD + Bool_t fAODtracksWrite; // write jet tracks to AOD + Bool_t fAnalyseJets; // analyse jets - TRefArray *fRefArr ; //! pointer to references array of tracks from AOD - - Int_t fNJets; //! counter of number of jets - Int_t fNPart; //! number of particles in event + Int_t fNJets; //! counter of number of jets + Int_t fNPart; //! number of particles in event + Int_t fNInC; //! number of charged particles in event + Int_t fNInN; //! number of neutral cells in event - Double_t fRadius ; // radius of jet + Double_t fRadius; // radius of jet - Int_t fMinJetParticles; // leading jet must contain AT LEAST fMinJetParticles - Double_t fJetPtCut; // leading jet must have AT LEAST fJetPtCut + Int_t fMinJetParticles; // leading jet must contain AT LEAST fMinJetParticles + Double_t fJetPtCut; // leading jet must have AT LEAST fJetPtCut - varContainer **fVectParticle; //! container for Particles - varContainer **fVectJet; //! container for Jets + varContainer** fVectParticle; //! container for Particles + varContainer** fVectJet; //! container for Jets - Double_t *fPtArray; //! momentum array - Int_t *fIdxArray; //! index array of sorted pts + Double_t* fPtArray; //! momentum array + Int_t* fIdxArray; //! index array of sorted pts + ClassDef(AliCdfJetFinder,3) // CDF jet finder - ClassDef(AliCdfJetFinder,2) - }; +}; #endif