]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliMergeCombi.h
Technical fixes + coding conventions
[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 //  Returns combination of input event numbers                
12 //  Author: Jiri Chudoba (CERN), 2001
13 //
14 ////////////////////////////////////////////////////////////////////////
15
16 // --- ROOT system ---
17
18 #include <TNamed.h>
19
20 // --- AliRoot header files ---
21
22 class AliMergeCombi: public TNamed {
23
24 public:
25   AliMergeCombi();
26   AliMergeCombi(Int_t dim, Int_t sperb);
27   virtual ~AliMergeCombi();
28   Bool_t Combination(Int_t evNumber[], Int_t delta[]);
29   
30 private:  
31   Int_t fDim;               //! dimension of arrays evNumber and delta
32   Int_t fSperb;             //! signal per background ratio
33   Int_t fCounter;           //! counter for calls
34   
35   ClassDef(AliMergeCombi,1)
36 };
37
38 #endif // ALIMERGECOMBI_H
39