ROOT logo
/**************************************************************************
 * This file is property of and copyright by the ALICE HLT Project        *
 * ALICE Experiment at CERN, All rights reserved.                         *
 *                                                                        *
 * Primary Author: Svein Lindal <slindal@fys.uio.no>                      *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/

/// @file   AliAnaConvCorrPhoton.cxx
/// @author Svein Lindal
/// @brief  Class used to fill calculate correlation between photons - tracks
 
#include "AliAnaConvCorrPhoton.h"
#include "AliAODTrack.h"
#include "TClonesArray.h"
#include "AliAODConversionPhoton.h"

#include <iostream>
// Gamma - jet correlation analysis task
// Authors: Svein Lindal


using namespace std;
ClassImp(AliAnaConvCorrPhoton)

//________________________________________________________________________
AliAnaConvCorrPhoton::AliAnaConvCorrPhoton() :
AliAnaConvCorrBase("photon_hadron_corr", "Photon corr"), 
  fSkipDecayParticles(kFALSE),
  fDecayOnly(kFALSE)
{
  //consctructor
}
//________________________________________________________________________
AliAnaConvCorrPhoton::AliAnaConvCorrPhoton(TString name, TString title = "Photon corr") :
AliAnaConvCorrBase(name, title),
fSkipDecayParticles(kFALSE),
fDecayOnly(kFALSE)
{
  //consctructor
}

//________________________________________________________________________________
AliAnaConvCorrPhoton::~AliAnaConvCorrPhoton() {
  //destructor
}

// //________________________________________________________________________________
// void AliAnaConvCorrPhoton::Process(const TClonesArray * photons, const TClonesArray * tracks, Bool_t isolated = kFALSE) {
//   //Process list of photons and correlate w tracks
//   for(Int_t ig = 0; ig < photons->GetEntriesFast(); ig++) {

// 	AliAODConversionParticle * photon = static_cast<AliAODConversionParticle*>(photons->UncheckedAt(ig));

// 	Int_t tIDs[4] = {-1, -1, -1, -1};
// 	tIDs[0] =  photon->GetLabel(0);
// 	tIDs[1] =  photon->GetLabel(1);
// 	CorrelateWithTracks(photon, tracks, tIDs, isolated);
		
//   }
// }
 AliAnaConvCorrPhoton.cxx:1
 AliAnaConvCorrPhoton.cxx:2
 AliAnaConvCorrPhoton.cxx:3
 AliAnaConvCorrPhoton.cxx:4
 AliAnaConvCorrPhoton.cxx:5
 AliAnaConvCorrPhoton.cxx:6
 AliAnaConvCorrPhoton.cxx:7
 AliAnaConvCorrPhoton.cxx:8
 AliAnaConvCorrPhoton.cxx:9
 AliAnaConvCorrPhoton.cxx:10
 AliAnaConvCorrPhoton.cxx:11
 AliAnaConvCorrPhoton.cxx:12
 AliAnaConvCorrPhoton.cxx:13
 AliAnaConvCorrPhoton.cxx:14
 AliAnaConvCorrPhoton.cxx:15
 AliAnaConvCorrPhoton.cxx:16
 AliAnaConvCorrPhoton.cxx:17
 AliAnaConvCorrPhoton.cxx:18
 AliAnaConvCorrPhoton.cxx:19
 AliAnaConvCorrPhoton.cxx:20
 AliAnaConvCorrPhoton.cxx:21
 AliAnaConvCorrPhoton.cxx:22
 AliAnaConvCorrPhoton.cxx:23
 AliAnaConvCorrPhoton.cxx:24
 AliAnaConvCorrPhoton.cxx:25
 AliAnaConvCorrPhoton.cxx:26
 AliAnaConvCorrPhoton.cxx:27
 AliAnaConvCorrPhoton.cxx:28
 AliAnaConvCorrPhoton.cxx:29
 AliAnaConvCorrPhoton.cxx:30
 AliAnaConvCorrPhoton.cxx:31
 AliAnaConvCorrPhoton.cxx:32
 AliAnaConvCorrPhoton.cxx:33
 AliAnaConvCorrPhoton.cxx:34
 AliAnaConvCorrPhoton.cxx:35
 AliAnaConvCorrPhoton.cxx:36
 AliAnaConvCorrPhoton.cxx:37
 AliAnaConvCorrPhoton.cxx:38
 AliAnaConvCorrPhoton.cxx:39
 AliAnaConvCorrPhoton.cxx:40
 AliAnaConvCorrPhoton.cxx:41
 AliAnaConvCorrPhoton.cxx:42
 AliAnaConvCorrPhoton.cxx:43
 AliAnaConvCorrPhoton.cxx:44
 AliAnaConvCorrPhoton.cxx:45
 AliAnaConvCorrPhoton.cxx:46
 AliAnaConvCorrPhoton.cxx:47
 AliAnaConvCorrPhoton.cxx:48
 AliAnaConvCorrPhoton.cxx:49
 AliAnaConvCorrPhoton.cxx:50
 AliAnaConvCorrPhoton.cxx:51
 AliAnaConvCorrPhoton.cxx:52
 AliAnaConvCorrPhoton.cxx:53
 AliAnaConvCorrPhoton.cxx:54
 AliAnaConvCorrPhoton.cxx:55
 AliAnaConvCorrPhoton.cxx:56
 AliAnaConvCorrPhoton.cxx:57
 AliAnaConvCorrPhoton.cxx:58
 AliAnaConvCorrPhoton.cxx:59
 AliAnaConvCorrPhoton.cxx:60
 AliAnaConvCorrPhoton.cxx:61
 AliAnaConvCorrPhoton.cxx:62
 AliAnaConvCorrPhoton.cxx:63
 AliAnaConvCorrPhoton.cxx:64
 AliAnaConvCorrPhoton.cxx:65
 AliAnaConvCorrPhoton.cxx:66
 AliAnaConvCorrPhoton.cxx:67
 AliAnaConvCorrPhoton.cxx:68