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

Public Member Functions

 AliTrackletAODTask ()
 
 AliTrackletAODTask (const char *name)
 
 AliTrackletAODTask (const AliTrackletAODTask &other)
 
AliTrackletAODTaskoperator= (const AliTrackletAODTask &other)
 
void Print (Option_t *) const
 
Task interface
void UserCreateOutputObjects ()
 
void UserExec (Option_t *)
 
void FinishTaskOutput ()
 
void Terminate (Option_t *)
 
Bool_t Connect ()
 
Set parameters of the reconstruction
void SetScaleDTheta (Bool_t x=false)
 
void SetDPhiShift (Double_t x=0.0045)
 
void SetMaxDelta (Double_t x=25)
 
void SetDThetaWindow (Double_t x=0.025)
 
void SetDPhiWindow (Double_t x=0.06)
 
void SetPhiOverlapCut (Double_t x=0.005)
 
void SetZEtaOverlapCut (Double_t x=0.05)
 
virtual void SetFilterStrange (Int_t mode)
 

Static Public Member Functions

static AliTrackletAODTaskCreate ()
 

Protected Member Functions

 ClassDef (AliTrackletAODTask, 1)
 
Worker initialization
virtual Bool_t WorkerInit ()
 
Bool_t InitCDB ()
 
virtual Int_t GetCDBReferenceRun () const
 
virtual const char * GetCDBReferenceURL () const
 
Bool_t InitBranch ()
 
Event processing
virtual Bool_t ProcessEvent ()
 
Bool_t HasGeometry ()
 
Bool_t HasField (AliVEvent *event)
 
TTreeFindClusters ()
 
virtual TTreeFilterClusters (TTree *t)
 
virtual void CleanClusters (TTree *&t)
 
AliVEvent * FindEvent ()
 
const AliVVertex * FindIP (AliVEvent *event, Double_t maxDispersion=0.04, Double_t maxZError=0.25)
 
Bool_t Reconstruct (TTree *clusters, const AliVVertex *ip)
 
Bool_t MarkForStore ()
 
Tracklet creation
virtual const char * TrackletClassName () const
 
virtual AliAODTrackletMakeTracklet (Bool_t normal)
 
Bool_t ProcessTracklets (Bool_t normal, AliVMultiplicity *mult)
 
virtual AliAODTrackletProcessTracklet (Bool_t normal, AliMultiplicity *mult, Int_t no)
 

Protected Attributes

TClonesArray * fTracklets
 
Bool_t fScaleDTheta
 
Double_t fMaxDelta
 
Double_t fDPhiShift
 
Double_t fDThetaWindow
 
Double_t fDPhiWindow
 
Double_t fPhiOverlapCut
 
Double_t fZEtaOverlapCut
 
AliITSMultRecBg * fReco
 
Int_t fFilterStrange
 
TParameter< double > * fStrangeLoss
 

Detailed Description

Store tracklets on AOD

Definition at line 60 of file AliTrackletAODTask.C.

Constructor & Destructor Documentation

AliTrackletAODTask::AliTrackletAODTask ( )

Default constructor - for ROOT I/O only

Definition at line 362 of file AliTrackletAODTask.C.

Referenced by Create().

AliTrackletAODTask::AliTrackletAODTask ( const char *  name)

Named user constructor

Parameters
nameName of the task

Definition at line 378 of file AliTrackletAODTask.C.

AliTrackletAODTask::AliTrackletAODTask ( const AliTrackletAODTask other)

Copy constructor

Parameters
otherObject to copy from

Definition at line 396 of file AliTrackletAODTask.C.

Member Function Documentation

AliTrackletAODTask::ClassDef ( AliTrackletAODTask  ,
 
)
protected
virtual void AliTrackletAODTask::CleanClusters ( TTree *&  t)
inlineprotectedvirtual

Clean up possible copy of tree of clusters

Parameters
t

Reimplemented in AliTrackletAODMCTask.

Definition at line 260 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

Bool_t AliTrackletAODTask::Connect ( )

Connect this task to the train

Returns
true on success

Definition at line 412 of file AliTrackletAODTask.C.

Referenced by Create().

AliTrackletAODTask * AliTrackletAODTask::Create ( )
static

Create our task and connect it

Returns
Pointer to newly created task, or null

Definition at line 1576 of file AliTrackletAODTask.C.

virtual TTree* AliTrackletAODTask::FilterClusters ( TTree t)
inlineprotectedvirtual

Pre-process clusters. This can remove clusters, etc.

Parameters
tTree of clusters

Reimplemented in AliTrackletAODMCTask.

Definition at line 254 of file AliTrackletAODTask.C.

Referenced by FindClusters().

TTree * AliTrackletAODTask::FindClusters ( )
protected

Find cluster (rec.point) tree

Returns
Pointer to tree or null

Definition at line 637 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

AliVEvent * AliTrackletAODTask::FindEvent ( )
protected

Get the event

Returns
Pointer to event or null

Definition at line 629 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

const AliVVertex * AliTrackletAODTask::FindIP ( AliVEvent *  event,
Double_t  maxDispersion = 0.04,
Double_t  maxZError = 0.25 
)
protected

Find the interaction point location

Parameters
eventEvent
maxDispersionMax dispersion
maxZErrorMax error along Z
Returns
Pointer to vertex, or null in case of problems

Definition at line 657 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

void AliTrackletAODTask::FinishTaskOutput ( )
inline

Called at end of worker job.

Definition at line 114 of file AliTrackletAODTask.C.

virtual Int_t AliTrackletAODTask::GetCDBReferenceRun ( ) const
inlineprotectedvirtual

Get the CDB reference run number

Returns
A run from LHC10h

Definition at line 204 of file AliTrackletAODTask.C.

Referenced by InitCDB().

virtual const char* AliTrackletAODTask::GetCDBReferenceURL ( ) const
inlineprotectedvirtual

Get the CDB reference URL

Returns
A fixed string pointing to 2010

Reimplemented in AliTrackletAODMCTask.

Definition at line 210 of file AliTrackletAODTask.C.

Referenced by InitCDB().

Bool_t AliTrackletAODTask::HasField ( AliVEvent *  event)
protected

Check if we have the magnetic field

Returns
true on success

Definition at line 618 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

Bool_t AliTrackletAODTask::HasGeometry ( )
protected

Check that we have an initialized geometry if needed

Returns
true if all is good

Definition at line 608 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

Bool_t AliTrackletAODTask::InitBranch ( )
protected

Initialize our output branch

Returns
true on success

Definition at line 528 of file AliTrackletAODTask.C.

Referenced by WorkerInit().

Bool_t AliTrackletAODTask::InitCDB ( )
protected

Make sure CDB is initialized

Returns
true on success

Definition at line 472 of file AliTrackletAODTask.C.

Referenced by WorkerInit().

AliAODTracklet * AliTrackletAODTask::MakeTracklet ( Bool_t  normal)
protectedvirtual

Create a tracklet

Parameters
normalIf true, create for normal reconstruction
Returns
Pointer to newly allocated tracklet

Reimplemented in AliTrackletAODMCTask.

Definition at line 789 of file AliTrackletAODTask.C.

Referenced by ProcessTracklet().

Bool_t AliTrackletAODTask::MarkForStore ( )
protected

Mark the event as one to store on AOD tree

Returns
true on success

Definition at line 706 of file AliTrackletAODTask.C.

Referenced by UserExec().

AliTrackletAODTask & AliTrackletAODTask::operator= ( const AliTrackletAODTask other)

Assignment operator

Parameters
otherObject to assign from
Returns
Reference to this object

Definition at line 451 of file AliTrackletAODTask.C.

void AliTrackletAODTask::Print ( Option_t ) const

Print information to standard output

Definition at line 435 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODTask::ProcessEvent ( )
protectedvirtual

Process a single event

Returns

Reimplemented in AliTrackletAODMCTask.

Definition at line 578 of file AliTrackletAODTask.C.

Referenced by AliTrackletAODMCTask::ProcessEvent(), and UserExec().

AliAODTracklet * AliTrackletAODTask::ProcessTracklet ( Bool_t  normal,
AliMultiplicity *  mult,
Int_t  no 
)
protectedvirtual

Process a single tracklet

Parameters
normalWhether this this is normal reconstruction
multThe created tracklets
noTracklet number to investigate
Returns
Newly allocated tracklet or null

Reimplemented in AliTrackletAODMCTask.

Definition at line 797 of file AliTrackletAODTask.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet(), and ProcessTracklets().

Bool_t AliTrackletAODTask::ProcessTracklets ( Bool_t  normal,
AliVMultiplicity *  mult 
)
protected

Process tracklets create by the reconstruction

Parameters
normalWhether this this is normal reconstruction
multThe created tracklets
Returns
true on success

Definition at line 772 of file AliTrackletAODTask.C.

Referenced by ProcessEvent(), and Reconstruct().

Bool_t AliTrackletAODTask::Reconstruct ( TTree clusters,
const AliVVertex *  ip 
)
protected

Reconstruct the tracklets from passed clusters

Parameters
clustersClusters
ipInteraction point coordinates

Definition at line 719 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

void AliTrackletAODTask::SetDPhiShift ( Double_t  x = 0.0045)
inline

Set \(\delta_{\phi}\)

Parameters
xShift of \(\Delta\phi\)

Definition at line 142 of file AliTrackletAODTask.C.

void AliTrackletAODTask::SetDPhiWindow ( Double_t  x = 0.06)
inline

Set \( d\phi\) window - used for reconstruction only

Parameters
xValue

Definition at line 160 of file AliTrackletAODTask.C.

void AliTrackletAODTask::SetDThetaWindow ( Double_t  x = 0.025)
inline

Set DThetaWindow

Parameters
xValue

Definition at line 154 of file AliTrackletAODTask.C.

virtual void AliTrackletAODTask::SetFilterStrange ( Int_t  mode)
inlinevirtual

Whether to filter clusters corresponding to strange particles

Parameters
modeMode of filtering
  • 0 No filtering
  • 1 Random filtering
  • 2 Track filtering

Definition at line 182 of file AliTrackletAODTask.C.

void AliTrackletAODTask::SetMaxDelta ( Double_t  x = 25)
inline

Set Maximum \( \Delta\) to consider

Parameters
xValue

Definition at line 148 of file AliTrackletAODTask.C.

void AliTrackletAODTask::SetPhiOverlapCut ( Double_t  x = 0.005)
inline

Set PhiOverlapCut - used for reconstruction only

Parameters
xValue

Definition at line 166 of file AliTrackletAODTask.C.

void AliTrackletAODTask::SetScaleDTheta ( Bool_t  x = false)
inline

Set wether to scale \(\Delta\theta\) by \(\sin^2\theta\)

Parameters
xIf true, scale

Definition at line 136 of file AliTrackletAODTask.C.

void AliTrackletAODTask::SetZEtaOverlapCut ( Double_t  x = 0.05)
inline

Set ZEtaOverlapCut - used for reconstruction only

Parameters
xValue

Definition at line 172 of file AliTrackletAODTask.C.

void AliTrackletAODTask::Terminate ( Option_t )
inline

Called at end of master job on merged results.

Definition at line 119 of file AliTrackletAODTask.C.

virtual const char* AliTrackletAODTask::TrackletClassName ( ) const
inlineprotectedvirtual

The name of the tracklet class to use

Returns
Class name as a string

Reimplemented in AliTrackletAODMCTask.

Definition at line 302 of file AliTrackletAODTask.C.

Referenced by InitBranch().

void AliTrackletAODTask::UserCreateOutputObjects ( )

Delegate worker initialization

Definition at line 456 of file AliTrackletAODTask.C.

void AliTrackletAODTask::UserExec ( Option_t )

Event processing

Definition at line 563 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODTask::WorkerInit ( )
protectedvirtual

Initialize the worker

Reimplemented in AliTrackletAODMCTask.

Definition at line 553 of file AliTrackletAODTask.C.

Referenced by UserCreateOutputObjects(), and AliTrackletAODMCTask::WorkerInit().

Member Data Documentation

Double_t AliTrackletAODTask::fDPhiShift
protected

Shift in \(\Delta\phi\)

Definition at line 343 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetDPhiShift().

Double_t AliTrackletAODTask::fDPhiWindow
protected

Window in \( \Delta\phi \)

Definition at line 347 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetDPhiWindow().

Double_t AliTrackletAODTask::fDThetaWindow
protected

Window in \( \Delta\theta \)

Definition at line 345 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetDThetaWindow().

Int_t AliTrackletAODTask::fFilterStrange
protected

Whether to remove clusters corresponding to strange primary parents

Definition at line 355 of file AliTrackletAODTask.C.

Referenced by AliTrackletAODMCTask::CleanClusters(), AliTrackletAODMCTask::FilterClusters(), InitBranch(), Print(), and SetFilterStrange().

Double_t AliTrackletAODTask::fMaxDelta
protected

Maximum \(\Delta\) to consider

Definition at line 341 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetMaxDelta().

Double_t AliTrackletAODTask::fPhiOverlapCut
protected

Overlap cut in \(\phi\) plane

Definition at line 349 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetPhiOverlapCut().

AliITSMultRecBg* AliTrackletAODTask::fReco
protected

Pointer to current reconstruction object

Definition at line 353 of file AliTrackletAODTask.C.

Referenced by AliTrackletAODMCTask::ProcessTracklet(), and Reconstruct().

Bool_t AliTrackletAODTask::fScaleDTheta
protected

Whether we should scale \( \Delta\theta\) by \(\sin^{-2}(\theta)\)

Definition at line 339 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetScaleDTheta().

TParameter<double>* AliTrackletAODTask::fStrangeLoss
protected
TClonesArray* AliTrackletAODTask::fTracklets
protected

Container of tracklets

Definition at line 335 of file AliTrackletAODTask.C.

Referenced by InitBranch(), MakeTracklet(), AliTrackletAODMCTask::MakeTracklet(), and UserExec().

Double_t AliTrackletAODTask::fZEtaOverlapCut
protected

Overlap cut in \( z,\eta\) plane

Definition at line 351 of file AliTrackletAODTask.C.

Referenced by Print(), Reconstruct(), and SetZEtaOverlapCut().


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