]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/totEt/AliAnalysisTaskTransverseEnergy.cxx
add default options for kepler gpu family
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisTaskTransverseEnergy.cxx
CommitLineData
e97ddc0e 1#include "AliAnalysisTaskTransverseEnergy.h"
e97ddc0e 2#include "AliAnalysisManager.h"
3#include "AliInputEventHandler.h"
4#include "AliPhysicsSelectionTask.h"
5#include "AliPhysicsSelection.h"
b6dd6ad2 6#include "AliCentrality.h"
e97ddc0e 7#include "AliESDEvent.h"
2c0680a5 8
a7ae9b24 9//_________________________________________________________________________
10// Utility Class for transverse energy studies
11// Base class for Et tasks
12// - reconstruction and MonteCarlo output
13//
14//*-- Authors: Oystein Djuvsland (Bergen)
15//_________________________________________________________________________//
16#include "AliESDtrackCuts.h"
e97ddc0e 17#include "AliLog.h"
ea331c5d 18#include "TH2F.h"
e97ddc0e 19#include <iostream>
20
2c0680a5 21
e97ddc0e 22ClassImp(AliAnalysisTaskTransverseEnergy)
23
24AliAnalysisTaskTransverseEnergy::AliAnalysisTaskTransverseEnergy(const char* name, Bool_t isMc) :
25 AliAnalysisTaskSE(name)
26 ,fESDEvent(0)
27 ,fMCConfigFile("ConfigEtMonteCarlo.C")
28 ,fRecoConfigFile("ConfigEtReconstructed.C")
29 ,fHistEtRecvsEtMC(0)
a403aff5 30 ,fHistEtRecOverEtMC(0)
476828ae 31 ,fHistDiffEtRecEtMCOverEtMC(0)
e97ddc0e 32 ,fEsdtrackCutsITSTPC(0)
33 ,fEsdtrackCutsTPC(0)
34 ,fEsdtrackCutsITS(0)
35 ,fOutputList(0)
ef647350 36 ,fPhysSelTaskName("physSelTask")
e97ddc0e 37 ,fCentSelTaskName("centralityTask")
38 ,fIsMc(isMc)
a7ae9b24 39 ,fCurrentRunNum(-1)
e97ddc0e 40{
41 // Constructor
e97ddc0e 42}
43
44AliAnalysisTaskTransverseEnergy::~AliAnalysisTaskTransverseEnergy()
ea331c5d 45{ // destructor
46 delete fHistEtRecvsEtMC;
a403aff5 47 delete fHistEtRecOverEtMC;
ea331c5d 48 delete fEsdtrackCutsITSTPC;
49 delete fEsdtrackCutsTPC;
50 delete fEsdtrackCutsITS;
51 delete fOutputList;
e97ddc0e 52}
53
e97ddc0e 54
b6dd6ad2 55AliCentrality* AliAnalysisTaskTransverseEnergy::GetCentralityObject()
e97ddc0e 56{
57 // See header file for class documentation
58 if (fESDEvent)return fESDEvent->GetCentrality();
59 else return 0;
60}
61
62