]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/UNICOR/AliUnicorAnalCorrel.h
Bug coreected in PTM gain array indexes
[u/mrichter/AliRoot.git] / PWG2 / UNICOR / AliUnicorAnalCorrel.h
1 #ifndef ALIUNICORANALCORREL_H
2 #define ALIUNICORANALCORREL_H
3
4 /* Copyright(c) 1998-2048, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6 /* $Id$ */
7
8 // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2005
9
10 //=============================================================================
11 // two-particle correlation analyzer
12 //=============================================================================
13
14 #include "AliUnicorAnal.h"
15 #include "AliUnicorPair.h"
16 class AliUnicorEvent;
17
18 //=============================================================================
19 class AliUnicorAnalCorrel : public AliUnicorAnal {
20    
21  public:
22   AliUnicorAnalCorrel(Char_t *nam="correl", 
23               Double_t emi=-1, Double_t ema=1, 
24               Int_t pid0=0, Int_t pid1=0);     // constructor
25   virtual ~AliUnicorAnalCorrel(){}                     // destructor
26   // process one (tru) or two (mix) events
27   void Process(Int_t tmr, AliUnicorEvent *ev0, AliUnicorEvent *ev1, Double_t phirot);
28
29  protected:
30   Int_t    fPid0;                       // particle species 0
31   Int_t    fPid1;                       // particle species 1
32   Double_t fMass0;                      // mass 0
33   Double_t fMass1;                      // mass 1
34   AliUnicorPair    fPa;                         // pair buffer for calculations
35
36   ClassDef(AliUnicorAnalCorrel,1)
37 };
38 //=============================================================================
39 #endif