]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/GammaConv/AliAnaConvCorrPhoton.cxx
Set magnetic field for each event if not set. Fixes bug due to changes requiring...
[u/mrichter/AliRoot.git] / PWGGA / GammaConv / AliAnaConvCorrPhoton.cxx
CommitLineData
fc7e3b59 1/**************************************************************************
2 * This file is property of and copyright by the ALICE HLT Project *
3 * ALICE Experiment at CERN, All rights reserved. *
4 * *
5 * Primary Author: Svein Lindal <slindal@fys.uio.no> *
6 * *
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 **************************************************************************/
15
16/// @file AliAnaConvCorrPhoton.cxx
17/// @author Svein Lindal
18/// @brief Class used to fill calculate correlation between photons - tracks
19
20#include "AliAnaConvCorrPhoton.h"
21#include "AliAODTrack.h"
22#include "TClonesArray.h"
2eedd4ed 23#include "AliAODConversionPhoton.h"
fc7e3b59 24
25#include <iostream>
26// Gamma - jet correlation analysis task
27// Authors: Svein Lindal
28
29
30using namespace std;
31ClassImp(AliAnaConvCorrPhoton)
32
33//________________________________________________________________________
34AliAnaConvCorrPhoton::AliAnaConvCorrPhoton() :
296f4e9c 35AliAnaConvCorrBase("photon_hadron_corr", "Photon corr"),
811b0806 36 fSkipDecayParticles(kFALSE),
37 fDecayOnly(kFALSE)
fc7e3b59 38{
39 //consctructor
40}
41//________________________________________________________________________
296f4e9c 42AliAnaConvCorrPhoton::AliAnaConvCorrPhoton(TString name, TString title = "Photon corr") :
43AliAnaConvCorrBase(name, title),
811b0806 44fSkipDecayParticles(kFALSE),
45fDecayOnly(kFALSE)
fc7e3b59 46{
47 //consctructor
48}
49
fc7e3b59 50//________________________________________________________________________________
51AliAnaConvCorrPhoton::~AliAnaConvCorrPhoton() {
52 //destructor
53}
54
92efd725 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++) {
59
60// AliAODConversionParticle * photon = static_cast<AliAODConversionParticle*>(photons->UncheckedAt(ig));
61
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);
66
67// }
68// }