]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/GammaConv/ConvCorrelations/AliAnaConvCorrPion.h
Updating conv correlation software
[u/mrichter/AliRoot.git] / PWG4 / GammaConv / ConvCorrelations / AliAnaConvCorrPion.h
CommitLineData
fc7e3b59 1/* This file is property of and copyright *\r
2 * ALICE Experiment at CERN, All rights reserved. *\r
3 * See cxx source for full Copyright notice */\r
4\r
5/// @file AliAnaConvCorrPion.h\r
6/// @author Svein Lindal\r
7/// @brief Class used to find correlations between pions and charged tracks\r
8\r
9\r
10#ifndef ALIANACONVCORRPION_CXX\r
11#define ALIANACONVCORRPION_CXX\r
12\r
13#include "AliAnaConvCorrBase.h"\r
811b0806 14#include "THnSparse.h"\r
fc7e3b59 15\r
16class AliAODConversionParticle;\r
17class TClonesArray;\r
18\r
19class AliAnaConvCorrPion : public AliAnaConvCorrBase {\r
20\r
21public:\r
22\r
23 AliAnaConvCorrPion(); \r
24 AliAnaConvCorrPion(TString name);\r
25 virtual ~AliAnaConvCorrPion();\r
26\r
27 //Correlate pions with charged tracks\r
28 virtual void CorrelateWithHadrons(AliAODConversionParticle * pion, const TClonesArray * tracks, const Bool_t isolated, const Int_t nSpawn, const Int_t * const spawn );\r
811b0806 29\r
30 void CreateHistograms();\r
fc7e3b59 31 \r
32 private:\r
33\r
34 //Get array of track labels of the 4 decay electrons (2gamma * 2 electrons)\r
35 void GetTrackLabels(const AliAODConversionParticle * pion, const TClonesArray * photons, Int_t* trackLabels);\r
36\r
811b0806 37 THnSparseF * fhdPhiVsInvMassPi0; //!\r
38 THnSparseF * fhdPhiVsInvMassEta; //!\r
39 TH2F * fhPtVsInvMass;\r
40\r
fc7e3b59 41 AliAnaConvCorrPion(const AliAnaConvCorrPion&); // not implemented\r
42 AliAnaConvCorrPion& operator=(const AliAnaConvCorrPion&); // not implemented\r
43 ClassDef(AliAnaConvCorrPion, 1); // example of analysis\r
44\r
45};\r
46\r
47#endif\r