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 **************************************************************************/
20 #include "AliAnalysisManager.h"
21 #include "TenderSupplies/AliEMCALTenderSupply.h"
22 #include "AliEmcalTenderTask.h"
24 ClassImp(AliEmcalTenderTask)
26 //______________________________________________________________________________
27 AliEmcalTenderTask::AliEmcalTenderTask():
31 // Default constructor.
34 //______________________________________________________________________________
35 AliEmcalTenderTask::AliEmcalTenderTask(const char* name):
36 AliAnalysisTaskSE(name),
42 //______________________________________________________________________________
43 AliEmcalTenderTask::~AliEmcalTenderTask()
48 fEMCALTender->Delete();
51 //______________________________________________________________________________
52 void AliEmcalTenderTask::SetEMCALTenderSupply(AliEMCALTenderSupply *supply)
56 fEMCALTender = supply;
57 supply->SetTask(this);
60 //______________________________________________________________________________
61 void AliEmcalTenderTask::ConnectInputData(Option_t *option)
63 // Connect input data.
65 AliAnalysisTaskSE::ConnectInputData(option);
69 //______________________________________________________________________________
70 void AliEmcalTenderTask::UserCreateOutputObjects()
72 // Nothing to be done.
75 //______________________________________________________________________________
76 void AliEmcalTenderTask::UserExec(Option_t*)
80 fEMCALTender->ProcessEvent();