]>
Commit | Line | Data |
---|---|---|
9416c923 | 1 | #ifndef ALICOPYHEADERTASK_H |
2 | #define ALICOPYHEADERTASK_H | |
3 | /** | |
4 | * @file AliCopyHeaderTask.h | |
5 | * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk> | |
6 | * @date Tue Jul 12 10:56:38 2011 | |
7 | * | |
8 | * @brief A task to copy the ESD header to AOD | |
9 | * | |
bd6f5206 | 10 | * @ingroup pwglf_forward_tasks |
9416c923 | 11 | */ |
12 | #include <AliAnalysisTaskSE.h> | |
13 | ||
14 | /** | |
15 | * Task to copy header from ESD to AOD | |
16 | * | |
bd6f5206 | 17 | * @ingroup pwglf_forward_scripts_tasks |
18 | * @ingroup pwglf_forward_aod | |
9416c923 | 19 | */ |
20 | class AliCopyHeaderTask : public AliAnalysisTaskSE | |
21 | { | |
22 | public: | |
23 | AliCopyHeaderTask(const char* name="header") | |
24 | : AliAnalysisTaskSE(name) | |
25 | {} | |
26 | AliCopyHeaderTask(const AliCopyHeaderTask& other) | |
27 | : AliAnalysisTaskSE(other) | |
28 | {} | |
29 | virtual ~AliCopyHeaderTask() {} | |
30 | AliCopyHeaderTask& operator=(const AliCopyHeaderTask& other) | |
31 | { | |
32 | AliAnalysisTaskSE::operator=(other); | |
33 | return *this; | |
34 | } | |
35 | /** | |
36 | * @{ | |
37 | * @name Implementation of interface methods | |
38 | */ | |
39 | virtual void UserCreateOutputObjects() {} | |
40 | virtual void Init() {} | |
41 | virtual void LocalInit() {Init();} | |
42 | virtual void UserExec(Option_t *option); | |
43 | virtual void Terminate(Option_t *option); | |
44 | /* @} */ | |
45 | ||
46 | ClassDef(AliCopyHeaderTask,1); | |
47 | }; | |
48 | ||
49 | #endif | |
50 | /* | |
51 | * Local Variables: | |
52 | * mode: C++ | |
53 | * End: | |
54 | */ |