]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/analysis2/AliCopyHeaderTask.h
Maker scripts now use TrainSetup exclusively.
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliCopyHeaderTask.h
CommitLineData
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 */
20class AliCopyHeaderTask : public AliAnalysisTaskSE
21{
22public:
290052e7 23 /**
24 * Constructor
25 *
26 * @param name Name
27 */
9416c923 28 AliCopyHeaderTask(const char* name="header")
29 : AliAnalysisTaskSE(name)
30 {}
290052e7 31 /**
32 * Copy constructor
33 *
34 * @param other Object to copy from
35 */
9416c923 36 AliCopyHeaderTask(const AliCopyHeaderTask& other)
37 : AliAnalysisTaskSE(other)
38 {}
290052e7 39 /**
40 * Destructor
41 */
9416c923 42 virtual ~AliCopyHeaderTask() {}
290052e7 43 /**
44 * Assignmen operator
45 *
46 * @param other Object to assing from
47 *
48 * @return Reference to this object
49 */
9416c923 50 AliCopyHeaderTask& operator=(const AliCopyHeaderTask& other)
51 {
52 AliAnalysisTaskSE::operator=(other);
53 return *this;
54 }
55 /**
56 * @{
57 * @name Implementation of interface methods
58 */
59 virtual void UserCreateOutputObjects() {}
60 virtual void Init() {}
61 virtual void LocalInit() {Init();}
62 virtual void UserExec(Option_t *option);
63 virtual void Terminate(Option_t *option);
64 /* @} */
65
290052e7 66 ClassDef(AliCopyHeaderTask,1); // Task to copy header from ESD to AOD
9416c923 67};
68
69#endif
70/*
71 * Local Variables:
72 * mode: C++
73 * End:
74 */