]>
Commit | Line | Data |
---|---|---|
621688e4 | 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: | |
28eee19b | 22 | enum AnalysisFrame {kPairFrame, kLCMS, kLAB}; |
61e4657c | 23 | AliUnicorAnalCorrel(const char *nam="correl", Double_t emi=-1, Double_t ema=1, |
28eee19b | 24 | Int_t pid0=0, Int_t pid1=0, AnalysisFrame frame=kPairFrame); |
25 | virtual ~AliUnicorAnalCorrel(){} | |
621688e4 | 26 | // process one (tru) or two (mix) events |
c6fc7f72 | 27 | void Process(Int_t tmr, const AliUnicorEvent * const ev0, const AliUnicorEvent * const ev1, Double_t phirot); |
621688e4 | 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 | |
28eee19b | 34 | double fZ0; // charge 0 in units of |e| |
35 | double fZ1; // charge 1 in units of |e| | |
61e4657c | 36 | Int_t fFrame; // analysis frame |
621688e4 | 37 | AliUnicorPair fPa; // pair buffer for calculations |
38 | ||
39 | ClassDef(AliUnicorAnalCorrel,1) | |
40 | }; | |
41 | //============================================================================= | |
42 | #endif |