]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/GammaConv/ConvCorrelations/AliAnaConvCorrPion.h
Transition PWG4 --> PWGGA
[u/mrichter/AliRoot.git] / PWGGA / 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
296f4e9c 14class TH2D;\r
15//#include "THnSparse.h"\r
fc7e3b59 16\r
296f4e9c 17//class AliAODConversionPhoton;\r
fc7e3b59 18class TClonesArray;\r
19\r
20class AliAnaConvCorrPion : public AliAnaConvCorrBase {\r
21\r
22public:\r
23\r
24 AliAnaConvCorrPion(); \r
296f4e9c 25 AliAnaConvCorrPion(TString name, TString title);\r
fc7e3b59 26 virtual ~AliAnaConvCorrPion();\r
27\r
296f4e9c 28 TAxis& GetAxisM() { return fAxisM; }\r
29\r
30\r
fc7e3b59 31 //Correlate pions with charged tracks\r
296f4e9c 32 //virtual void CorrelateWithHadrons(AliAODConversionPhoton * pion, const TClonesArray * tracks, const Bool_t isolated, const Int_t nSpawn, const Int_t * const spawn );\r
811b0806 33\r
34 void CreateHistograms();\r
296f4e9c 35\r
36 //void Process(TClonesArray * pions, TClonesArray * photons, TClonesArray * tracks);\r
37 \r
38\r
39 void FillTriggerCounters(const AliAODConversionParticle * particle, Bool_t isolated);\r
fc7e3b59 40 \r
41 private:\r
42\r
296f4e9c 43 void InitMassAxis();\r
fc7e3b59 44 //Get array of track labels of the 4 decay electrons (2gamma * 2 electrons)\r
296f4e9c 45 //void GetTrackLabels(const AliAODConversionPhoton * pion, const TClonesArray * photons, Int_t* trackLabels);\r
46\r
47 //TH2F * fhPtVsInvMass;\r
fc7e3b59 48\r
296f4e9c 49 TH2D * hTriggerPtvsMass; //Histograms containing number of triggers in various bins\r
50 TAxis fAxisM; //Mass axis\r
811b0806 51\r
fc7e3b59 52 AliAnaConvCorrPion(const AliAnaConvCorrPion&); // not implemented\r
53 AliAnaConvCorrPion& operator=(const AliAnaConvCorrPion&); // not implemented\r
296f4e9c 54 ClassDef(AliAnaConvCorrPion, 2); //\r
fc7e3b59 55\r
56};\r
57\r
58#endif\r