AliPhysics  781d0c7 (781d0c7)
 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 SetFilterStrange (Int_t mode)
 

Protected Member Functions

 ClassDef (AliTrackletAODMCTask, 1)
 
Event processing
Bool_t WorkerInit ()
 
virtual TTreeFilterClusters (TTree *t)
 
virtual void FilterClustersRandom (TTree *t, TTree *copy)
 
virtual void FilterClustersTrack (TTree *t, TTree *copy)
 
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
Int_t FindPrimaryParentID (Int_t label) const
 
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
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliTrackletAODTask
static AliTrackletAODTaskCreate ()
 
- 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
 
Int_t fFilterStrange
 
TParameter< double > * fStrangeLoss
 

Detailed Description

Store tracklets on AOD

Definition at line 838 of file AliTrackletAODTask.C.

Constructor & Destructor Documentation

AliTrackletAODMCTask::AliTrackletAODMCTask ( )
inline

Default constructor - for ROOT I/O only

Definition at line 844 of file AliTrackletAODTask.C.

AliTrackletAODMCTask::AliTrackletAODMCTask ( const char *  name)
inline

Named user constructor

Parameters
nameName of the task

Definition at line 850 of file AliTrackletAODTask.C.

AliTrackletAODMCTask::AliTrackletAODMCTask ( const AliTrackletAODMCTask other)
inline

Copy constructor

Parameters
otherObject to copy from

Definition at line 858 of file AliTrackletAODTask.C.

Member Function Documentation

AliTrackletAODMCTask::ClassDef ( AliTrackletAODMCTask  ,
 
)
protected
void AliTrackletAODMCTask::CleanClusters ( TTree *&  t)
protectedvirtual

Clean up possible copy of tree of clusters

Parameters
t

Reimplemented from AliTrackletAODTask.

Definition at line 1338 of file AliTrackletAODTask.C.

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

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 1524 of file AliTrackletAODTask.C.

Referenced by ProcessTracklet().

TTree * AliTrackletAODMCTask::FilterClusters ( TTree t)
protectedvirtual

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

Parameters
tTree of clusters

Reimplemented from AliTrackletAODTask.

Definition at line 1133 of file AliTrackletAODTask.C.

void AliTrackletAODMCTask::FilterClustersRandom ( TTree t,
TTree copy 
)
protectedvirtual

Pre-process clusters. This can remove clusters independently of each other. That is, for each cluster we look up the parent primary particle(s), and find the corresponding weight \( w\). We then throw a dice and if number is larger than \( 1-1/w\), we remove the cluster.

Parameters
tTree of clusters
copyTree to fill with clusters

Definition at line 1157 of file AliTrackletAODTask.C.

Referenced by FilterClusters().

void AliTrackletAODMCTask::FilterClustersTrack ( TTree t,
TTree copy 
)
protectedvirtual

Pre-process clusters. For all primary particles in the stack, we compute a weight \( w\). We then throw a dice, and if the number is larger than \( 1-1/w\), we mark that particle for removal. We then loop over all clusters in the SPD, and find the primary particle(s) that each cluster corresponds to. If such a primary particle is marked for removal, we remove the clusters.

Parameters
tTree of clusters
copyTree to fill with clusters

Definition at line 1227 of file AliTrackletAODTask.C.

Referenced by FilterClusters().

Int_t AliTrackletAODMCTask::FindParent ( Int_t  label) const
protected

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 1491 of file AliTrackletAODTask.C.

Referenced by CommonParent(), and FindParents().

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

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 1503 of file AliTrackletAODTask.C.

Referenced by ProcessTracklet().

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

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 that particle is returned.

Definition at line 1547 of file AliTrackletAODTask.C.

Referenced by FilterClustersRandom(), and ProcessTracklet().

Int_t AliTrackletAODMCTask::FindPrimaryParentID ( Int_t  label) const
protected

Find identifier of the first primary parent of particle identified by passed label

Parameters
labelLabel particle to search for primary parent of
Returns
Identifier of parent, or negative if not found. Note, if label corresponds to a primary, then that ID is returned.

Definition at line 1554 of file AliTrackletAODTask.C.

Referenced by FilterClustersTrack(), and FindPrimaryParent().

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

Get the CDB reference URL

Returns
A fixed string pointing to 2010

Reimplemented from AliTrackletAODTask.

Definition at line 939 of file AliTrackletAODTask.C.

AliAODTracklet * AliTrackletAODMCTask::MakeTracklet ( Bool_t  normal)
protectedvirtual

Create a tracklet

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

Reimplemented from AliTrackletAODTask.

Definition at line 1417 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 868 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODMCTask::ProcessEvent ( )
protectedvirtual

Process a single event

Returns
true on success

Reimplemented from AliTrackletAODTask.

Definition at line 1347 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODMCTask::ProcessGenerated ( )
protected

Process MC truth

Returns
true on success

Definition at line 1358 of file AliTrackletAODTask.C.

Referenced by ProcessEvent().

AliAODTracklet * AliTrackletAODMCTask::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 from AliTrackletAODTask.

Definition at line 1425 of file AliTrackletAODTask.C.

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

The name of the tracklet class to use

Returns
Class name as a string

Reimplemented from AliTrackletAODTask.

Definition at line 953 of file AliTrackletAODTask.C.

Bool_t AliTrackletAODMCTask::WorkerInit ( )
protectedvirtual

Initialize the worker

Reimplemented from AliTrackletAODTask.

Definition at line 1044 of file AliTrackletAODTask.C.


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