major dielectron update (included also the data and plotting macros for paper)
[u/mrichter/AliRoot.git] / PWG3 / dielectron / AliDielectronHelper.h
1 #ifndef ALIDIELECTRONHELPER_H
2 #define ALIDIELECTRONHELPER_H
3 /* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 ///////////////////////////////////////////////////////////////////////////////////////////
7 //                                                                                       //
8 // Dielectron helpers                                                                    //
9 //                                                                                       //
10 //                                                                                       //
11 // Authors:                                                                              //
12 //   Jens Wiechula <Jens.Wiechula@cern.ch>                                               //
13 //                                                                                       //
14 ///////////////////////////////////////////////////////////////////////////////////////////
15
16
17 #include <TVectorDfwd.h>
18
19 class AliKFParticle;
20 class AliVEvent;
21 class AliMCEvent;
22
23 namespace AliDielectronHelper
24 {
25
26
27
28 TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
29 TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
30 TVectorD* MakeArbitraryBinning(const char* bins);
31
32 Int_t GetNch(const AliMCEvent *ev=0x0, Double_t eta=0.9);
33 Int_t GetNacc(const AliVEvent *ev=0x0);
34 Int_t GetNaccTrcklts(const AliVEvent *ev=0x0);
35
36 void RotateKFParticle(AliKFParticle * kfParticle,Double_t angle, const AliVEvent * const ev=0x0);
37
38
39 }
40
41 #endif