1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 /* $Id: AliEmcalTenderTask.cxx 48689 2011-03-23 21:35:50Z agheata $ */
21 #include "TenderSupplies/AliEMCALTenderSupply.h"
22 #include "AliAnalysisManager.h"
24 #include "AliEmcalTenderTask.h"
26 ClassImp(AliEmcalTenderTask)
28 //______________________________________________________________________________
29 AliEmcalTenderTask::AliEmcalTenderTask():
36 //______________________________________________________________________________
37 AliEmcalTenderTask::AliEmcalTenderTask(const char* name):
38 AliAnalysisTaskSE(name),
41 // Default constructor
42 //DefineOutput(1, AliESDEvent::Class());
45 //______________________________________________________________________________
46 AliEmcalTenderTask::~AliEmcalTenderTask()
50 fEMCALTender->Delete();
53 //______________________________________________________________________________
54 void AliEmcalTenderTask::SetEMCALTenderSupply(AliEMCALTenderSupply *supply)
56 fEMCALTender = supply;
57 supply->SetTask(this);
60 //______________________________________________________________________________
61 void AliEmcalTenderTask::ConnectInputData(Option_t *option)
63 AliAnalysisTaskSE::ConnectInputData(option);
67 //______________________________________________________________________________
68 void AliEmcalTenderTask::UserCreateOutputObjects()
70 // Nothing for the moment, but we may need ESD/AOD event replication here.
74 //______________________________________________________________________________
75 void AliEmcalTenderTask::UserExec(Option_t* option)
77 fEMCALTender->ProcessEvent();