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

Public Member Functions

 AliTrackletAODMCTask ()
 
 AliTrackletAODMCTask (const char *name)
 
 AliTrackletAODMCTask (const AliTrackletAODMCTask &other)
 
AliTrackletAODMCTaskoperator= (const AliTrackletAODMCTask &other)
 
- Public Member Functions inherited from AliTrackletAODTask
 AliTrackletAODTask ()
 
 AliTrackletAODTask (const char *name)
 
 AliTrackletAODTask (const AliTrackletAODTask &other)
 
AliTrackletAODTaskoperator= (const AliTrackletAODTask &other)
 
void Print (Option_t *) const
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *)
 
void FinishTaskOutput ()
 
void Terminate (Option_t *)
 
Bool_t Connect ()
 
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 SetFilterK0S (Bool_t filter)
 

Private Member Functions

 ClassDef (AliTrackletAODMCTask, 1)
 
Event processing
Bool_t WorkerInit ()
 
virtual TTreeFilterClusters (TTree *t)
 
virtual void CleanClusters (TTree *&t)
 
virtual Bool_t ProcessEvent ()
 
Bool_t ProcessGenerated ()
 
Worker initialization
virtual const char * GetCDBReferenceURL () const
 
Tracklet creation
virtual const char * TrackletClassName () const
 
virtual AliAODTrackletMakeTracklet (Bool_t normal)
 
virtual AliAODTrackletProcessTracklet (Bool_t normal, AliMultiplicity *mult, Int_t no)
 
Investigating primary parents
TParticle * FindPrimaryParent (Int_t label) const
 
Int_t FindParent (Int_t label) const
 
Int_t FindParents (Int_t label, TArrayI &fill, Int_t offset) const
 
Int_t CommonParent (Int_t label, const TArrayI &fill) const
 

Additional Inherited Members

- Static Public Member Functions inherited from AliTrackletAODTask
static AliTrackletAODTaskCreate ()
 
- Protected Member Functions inherited from AliTrackletAODTask
 ClassDef (AliTrackletAODTask, 1)
 
Bool_t InitCDB ()
 
virtual Int_t GetCDBReferenceRun () const
 
Bool_t InitBranch ()
 
Bool_t HasGeometry ()
 
Bool_t HasField (AliVEvent *event)
 
TTreeFindClusters ()
 
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 ()
 
Bool_t ProcessTracklets (Bool_t normal, AliVMultiplicity *mult)
 
- Protected Attributes inherited from AliTrackletAODTask
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
 
Bool_t fFilterK0S
 
TParameter< double > * fK0SLoss
 

Detailed Description

Store tracklets on AOD

Definition at line 819 of file AliTrackletAODTask.C.

Constructor & Destructor Documentation

AliTrackletAODMCTask::AliTrackletAODMCTask ( )
inline

Default constructor - for ROOT I/O only

Definition at line 825 of file AliTrackletAODTask.C.

AliTrackletAODMCTask::AliTrackletAODMCTask ( const char *  name)
inline

Named user constructor

Parameters
nameName of the task

Definition at line 831 of file AliTrackletAODTask.C.

AliTrackletAODMCTask::AliTrackletAODMCTask ( const AliTrackletAODMCTask other)
inline

Copy constructor

Parameters
otherObject to copy from

Definition at line 839 of file AliTrackletAODTask.C.

Member Function Documentation

AliTrackletAODMCTask::ClassDef ( AliTrackletAODMCTask  ,
 
)
private
void AliTrackletAODMCTask::CleanClusters ( TTree *&  t)
privatevirtual

Clean up possible copy of tree of clusters

Parameters
t

Reimplemented from AliTrackletAODTask.

Definition at line 1144 of file AliTrackletAODTask.C.

Int_t AliTrackletAODMCTask::CommonParent ( Int_t  label,
const TArrayI fill 
) const
private

Find the the common parent of label and those given in fill, if any. If a common parent is found, return the index into fill of that parent.

Parameters
labelParticles who's parents we're checking
fillList of known parents
Returns
Index of common parent of label and those in fill

Definition at line 1328 of file AliTrackletAODTask.C.

Referenced by ProcessTracklet().

TTree * AliTrackletAODMCTask::FilterClusters ( TTree t)
privatevirtual

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

Parameters
tTree of clusters

Reimplemented from AliTrackletAODTask.

Definition at line 1054 of file AliTrackletAODTask.C.

Int_t AliTrackletAODMCTask::FindParent ( Int_t  label) const
private

Find parent of particle with label label. If no parent is found, or it goes beyond the stack, a negative value is returned.

Parameters
labelLabel particle to get the parent for
Returns
Label of parent to particle with label label.

Definition at line 1295 of file AliTrackletAODTask.C.

Referenced by CommonParent(), and FindParents().

Int_t AliTrackletAODMCTask::FindParents ( Int_t  label,
TArrayI fill,
Int_t  offset 
) const
private

Find list of parents corresponding to passed label.

We find the labels of all parent particles and store into cache fill. Elements are assigned starting from offset. In this way, we can invoke this member function multiple times and fill into the same cache array.

Parameters
labelStarting particle
fillCache to fill into
offsetOffset in fill to start assigning into
Returns
Number of assigned elements

Definition at line 1307 of file AliTrackletAODTask.C.

Referenced by ProcessTracklet().

TParticle * AliTrackletAODMCTask::FindPrimaryParent ( Int_t  label) const
private

Find first primary parent of particle identified by passed label

Parameters
labelLabel particle to search for primary parent of
Returns
Pointer to parent, or null if not found. Note, if label corresponds to a primary, then than particle is returned.

Definition at line 1351 of file AliTrackletAODTask.C.

Referenced by FilterClusters(), and ProcessTracklet().

virtual const char* AliTrackletAODMCTask::GetCDBReferenceURL ( ) const
inlineprivatevirtual

Get the CDB reference URL

Returns
A fixed string pointing to 2010

Reimplemented from AliTrackletAODTask.

Definition at line 897 of file AliTrackletAODTask.C.

AliAODTracklet * AliTrackletAODMCTask::MakeTracklet ( Bool_t  normal)
privatevirtual

Create a tracklet

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

Reimplemented from AliTrackletAODTask.

Definition at line 1221 of file AliTrackletAODTask.C.

Referenced by ProcessGenerated().

AliTrackletAODMCTask& AliTrackletAODMCTask::operator= ( const AliTrackletAODMCTask other)
inline

Assignment operator

Parameters
otherObject to assign from
Returns
Reference to this object

Definition at line 849 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODMCTask::ProcessEvent ( )
privatevirtual

Process a single event

Returns
true on success

Reimplemented from AliTrackletAODTask.

Definition at line 1153 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODMCTask::ProcessGenerated ( )
private

Process MC truth

Returns
true on success

Definition at line 1164 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

AliAODTracklet * AliTrackletAODMCTask::ProcessTracklet ( Bool_t  normal,
AliMultiplicity *  mult,
Int_t  no 
)
privatevirtual

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 from AliTrackletAODTask.

Definition at line 1229 of file AliTrackletAODTask.C.

virtual const char* AliTrackletAODMCTask::TrackletClassName ( ) const
inlineprivatevirtual

The name of the tracklet class to use

Returns
Class name as a string

Reimplemented from AliTrackletAODTask.

Definition at line 911 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODMCTask::WorkerInit ( )
privatevirtual

Initialize the worker

Reimplemented from AliTrackletAODTask.

Definition at line 992 of file AliTrackletAODTask.C.


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