]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliMergeCombi.h
AliCollisionGeometry added.
[u/mrichter/AliRoot.git] / STEER / AliMergeCombi.h
1 #ifndef ALIMERGECOMBI_H
2 #define ALIMERGECOMBI_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 ////////////////////////////////////////////////////////////////////////
9 //
10 //  Class to make combination for merging
11 //                  
12 //  Author: Jiri Chudoba (CERN), 2001
13 //
14 ////////////////////////////////////////////////////////////////////////
15
16 // --- ROOT system ---
17 #include "TNamed.h"
18 #include "TObjString.h"
19 #include "TArrayI.h"
20 #include "TClonesArray.h"
21
22 // --- AliRoot header files ---
23
24 class AliMergeCombi: public TNamed {
25
26 public:
27   AliMergeCombi();
28   AliMergeCombi(Int_t dim, Int_t sperb);
29   virtual ~AliMergeCombi();
30   Bool_t Combination(Int_t evNumber[], Int_t delta[]);
31   
32 private:  
33   Int_t fDim;               //! dimension of arrays evNumber and delta
34   Int_t fSperb;             //! signal per background ratio
35   Int_t fCounter;           //! counter for calls
36   
37   ClassDef(AliMergeCombi,1)
38 };
39
40 #endif // ALIMERGECOMBI_H
41