1 /**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * ALICE Experiment at CERN, All rights reserved. *
5 * Primary Author: Svein Lindal <slindal@fys.uio.no> *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 /// @file AliAnaConvCorrPhoton.cxx
17 /// @author Svein Lindal
18 /// @brief Class used to fill calculate correlation between photons - tracks
20 #include "AliAnaConvCorrPhoton.h"
21 #include "AliAODTrack.h"
22 #include "TClonesArray.h"
23 #include "AliAODConversionPhoton.h"
26 // Gamma - jet correlation analysis task
27 // Authors: Svein Lindal
31 ClassImp(AliAnaConvCorrPhoton)
33 //________________________________________________________________________
34 AliAnaConvCorrPhoton::AliAnaConvCorrPhoton() :
35 AliAnaConvCorrBase("photon_hadron_corr", "Photon corr"),
36 fSkipDecayParticles(kFALSE),
41 //________________________________________________________________________
42 AliAnaConvCorrPhoton::AliAnaConvCorrPhoton(TString name, TString title = "Photon corr") :
43 AliAnaConvCorrBase(name, title),
44 fSkipDecayParticles(kFALSE),
50 //________________________________________________________________________________
51 AliAnaConvCorrPhoton::~AliAnaConvCorrPhoton() {
55 // //________________________________________________________________________________
56 // void AliAnaConvCorrPhoton::Process(const TClonesArray * photons, const TClonesArray * tracks, Bool_t isolated = kFALSE) {
57 // //Process list of photons and correlate w tracks
58 // for(Int_t ig = 0; ig < photons->GetEntriesFast(); ig++) {
60 // AliAODConversionParticle * photon = static_cast<AliAODConversionParticle*>(photons->UncheckedAt(ig));
62 // Int_t tIDs[4] = {-1, -1, -1, -1};
63 // tIDs[0] = photon->GetLabel(0);
64 // tIDs[1] = photon->GetLabel(1);
65 // CorrelateWithTracks(photon, tracks, tIDs, isolated);