]>
Commit | Line | Data |
---|---|---|
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 | ||
30 | using namespace std; | |
31 | ClassImp(AliAnaConvCorrPhoton) | |
32 | ||
33 | //________________________________________________________________________ | |
34 | AliAnaConvCorrPhoton::AliAnaConvCorrPhoton() : | |
296f4e9c | 35 | AliAnaConvCorrBase("photon_hadron_corr", "Photon corr"), |
811b0806 | 36 | fSkipDecayParticles(kFALSE), |
37 | fDecayOnly(kFALSE) | |
fc7e3b59 | 38 | { |
39 | //consctructor | |
40 | } | |
41 | //________________________________________________________________________ | |
296f4e9c | 42 | AliAnaConvCorrPhoton::AliAnaConvCorrPhoton(TString name, TString title = "Photon corr") : |
43 | AliAnaConvCorrBase(name, title), | |
811b0806 | 44 | fSkipDecayParticles(kFALSE), |
45 | fDecayOnly(kFALSE) | |
fc7e3b59 | 46 | { |
47 | //consctructor | |
48 | } | |
49 | ||
fc7e3b59 | 50 | //________________________________________________________________________________ |
51 | AliAnaConvCorrPhoton::~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 | // } |