]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/UNICOR/AliDAnalCorrel.h
Added seperate methods to write histograms to a file when not using the task framework
[u/mrichter/AliRoot.git] / PWG2 / UNICOR / AliDAnalCorrel.h
CommitLineData
7148817a 1// Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2005
2
5a6d201c 3//=============================================================================
4// two-particle correlation analyzer
5//=============================================================================
6
7148817a 7#ifndef ALIDANALCORREL_H
8#define ALIDANALCORREL_H
9#include "AliDAnal.h"
10#include "AliDPair.h"
11class TH1D;
12class TH2D;
13class AliDEvent;
14
15//=============================================================================
16class AliDAnalCorrel : public AliDAnal {
17
18 public:
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);
25
26 protected:
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
32
33 ClassDef(AliDAnalCorrel,1)
34};
35//=============================================================================
36#endif