]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGDQ/dielectron/AliDielectronHelper.h
Corrected EINCLUDE, compilation with Root6
[u/mrichter/AliRoot.git] / PWGDQ / dielectron / AliDielectronHelper.h
CommitLineData
ffbede40 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
1201a1a9 19class AliKFParticle;
20class AliVEvent;
ba15fdfb 21class AliMCEvent;
1201a1a9 22
ffbede40 23namespace AliDielectronHelper
24{
25
ffbede40 26TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
27TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
28TVectorD* MakeArbitraryBinning(const char* bins);
29
ba15fdfb 30Int_t GetNch(const AliMCEvent *ev=0x0, Double_t eta=0.9);
31Int_t GetNacc(const AliVEvent *ev=0x0);
41a64bfb 32Double_t GetITSTPCMatchEff(const AliVEvent *ev=0x0);
5720c765 33Int_t GetNaccTrcklts(const AliVEvent *ev=0x0, Double_t etaRange=1.6);
34Double_t GetNaccTrckltsCorrected(const AliVEvent *event, Double_t uncorrectedNacc, Double_t vtxZ, Int_t type);
ba15fdfb 35
1201a1a9 36void RotateKFParticle(AliKFParticle * kfParticle,Double_t angle, const AliVEvent * const ev=0x0);
5720c765 37Int_t GetNMothers(const AliMCEvent *ev=0x0, Double_t etaRange=0.9, Int_t pdgMother=-999, Int_t pdgDaughter=-999, Int_t prim=-1);
ffbede40 38
39
40}
41
42#endif