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 */
6 ///////////////////////////////////////////////////////////////////////////////////////////
8 // Dielectron helpers //
12 // Jens Wiechula <Jens.Wiechula@cern.ch> //
14 ///////////////////////////////////////////////////////////////////////////////////////////
17 #include <TVectorDfwd.h>
23 namespace AliDielectronHelper
26 TVectorD* MakeLogBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
27 TVectorD* MakeLinBinning(Int_t nbinsX, Double_t xmin, Double_t xmax);
28 TVectorD* MakeArbitraryBinning(const char* bins);
30 Int_t GetNch(const AliMCEvent *ev=0x0, Double_t eta=0.9);
31 Int_t GetNacc(const AliVEvent *ev=0x0);
32 Double_t GetITSTPCMatchEff(const AliVEvent *ev=0x0);
33 Int_t GetNaccTrcklts(const AliVEvent *ev=0x0, Double_t etaRange=1.6);
34 Double_t GetNaccTrckltsCorrected(const AliVEvent *event, Double_t uncorrectedNacc, Double_t vtxZ, Int_t type);
36 void RotateKFParticle(AliKFParticle * kfParticle,Double_t angle, const AliVEvent * const ev=0x0);
37 Int_t GetNMothers(const AliMCEvent *ev=0x0, Double_t etaRange=0.9, Int_t pdgMother=-999, Int_t pdgDaughter=-999, Int_t prim=-1);