1 // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2005
3 //=============================================================================
4 // two-particle correlation analyzer
5 //=============================================================================
7 #ifndef ALIDANALCORREL_H
8 #define ALIDANALCORREL_H
15 //=============================================================================
16 class AliDAnalCorrel : public AliDAnal {
19 AliDAnalCorrel(Char_t *nam="correl",
20 Double_t emi=-1, Double_t ema=1,
21 Int_t pid0=0, Int_t pid1=0); // constructor
22 virtual ~AliDAnalCorrel(){} // destructor
23 // process one (tru) or two (mix) events
24 void Process(Int_t tmr, AliDEvent *ev0, AliDEvent *ev1, Double_t phirot);
27 Int_t fPid0; // particle species 0
28 Int_t fPid1; // particle species 1
29 Double_t fMass0; // mass 0
30 Double_t fMass1; // mass 1
31 AliDPair fPa; // pair buffer for calculations
33 ClassDef(AliDAnalCorrel,1)
35 //=============================================================================