1 #ifndef ALIUNICORANALCORREL_H
2 #define ALIUNICORANALCORREL_H
4 /* Copyright(c) 1998-2048, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2005
10 //=============================================================================
11 // two-particle correlation analyzer
12 //=============================================================================
14 #include "AliUnicorAnal.h"
15 #include "AliUnicorPair.h"
18 //=============================================================================
19 class AliUnicorAnalCorrel : public AliUnicorAnal {
22 enum AnalysisFrame {kPairFrame, kLCMS, kLAB};
23 AliUnicorAnalCorrel(const char *nam="correl", Double_t emi=-1, Double_t ema=1,
24 Int_t pid0=0, Int_t pid1=0, AnalysisFrame frame=kPairFrame);
25 virtual ~AliUnicorAnalCorrel(){}
26 // process one (tru) or two (mix) events
27 void Process(Int_t tmr, const AliUnicorEvent * const ev0, const AliUnicorEvent * const ev1, Double_t phirot);
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 double fZ0; // charge 0 in units of |e|
35 double fZ1; // charge 1 in units of |e|
36 Int_t fFrame; // analysis frame
37 AliUnicorPair fPa; // pair buffer for calculations
39 ClassDef(AliUnicorAnalCorrel,1)
41 //=============================================================================