1 // $Id: AliAnalysisTaskHLTEMCAL.cxx 40285 2010-04-09 14:04:51Z kkanaki $
3 //**************************************************************************
4 //* This file is property of and copyright by the ALICE HLT Project *
5 //* ALICE Experiment at CERN, All rights reserved. *
7 //* Primary Authors: Zhongbao Yin <zbyin@mail.ccnu.edu.cn>, *
8 //* Kalliopi Kanaki <Kalliopi.Kanaki@ift.uib.no> *
9 //* Svein Lindal <svein.lindal@gmail.com> *
10 //* for The ALICE HLT Project. *
12 //* Permission to use, copy, modify and distribute this software and its *
13 //* documentation strictly for non-commercial purposes is hereby granted *
14 //* without fee, provided that the above copyright notice appears in all *
15 //* copies and that both the copyright notice and this permission notice *
16 //* appear in the supporting documentation. The authors make no claims *
17 //* about the suitability of this software for any purpose. It is *
18 //* provided "as is" without express or implied warranty. *
19 //**************************************************************************
21 /** @file AliAnalysisTaskHLTEMCAL.cxx
22 @author Zhongbao Yin, Kalliopi Kanaki, Svein Lindal
36 #include "TObjArray.h"
39 #include "AliESDEvent.h"
40 #include "AliESDRun.h"
41 #include "AliESDInputHandler.h"
42 #include "AliESDCaloCluster.h"
44 #include "AliAnalysisTask.h"
45 #include "AliAnalysisManager.h"
46 #include "AliAnalysisTaskHLTEMCAL.h"
49 ClassImp(AliAnalysisTaskHLTEMCAL)
52 //===========================================================================================
54 AliAnalysisTaskHLTEMCAL::AliAnalysisTaskHLTEMCAL() : AliAnalysisTaskHLTCalo()
58 AliAnalysisTaskHLTEMCAL::AliAnalysisTaskHLTEMCAL(const char *name) : AliAnalysisTaskHLTCalo(name)
63 void AliAnalysisTaskHLTEMCAL::CreateSpecificStuff(const TList * fOutputList){
64 //Create stuff specific to EMCAL class.
68 fOutputList = new TList();
73 void AliAnalysisTaskHLTEMCAL::DoSpecificStuff(const AliESDEvent * evESD, const AliESDEvent * evHLTESD) const {
74 //Do EMCAL specific tests
81 Int_t AliAnalysisTaskHLTEMCAL::GetClusters(AliESDEvent * event, TRefArray * clusters) {
82 return event->GetEMCALClusters(clusters);
85 Bool_t AliAnalysisTaskHLTEMCAL::IsThisDetector(AliESDCaloCluster * cluster) {
86 return cluster->IsEMCAL();