AliPhysics  b81c3d2 (b81c3d2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliSimpleHeaderTask Class Reference
Inheritance diagram for AliSimpleHeaderTask:

Public Member Functions

 AliSimpleHeaderTask ()
 
 AliSimpleHeaderTask (const char *name)
 
 AliSimpleHeaderTask (const AliSimpleHeaderTask &o)
 
AliSimpleHeaderTaskoperator= (const AliSimpleHeaderTask &o)
 
Bool_t Connect ()
 
void UserCreateOutputObjects ()
 
Bool_t GetRecIP (AliVEvent *event)
 
Bool_t GetSim (AliMCEvent *event)
 
Bool_t GetCent (AliVEvent *event)
 
Bool_t GetCentOld (AliVEvent *event)
 
void UserExec (Option_t *)
 
void Print (Option_t *option="") const
 
 ClassDef (AliSimpleHeaderTask, 1)
 

Static Public Member Functions

static AliSimpleHeaderTaskCreate ()
 

Public Attributes

AliAODSimpleHeaderfHeader
 

Detailed Description

A task to make a simple header in AOD

Definition at line 40 of file AliSimpleHeaderTask.C.

Constructor & Destructor Documentation

AliSimpleHeaderTask::AliSimpleHeaderTask ( )

Default constructor - for ROOT I/O only

Definition at line 136 of file AliSimpleHeaderTask.C.

Referenced by Create().

AliSimpleHeaderTask::AliSimpleHeaderTask ( const char *  name)

Named (user) constructor

Parameters
nameName of the task

Definition at line 141 of file AliSimpleHeaderTask.C.

AliSimpleHeaderTask::AliSimpleHeaderTask ( const AliSimpleHeaderTask o)

Copy constructor

Parameters
oObject to copy from

Definition at line 146 of file AliSimpleHeaderTask.C.

Member Function Documentation

AliSimpleHeaderTask::ClassDef ( AliSimpleHeaderTask  ,
 
)
Bool_t AliSimpleHeaderTask::Connect ( )

Connect the task to the manager

Returns
true on success

Definition at line 157 of file AliSimpleHeaderTask.C.

Referenced by Create().

AliSimpleHeaderTask * AliSimpleHeaderTask::Create ( )
static

Create an object of this task class, add to manager and connect the input.

Returns
Pointer to task on success

Definition at line 333 of file AliSimpleHeaderTask.C.

Bool_t AliSimpleHeaderTask::GetCent ( AliVEvent *  event)

Get new-style centrality and fill into header

Parameters
eventEvent structure
Returns
true on success

Definition at line 271 of file AliSimpleHeaderTask.C.

Referenced by UserExec().

Bool_t AliSimpleHeaderTask::GetCentOld ( AliVEvent *  event)

Get old-style centrality and fill into header

Parameters
eventEvent structure
Returns
true on success

Definition at line 294 of file AliSimpleHeaderTask.C.

Referenced by UserExec().

Bool_t AliSimpleHeaderTask::GetRecIP ( AliVEvent *  event)

Get the reconstructed interaction point and fill into header

Parameters
eventEvent structure
Returns
true on success

Definition at line 197 of file AliSimpleHeaderTask.C.

Referenced by UserExec().

Bool_t AliSimpleHeaderTask::GetSim ( AliMCEvent *  event)

Get simulation information and fill into header

Parameters
eventEvent structure
Returns
true on success

Definition at line 228 of file AliSimpleHeaderTask.C.

Referenced by UserExec().

AliSimpleHeaderTask & AliSimpleHeaderTask::operator= ( const AliSimpleHeaderTask o)

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 152 of file AliSimpleHeaderTask.C.

void AliSimpleHeaderTask::Print ( Option_t option = "") const

Print this task x

Parameters
option

Definition at line 327 of file AliSimpleHeaderTask.C.

void AliSimpleHeaderTask::UserCreateOutputObjects ( )

Set-up outputs

Definition at line 179 of file AliSimpleHeaderTask.C.

void AliSimpleHeaderTask::UserExec ( Option_t )

Event processing

Definition at line 303 of file AliSimpleHeaderTask.C.

Member Data Documentation

AliAODSimpleHeader* AliSimpleHeaderTask::fHeader

the header to fill

Definition at line 129 of file AliSimpleHeaderTask.C.

Referenced by GetCent(), GetCentOld(), GetRecIP(), GetSim(), UserCreateOutputObjects(), and UserExec().


The documentation for this class was generated from the following file: