]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/JetCorrel/AliJetCorrelMaker.h
Recalculate distance only when requested via switch
[u/mrichter/AliRoot.git] / PWG4 / JetCorrel / AliJetCorrelMaker.h
CommitLineData
7488b3de 1#ifndef ALIJETCORRELMAKER_H
2#define ALIJETCORRELMAKER_H
c97d2ae1 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/* $Id: $ */
6
7//__________________________________________
8// Class that uses info from the AliJetCorrelSelector object to set up the
9// two-particle correlations to be run in one instance of the analysis module.
10//-- Author: Paul Constantin
11
11ad5089 12#include "AliJetCorrelSelector.h"
c97d2ae1 13
e1b97289 14class AliJetCorrelMaker : public TObject {
c97d2ae1 15
e1b97289 16 public:
17 AliJetCorrelMaker();
18 ~AliJetCorrelMaker();
19
20 Bool_t Init(UInt_t s, UInt_t * const v);
7488b3de 21 Bool_t Check() const;
22 void Show()const;
e1b97289 23
24 UInt_t NoOfCorrel() const {return fNumCorrel;}
25 UInt_t NoOfTrigg() const {return fNumTrigg;}
26 UInt_t NoOfAssoc() const {return fNumAssoc;}
27 UInt_t IdxTrigg(UInt_t k) const;
28 UInt_t IdxAssoc(UInt_t k) const;
11ad5089 29 cPartType_t TriggType(UInt_t k) const;
30 cPartType_t AssocType(UInt_t k) const;
e1b97289 31 TString Descriptor(UInt_t k) const;
32 Bool_t RecoTrigger(UInt_t k) const;
33 Bool_t RecoTrigger() const;
34
35 private:
11ad5089 36 UInt_t fNumCorrel, fNumTrigg, fNumAssoc; //! counters
7488b3de 37 UInt_t* fCorrelType; //! array of correlation types
38 TString* fCorrelStr; //! array of correlation string descriptors
11ad5089 39 cPartType_t* fTriggType; //! array of trigger particle types
40 cPartType_t* fAssocType; //! array of associated particle types
7488b3de 41 UInt_t* fIdxTrigg; //! array with trigger indices
42 UInt_t* fIdxAssoc; //! array with associated indices
e1b97289 43
44 // disable (make private) copy constructor, and assignment operator:
45 AliJetCorrelMaker(const AliJetCorrelMaker&);
46 AliJetCorrelMaker& operator=(const AliJetCorrelMaker&);
47
48 ClassDef(AliJetCorrelMaker, 1);
49};
c97d2ae1 50
51#endif