![]() |
AliPhysics
a60a912 (a60a912)
|
#include <AliCopyHeaderTask.h>
Public Member Functions | |
AliCopyHeaderTask (const char *name="header") | |
AliCopyHeaderTask (const AliCopyHeaderTask &other) | |
virtual | ~AliCopyHeaderTask () |
AliCopyHeaderTask & | operator= (const AliCopyHeaderTask &other) |
virtual void | SetCopyOptions (const TString &what) |
virtual void | SetCalculateRefMult (Bool_t calc=true) |
virtual void | SetCopyCentrality (Bool_t copy=true) |
virtual void | SetCopyTracklets (Bool_t copy=true) |
virtual void | SetCopyV0 (Bool_t copy) |
virtual void | SetCopyAD (Bool_t copy) |
virtual void | SetCopyZDC (Bool_t copy) |
virtual Bool_t | Connect () |
Implementation of interface methods | |
virtual void | UserCreateOutputObjects () |
virtual void | Init () |
virtual void | LocalInit () |
virtual void | UserExec (Option_t *option) |
virtual void | Terminate (Option_t *option) |
Protected Member Functions | |
void | CopyVertex (AliAODEvent &aod, const AliESDVertex *vtx, Int_t type) |
Protected Attributes | |
Bool_t | fCalculateRefMult |
Bool_t | fCopyCentrality |
Bool_t | fCopyTracklets |
Bool_t | fCopyV0 |
Bool_t | fCopyAD |
Bool_t | fCopyZDC |
AliMultSelection * | fMultSelection |
Task to copy header from ESD to AOD
Definition at line 22 of file AliCopyHeaderTask.h.
|
inline |
AliCopyHeaderTask::AliCopyHeaderTask | ( | const AliCopyHeaderTask & | other | ) |
Copy constructor
other | Object to copy from |
Definition at line 53 of file AliCopyHeaderTask.cxx.
|
inlinevirtual |
Destructor
Definition at line 51 of file AliCopyHeaderTask.h.
|
virtual |
Connect this task to the train.
Definition at line 375 of file AliCopyHeaderTask.cxx.
Referenced by AddTaskCopyHeader(), and SetCopyZDC().
|
protected |
Copy an ESD primary vertex to the AOD
aod | Where to copy to |
vtx | Vertex (if any) to copy to |
type | Type of vertex |
Definition at line 336 of file AliCopyHeaderTask.cxx.
Referenced by SetCopyZDC(), and UserExec().
|
inlinevirtual |
Called at the beginning of the master job
Definition at line 74 of file AliCopyHeaderTask.h.
Referenced by LocalInit().
|
inlinevirtual |
Called at start of each (Grid/Proof) sub-job
Definition at line 78 of file AliCopyHeaderTask.h.
AliCopyHeaderTask & AliCopyHeaderTask::operator= | ( | const AliCopyHeaderTask & | other | ) |
Assignmen operator
other | Object to assing from |
Definition at line 33 of file AliCopyHeaderTask.cxx.
Referenced by ~AliCopyHeaderTask().
|
inlinevirtual |
Set whether to calculate the reference multiplicity. This is optional because the calculation could be processor/memory heavy.
calc | If true, calculate the reference multiplicity (number of tracks and tracklets) in \(|\eta|<0.5\) and \(|\eta|<0.8\). |
Definition at line 101 of file AliCopyHeaderTask.h.
Referenced by SetCopyOptions().
|
inlinevirtual |
Whether to copy AD data to output
copy | If true, copy AD data to output |
Definition at line 126 of file AliCopyHeaderTask.h.
Referenced by SetCopyOptions().
|
inlinevirtual |
Set whether to copy centrality information (from AliMultSelectionTask) to the output.
copy | If true, copy centrality object to separate branch on AOD |
Definition at line 108 of file AliCopyHeaderTask.h.
Referenced by SetCopyOptions().
|
virtual |
Definition at line 69 of file AliCopyHeaderTask.cxx.
Referenced by AddTaskCopyHeader(), and LocalInit().
|
inlinevirtual |
Set whether to copy tracklet information to the output.
copy | If true, copy tracklets to the AOD |
Definition at line 114 of file AliCopyHeaderTask.h.
Referenced by SetCopyOptions().
|
inlinevirtual |
Whether to copy V0 data to output
copy | If true, copy V0 data to output |
Definition at line 120 of file AliCopyHeaderTask.h.
Referenced by SetCopyOptions().
|
inlinevirtual |
Whether to copy ZDC data to output
copy | If true, copy ZDC data to output |
Definition at line 132 of file AliCopyHeaderTask.h.
Referenced by SetCopyOptions().
|
virtual |
Called at the end of processing on the merged output.
option | Not used |
Definition at line 368 of file AliCopyHeaderTask.cxx.
Referenced by LocalInit().
|
virtual |
Create output objects. Called at the beginning of each (Grid/Proof) sub-job.
Definition at line 99 of file AliCopyHeaderTask.cxx.
Referenced by ~AliCopyHeaderTask().
|
virtual |
Called on each event.
option | Not used |
Definition at line 116 of file AliCopyHeaderTask.cxx.
Referenced by LocalInit().
|
protected |
Definition at line 149 of file AliCopyHeaderTask.h.
Referenced by operator=(), SetCalculateRefMult(), and UserExec().
|
protected |
Definition at line 153 of file AliCopyHeaderTask.h.
Referenced by operator=(), SetCopyAD(), and UserExec().
|
protected |
Definition at line 150 of file AliCopyHeaderTask.h.
Referenced by operator=(), SetCopyCentrality(), and UserCreateOutputObjects().
|
protected |
Definition at line 151 of file AliCopyHeaderTask.h.
Referenced by operator=(), SetCopyTracklets(), and UserExec().
|
protected |
Definition at line 152 of file AliCopyHeaderTask.h.
Referenced by operator=(), SetCopyV0(), and UserExec().
|
protected |
Definition at line 154 of file AliCopyHeaderTask.h.
Referenced by operator=(), SetCopyZDC(), and UserExec().
|
protected |
Definition at line 155 of file AliCopyHeaderTask.h.
Referenced by AliCopyHeaderTask(), operator=(), UserCreateOutputObjects(), and UserExec().