![]() |
AliPhysics
b81c3d2 (b81c3d2)
|
Public Types | |
enum | EStatus { kSeen, kClusters, kFilter, kIP, kReconstruct, kInject, kTracklets, kStored, kNStatus } |
![]() | |
typedef TList | Container |
Public Member Functions | |
AliTrackletAODTask () | |
AliTrackletAODTask (const char *name) | |
AliTrackletAODTask (const AliTrackletAODTask &other) | |
AliTrackletAODTask & | operator= (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 | SetFilterMode (Int_t mode) |
virtual void | SetFilterWeights (AliTrackletBaseWeights *w) |
![]() | |
AliTrackletAODUtils () | |
virtual | ~AliTrackletAODUtils () |
Static Public Member Functions | |
static AliTrackletAODTask * | Create (const char *weights="") |
![]() | |
static void | PdgAttr (Int_t pdg, TString &nme, Color_t &c, Style_t &s) |
static const char * | CentName (Double_t c1, Double_t c2) |
static Color_t | CentColor (const TAxis &axis, Double_t c1, Double_t c2) |
static Color_t | CentColor (Int_t bin) |
static TFile * | OpenFile (const char *filename) |
static Bool_t | CheckAxisNBins (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxisLimits (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxisBins (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxisLabels (const char *which, const TAxis *a1, const TAxis *a2) |
static Bool_t | CheckAxis (const char *which, const TAxis *a1, const TAxis *a2, Bool_t alsoLbls) |
static Bool_t | CheckConsistency (const TH1 *h1, const TH1 *h2) |
static TObject * | GetO (Container *parent, const char *name, TClass *cls=0, Bool_t verb=true) |
static TObject * | GetO (TDirectory *parent, const char *name, TClass *cls=0, Bool_t verb=true) |
static TH1 * | GetH1 (Container *parent, const char *name, Bool_t verb=true) |
static TH1 * | GetH1 (TDirectory *parent, const char *name, Bool_t verb=true) |
static TProfile * | GetP1 (Container *parent, const char *name, Bool_t verb=true) |
static TH2 * | GetH2 (Container *parent, const char *name, Bool_t verb=true) |
static TH2 * | GetH2 (TDirectory *parent, const char *name, Bool_t verb=true) |
static TH3 * | GetH3 (Container *parent, const char *name, Bool_t verb=true) |
static TH3 * | GetH3 (TDirectory *parent, const char *name, Bool_t verb=true) |
static TProfile2D * | GetP2 (Container *parent, const char *name, Bool_t verb=true) |
static TProfile * | GetP (Container *parent, const char *name, Bool_t verb=true) |
static THStack * | GetHS (Container *parent, const char *name, Bool_t verb=true) |
static THStack * | GetHS (TDirectory *parent, const char *name, Bool_t verb=true) |
static Container * | GetC (Container *parent, const char *name, Bool_t verb=true) |
static Container * | GetC (TDirectory *parent, const char *name, Bool_t verb=true) |
static TDirectory * | GetT (TDirectory *parent, const char *name, Bool_t verb=true) |
static Double_t | GetD (Container *parent, const char *name, Double_t def=-1, Bool_t verb=true) |
static Int_t | GetI (Container *parent, const char *name, Int_t def=-1, Bool_t verb=true) |
static Int_t | GetB (Container *parent, const char *name, Bool_t def=false, Bool_t verb=true) |
static TH1 * | CopyH1 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true) |
static TH2 * | CopyH2 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true) |
static TH3 * | CopyH3 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true) |
static void | CopyAttr (const TH1 *src, TH1 *dest) |
static TH1 * | Make1D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis) |
static TProfile * | Make1P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis) |
static TH2 * | Make2D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis) |
static TH3 * | Make3D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis, const TAxis &zAxis) |
static TProfile2D * | Make2P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis) |
static TH1 * | Scale (TH1 *h, Double_t x, Double_t xe) |
static TH2 * | Scale (TH2 *h, Double_t x, Double_t xe) |
static TH2 * | Scale (TH2 *h, TH1 *s) |
static void | FixAxis (TAxis &axis, const char *title=0) |
static void | ScaleAxis (TAxis &ret, Double_t fact=1) |
static void | SetAxis (TAxis &axis, Int_t n, Double_t *borders) |
static void | SetAxis (TAxis &axis, const TString &spec, const char *sep=":,") |
static void | SetAxis (TAxis &axis, Int_t n, Double_t l, Double_t h) |
static void | SetAxis (TAxis &axis, Int_t n, Double_t m) |
static void | PrintAxis (const TAxis &axis, Int_t nSig=2, const char *alt=0) |
static TH2 * | ScaleToIPz (TH2 *h, TH1 *ipZ, Bool_t full=false) |
static TH3 * | ScaleToIPz (TH3 *h, TH1 *ipZ, Bool_t full=false) |
static TH3 * | ScaleDelta (TH3 *h, TH2 *scale) |
static TH2 * | ProjectEtaDelta (TH3 *h) |
static TH1 * | ProjectDelta (TH2 *h) |
static TH1 * | ProjectDeltaFull (TH3 *h) |
static TH1 * | AverageOverIPz (TH2 *h, const char *name, UShort_t mode, TH1 *ipz, Double_t ipEff=0, TH2 *mask=0, Bool_t verb=false) |
static TObject * | CloneAndAdd (Container *c, TObject *o) |
static Double_t | Integrate (TH1 *h, Double_t min, Double_t max, Double_t &err) |
static Double_t | RatioE (Double_t n, Double_t en, Double_t d, Double_t ed, Double_t &er) |
static Double_t | RatioE2 (Double_t n, Double_t e2n, Double_t d, Double_t e2d, Double_t &e2r) |
static TH1 * | RatioH (const TH1 *num, const TH1 *denom, const char *name=0) |
static void | FixMinMax (TH1 *h, Bool_t ignoreZero=true) |
static void | FixMinMax (THStack *h, Bool_t ignoreZero=true) |
static Int_t * | PdgArray (Int_t &size) |
static const TAxis & | PdgAxis () |
static Int_t | PdgBin (Int_t pdg) |
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) |
TTree * | FindClusters () |
virtual TTree * | FilterClusters (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 AliAODTracklet * | MakeTracklet (Bool_t normal) |
Bool_t | ProcessTracklets (Bool_t normal, AliVMultiplicity *mult) |
virtual AliAODTracklet * | ProcessTracklet (Bool_t normal, AliMultiplicity *mult, Int_t no) |
![]() | |
ClassDef (AliTrackletAODUtils, 1) | |
Protected Attributes | |
TClonesArray * | fTracklets |
Container * | fContainer |
TH1 * | fStatus |
TProfile2D * | fNClustersVsNTracklets |
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 | fFilterMode |
TParameter< double > * | fStrangeLoss |
Store tracklets on AOD
Definition at line 69 of file AliTrackletAODTask.C.
Status bins
Definition at line 75 of file AliTrackletAODTask.C.
AliTrackletAODTask::AliTrackletAODTask | ( | ) |
Default constructor - for ROOT I/O only
Definition at line 404 of file AliTrackletAODTask.C.
Referenced by Create().
AliTrackletAODTask::AliTrackletAODTask | ( | const char * | name | ) |
Named user constructor
name | Name of the task |
Definition at line 422 of file AliTrackletAODTask.C.
AliTrackletAODTask::AliTrackletAODTask | ( | const AliTrackletAODTask & | other | ) |
Copy constructor
other | Object to copy from |
Definition at line 442 of file AliTrackletAODTask.C.
|
protected |
|
inlineprotectedvirtual |
Clean up possible copy of tree of clusters
t |
Reimplemented in AliTrackletAODMCTask.
Definition at line 298 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
Bool_t AliTrackletAODTask::Connect | ( | ) |
Connect this task to the train
Definition at line 460 of file AliTrackletAODTask.C.
Referenced by Create().
|
static |
Create our task and connect it
Definition at line 1790 of file AliTrackletAODTask.C.
Pre-process clusters. This can remove clusters, etc.
t | Tree of clusters |
Reimplemented in AliTrackletAODMCTask.
Definition at line 292 of file AliTrackletAODTask.C.
Referenced by FindClusters().
|
protected |
Find cluster (rec.point) tree
Definition at line 716 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
|
protected |
Get the event
Definition at line 708 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
|
protected |
Find the interaction point location
event | Event |
maxDispersion | Max dispersion |
maxZError | Max error along Z |
Definition at line 737 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
|
inline |
Called at end of worker job.
Definition at line 146 of file AliTrackletAODTask.C.
|
inlineprotectedvirtual |
Get the CDB reference run number
Definition at line 242 of file AliTrackletAODTask.C.
Referenced by InitCDB().
|
inlineprotectedvirtual |
Get the CDB reference URL
Reimplemented in AliTrackletAODMCTask.
Definition at line 248 of file AliTrackletAODTask.C.
Referenced by InitCDB().
|
protected |
Check if we have the magnetic field
Definition at line 697 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
|
protected |
Check that we have an initialized geometry if needed
Definition at line 687 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
|
protected |
Initialize our output branch
Definition at line 582 of file AliTrackletAODTask.C.
Referenced by WorkerInit().
|
protected |
Make sure CDB is initialized
Definition at line 526 of file AliTrackletAODTask.C.
Referenced by WorkerInit().
|
protectedvirtual |
Create a tracklet
normal | If true, create for normal reconstruction |
Reimplemented in AliTrackletAODMCTask.
Definition at line 886 of file AliTrackletAODTask.C.
Referenced by ProcessTracklet().
|
protected |
Mark the event as one to store on AOD tree
Definition at line 788 of file AliTrackletAODTask.C.
Referenced by UserExec().
AliTrackletAODTask & AliTrackletAODTask::operator= | ( | const AliTrackletAODTask & | other | ) |
Assignment operator
other | Object to assign from |
Definition at line 505 of file AliTrackletAODTask.C.
void AliTrackletAODTask::Print | ( | Option_t * | ) | const |
Print information to standard output
Definition at line 489 of file AliTrackletAODTask.C.
|
protectedvirtual |
Process a single event
Reimplemented in AliTrackletAODMCTask.
Definition at line 657 of file AliTrackletAODTask.C.
Referenced by AliTrackletAODMCTask::ProcessEvent(), and UserExec().
|
protectedvirtual |
Process a single tracklet
normal | Whether this this is normal reconstruction |
mult | The created tracklets |
no | Tracklet number to investigate |
Reimplemented in AliTrackletAODMCTask.
Definition at line 894 of file AliTrackletAODTask.C.
Referenced by AliTrackletAODMCTask::ProcessTracklet(), and ProcessTracklets().
Process tracklets create by the reconstruction
normal | Whether this this is normal reconstruction |
mult | The created tracklets |
Definition at line 860 of file AliTrackletAODTask.C.
Referenced by ProcessEvent(), and Reconstruct().
Reconstruct the tracklets from passed clusters
clusters | Clusters |
ip | Interaction point coordinates |
Definition at line 802 of file AliTrackletAODTask.C.
Referenced by ProcessEvent().
|
inline |
Set \(\delta_{\phi}\)
x | Shift of \(\Delta\phi\) |
Definition at line 174 of file AliTrackletAODTask.C.
|
inline |
Set \( d\phi\) window - used for reconstruction only
x | Value |
Definition at line 192 of file AliTrackletAODTask.C.
|
inline |
|
inlinevirtual |
Whether to filter clusters corresponding to strange particles
mode | Mode of filtering |
Definition at line 214 of file AliTrackletAODTask.C.
|
inlinevirtual |
Set weights to use for filtering.
w | Weights |
Reimplemented in AliTrackletAODMCTask.
Definition at line 220 of file AliTrackletAODTask.C.
Referenced by Create().
|
inline |
Set Maximum \( \Delta\) to consider
x | Value |
Definition at line 180 of file AliTrackletAODTask.C.
|
inline |
Set PhiOverlapCut - used for reconstruction only
x | Value |
Definition at line 198 of file AliTrackletAODTask.C.
|
inline |
Set wether to scale \(\Delta\theta\) by \(\sin^2\theta\)
x | If true, scale |
Definition at line 168 of file AliTrackletAODTask.C.
|
inline |
Set ZEtaOverlapCut - used for reconstruction only
x | Value |
Definition at line 204 of file AliTrackletAODTask.C.
|
inline |
Called at end of master job on merged results.
Definition at line 151 of file AliTrackletAODTask.C.
|
inlineprotectedvirtual |
The name of the tracklet class to use
Reimplemented in AliTrackletAODMCTask.
Definition at line 340 of file AliTrackletAODTask.C.
Referenced by InitBranch().
void AliTrackletAODTask::UserCreateOutputObjects | ( | ) |
Delegate worker initialization
Definition at line 510 of file AliTrackletAODTask.C.
void AliTrackletAODTask::UserExec | ( | Option_t * | ) |
Event processing
Definition at line 641 of file AliTrackletAODTask.C.
|
protectedvirtual |
Initialize the worker
Reimplemented in AliTrackletAODMCTask.
Definition at line 607 of file AliTrackletAODTask.C.
Referenced by UserCreateOutputObjects(), and AliTrackletAODMCTask::WorkerInit().
|
protected |
Definition at line 375 of file AliTrackletAODTask.C.
Referenced by UserCreateOutputObjects(), UserExec(), WorkerInit(), and AliTrackletAODMCTask::WorkerInit().
|
protected |
Shift in \(\Delta\phi\)
Definition at line 385 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetDPhiShift().
|
protected |
Window in \( \Delta\phi \)
Definition at line 389 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetDPhiWindow().
|
protected |
Window in \( \Delta\theta \)
Definition at line 387 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetDThetaWindow().
|
protected |
Whether to remove clusters corresponding to strange primary parents
Definition at line 397 of file AliTrackletAODTask.C.
Referenced by AliTrackletAODMCTask::CleanClusters(), AliTrackletAODMCTask::FilterClusters(), InitBranch(), Print(), and SetFilterMode().
|
protected |
Maximum \(\Delta\) to consider
Definition at line 383 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetMaxDelta().
|
protected |
Correlation of clusters and tracklets
Definition at line 379 of file AliTrackletAODTask.C.
Referenced by ProcessTracklets(), Reconstruct(), and WorkerInit().
|
protected |
Overlap cut in \(\phi\) plane
Definition at line 391 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetPhiOverlapCut().
|
protected |
Pointer to current reconstruction object
Definition at line 395 of file AliTrackletAODTask.C.
Referenced by AliTrackletAODMCTask::ProcessTracklet(), and Reconstruct().
|
protected |
Whether we should scale \( \Delta\theta\) by \(\sin^{-2}(\theta)\)
Definition at line 381 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetScaleDTheta().
|
protected |
Status histogram
Definition at line 377 of file AliTrackletAODTask.C.
Referenced by AliTrackletAODMCTask::FilterClusters(), FindClusters(), FindIP(), MarkForStore(), ProcessEvent(), ProcessTracklets(), Reconstruct(), and WorkerInit().
|
protected |
Fraction of K^0_S clusters removed
Definition at line 399 of file AliTrackletAODTask.C.
Referenced by AliTrackletAODMCTask::FilterClusters(), AliTrackletAODMCTask::FilterClustersRandom(), AliTrackletAODMCTask::FilterClustersTrack(), and InitBranch().
|
protected |
Container of tracklets
Definition at line 373 of file AliTrackletAODTask.C.
Referenced by InitBranch(), MakeTracklet(), AliTrackletAODMCTask::MakeTracklet(), and UserExec().
|
protected |
Overlap cut in \( z,\eta\) plane
Definition at line 393 of file AliTrackletAODTask.C.
Referenced by Print(), Reconstruct(), and SetZEtaOverlapCut().