![]() |
AliPhysics
96866e8 (96866e8)
|
Classes | |
struct | CentBin |
struct | HistoSet |
struct | SubBase |
Public Types | |
enum | { kNormal = 0x1, kInjection = 0x2, kRotation = 0x4 } |
enum | { kAll =1, kEvent, kMultiplicity, kClusters, kTrigger, kIP, kCentrality, kReconstructed, kInjected, kRotated, kCompleted } |
![]() | |
typedef TList | Container |
Protected Member Functions | |
virtual void | InitCentBins (Container *existing) |
virtual Bool_t | InitCDB () |
virtual Bool_t | InitGeometry () |
virtual Int_t | GetCDBReferenceRun () const |
virtual const char * | GetCDBReferenceURL () const |
Interface | |
virtual void | WorkerInit () |
virtual void | WorkerFinalize () |
virtual void | MasterFinalize (Container *results) |
Various worker functions | |
virtual TTree * | FindClusters (Bool_t needed) |
virtual Double_t | FindCentrality (AliVEvent *event) |
virtual const AliVVertex * | FindIP (AliVEvent *event, Double_t maxDispersion=0.04, Double_t maxZError=0.25) |
virtual Bool_t | FindTrigger () |
virtual Double_t | TrackletWeight (Int_t trackletNumber, const AliMultiplicity *mult) const |
virtual Bool_t | ProcessTracklets (TList &toRun, AliITSMultRecBg *reco, Double_t cent, Double_t ipZ, AliMultiplicity *mult) |
UShort_t | FindMode (AliITSMultRecBg *reco) const |
virtual void | FillBins (TList &toRun, AliITSMultRecBg *reco, AliMultiplicity *mult, Int_t trackletNumber, Bool_t isSignal, Double_t ipz, Double_t eta, Double_t dPhi, Double_t dPhiS, Double_t dTheta, Double_t dThetaX, Double_t delta, Double_t weight) const |
virtual Bool_t | Reconstruct (TList &toRun, UShort_t mode, TTree *clusters, Double_t cent, const AliVVertex *ip) |
virtual void | FillClusters (AliITSMultRecBg *reco) |
virtual void | FillClusters (AliMultiplicity *mult, Double_t ipZ) |
virtual Bool_t | CheckEvent (Double_t ¢, const AliVVertex *&ip, AliMultiplicity *&mult, TTree *&clusters) |
virtual void | ProcessEvent (Double_t cent, const AliVVertex *ip, AliMultiplicity *mult, TTree *clusters) |
virtual CentBin * | MakeCentBin (Float_t c1, Float_t c2, UShort_t recFlags) |
Construction, copy, assign | |
AliTrackletdNdetaTask (const char *name) | |
AliTrackletdNdetaTask () | |
virtual | ~AliTrackletdNdetaTask () |
AliTrackletdNdetaTask (const AliTrackletdNdetaTask &o) | |
AliTrackletdNdetaTask & | operator= (const AliTrackletdNdetaTask &o) |
Additional Inherited Members | |
![]() | |
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) |
static TObject * | GetO (TDirectory *parent, const char *name, TClass *cls) |
static TH1 * | GetH1 (Container *parent, const char *name) |
static TH2 * | GetH2 (Container *parent, const char *name) |
static Container * | GetC (Container *parent, const char *name) |
static Container * | GetC (TDirectory *parent, const char *name) |
static Double_t | GetD (Container *parent, const char *name, Double_t def=-1) |
static Int_t | GetI (Container *parent, const char *name, Int_t def=-1) |
static Int_t | GetB (Container *parent, const char *name, Bool_t def=false) |
static TH1 * | CopyH1 (Container *parent, const char *name, const char *newName=0) |
static TH2 * | CopyH2 (Container *parent, const char *name, const char *newName=0) |
static TH1 * | Make1D (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 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 &axis, 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 TH1 * | AverageOverIPz (TH2 *h, const char *name, UShort_t mode, TH1 *ipz, TH2 *mask=0) |
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) |
A task to analyse SPD tracklet data for the charged particle pseudorapidity density - real data case
Definition at line 45 of file AliTrackletdNdetaTask.C.
anonymous enum |
Flags for what to reconstruct
Enumerator | |
---|---|
kNormal | |
kInjection | |
kRotation |
Definition at line 53 of file AliTrackletdNdetaTask.C.
anonymous enum |
Enumerator | |
---|---|
kAll | |
kEvent | |
kMultiplicity | |
kClusters | |
kTrigger | |
kIP | |
kCentrality | |
kReconstructed | |
kInjected | |
kRotated | |
kCompleted |
Definition at line 58 of file AliTrackletdNdetaTask.C.
AliTrackletdNdetaTask::AliTrackletdNdetaTask | ( | const char * | name | ) |
|
inline |
Default constructor - for ROOT I/O only
Definition at line 461 of file AliTrackletdNdetaTask.C.
|
inlinevirtual |
Destructor
Definition at line 496 of file AliTrackletdNdetaTask.C.
|
inlineprotected |
Copy constructor
o | Object to copy from |
Definition at line 735 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Check the event. Results are returned with no side-effects other than to fill diagnostics histograms.
cent | On return, the centrality |
ip | On return, the IP coordinates |
mult | On return, the ESD multiplicity |
clusters | On return, the clusters (if needed) |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 2101 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::CheckEvent(), AliTrackletdNdetaMCTask::GetCDBReferenceURL(), and UserExec().
|
virtual |
Connect this task to the train
sumFile | (optional) event sum file |
resFile | (optional) result file |
Definition at line 1468 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Fill selected centrality bins with tracklet information
toRun | Selected centrality bins |
reco | Reconstructor |
mult | Container of tracklets |
trackletNumber | Tracklet number |
isSignal | If this is considered a signal |
ipz | Reconstructed IP z coordinate |
eta | Pseudorapidity of tracklet |
dPhi | Azimuthal opening angle |
dPhiS | Shifted azimuthal opening angle |
dTheta | Polar opening angle |
dThetaX | Scaled polar opening angle |
delta | Tracklet \(\chi^2\) |
weight | Tracklet weight (for MC) |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 1951 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::LookupWeight(), and ProcessTracklets().
|
protectedvirtual |
Fill histograms of used and all clusters in both layers using information from reconstructor directly.
reco | Reconstructor |
Definition at line 2034 of file AliTrackletdNdetaTask.C.
Referenced by ProcessTracklets().
|
protectedvirtual |
Fill histograms of used and all clusters in both layers using information from tracklets directly.
mult | Tracklet container |
ipZ | Primary interaction point Z coordinate |
Definition at line 2076 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Find the centrality of the event
event | Event |
Definition at line 1810 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
Find cluster (rec.point) tree - if needed
Definition at line 1791 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
|
protectedvirtual |
Find the interaction point location
event | Event |
maxDispersion | Largest spread |
maxZError | Largest uncertainty |
Definition at line 1833 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
|
protected |
Find the reconstruction mode associated with reco object
reco | Reconstruction object |
Definition at line 1937 of file AliTrackletdNdetaTask.C.
Referenced by FillBins(), AliTrackletdNdetaMCTask::FillBins(), and ProcessTracklets().
|
protectedvirtual |
Check if we got a selected trigger
Definition at line 1876 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
|
inline |
Called at end of worker job.
Definition at line 515 of file AliTrackletdNdetaTask.C.
|
inlineprotectedvirtual |
Get the CDB reference run number
Definition at line 805 of file AliTrackletdNdetaTask.C.
Referenced by InitCDB().
|
inlineprotectedvirtual |
Get the CDB reference URL
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 811 of file AliTrackletdNdetaTask.C.
Referenced by InitCDB().
|
protectedvirtual |
Make sure CDB is initialized
Definition at line 1586 of file AliTrackletdNdetaTask.C.
Referenced by WorkerInit().
|
protectedvirtual |
Initialize our centrality bins.
existing | If null, also create new sub-sets. If non-null, read sub-sets from the container passed (using in Terminate). |
Definition at line 1543 of file AliTrackletdNdetaTask.C.
Referenced by Terminate(), and WorkerInit().
|
protectedvirtual |
Check that we have an initialized geometry if needed
Definition at line 1642 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
|
inlineprotectedvirtual |
Make a centrality bin
c1 | Low edge |
c2 | High edge |
recFlags | Reconstruction flags |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 1002 of file AliTrackletdNdetaTask.C.
Referenced by InitCentBins().
|
protectedvirtual |
Called on master on merged result.
results | Output container for results |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 1750 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::CentBin::CentBin(), AliTrackletdNdetaMCTask::GetCDBReferenceURL(), AliTrackletdNdetaMCTask::MasterFinalize(), and Terminate().
|
inlineprotected |
Assignment operator
o | Object to assign from |
Definition at line 774 of file AliTrackletdNdetaTask.C.
|
virtual |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 1517 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::Print(), and Terminate().
|
protectedvirtual |
Do the actual event processing. If we get here, then the event passed the physics and centrality selections.
cent | Centrality |
ip | Interaction point |
mult | Reconstructed multiplicity (tracklets) |
clusters | Clusters (if needed) |
Definition at line 2168 of file AliTrackletdNdetaTask.C.
Referenced by UserExec().
|
protectedvirtual |
Process tracklets from a reconstructon.
toRun | Centrality bins to process |
reco | Reconstructor |
cent | The centrality |
ipZ | The Z coordinate of the vertex |
mult | The tracklet container |
Definition at line 1884 of file AliTrackletdNdetaTask.C.
Referenced by ProcessEvent(), and Reconstruct().
|
protectedvirtual |
(Re-)Run reconstruction from clusters.
toRun | Centrality bins to process |
mode | Reconstruction mode |
clusters | Cluster tree |
cent | Centrality |
ip | Coordinates of IP |
Definition at line 1975 of file AliTrackletdNdetaTask.C.
Referenced by ProcessEvent().
Set the centrality axis
n | Number of bins |
bins | Bin borders (n+1 entries) |
Definition at line 562 of file AliTrackletdNdetaTask.C.
|
inline |
Set the centraliy axis
spec | bin specification |
Definition at line 571 of file AliTrackletdNdetaTask.C.
|
inline |
Set the centrality method to use
name | Name of centrality method |
Definition at line 555 of file AliTrackletdNdetaTask.C.
|
inline |
Set upper cut on \(\Delta\) for signals
x | Value |
Definition at line 675 of file AliTrackletdNdetaTask.C.
|
inline |
Set \(\delta_{\phi}\)
x | Shift of \(\Delta\phi\) |
Definition at line 657 of file AliTrackletdNdetaTask.C.
|
inline |
Set \( d\phi\) window - used for reconstruction only
x | Value |
Definition at line 699 of file AliTrackletdNdetaTask.C.
|
inline |
Set the \( \eta\) axis
n | Number of bins |
min | Least value |
max | Largest value |
Definition at line 628 of file AliTrackletdNdetaTask.C.
Set the \( \eta\) axis
n | Number of bins |
max | Largest absolute value |
Definition at line 638 of file AliTrackletdNdetaTask.C.
|
inline |
Definition at line 642 of file AliTrackletdNdetaTask.C.
Set the \( \mathrm{IP}_z\) axis
n | Number of bins |
min | Least value |
max | Largest value |
Definition at line 582 of file AliTrackletdNdetaTask.C.
Set the \( \mathrm{IP}_z\) axis
n | Number of bins |
max | Largest absolute value |
Definition at line 592 of file AliTrackletdNdetaTask.C.
|
inline |
Definition at line 596 of file AliTrackletdNdetaTask.C.
|
inline |
Set Maximum \( \Delta\) to consider
x | Value |
Definition at line 681 of file AliTrackletdNdetaTask.C.
Set the \( \varphi\) axis
n | Number of bins |
min | Least value |
max | Largest value |
Definition at line 607 of file AliTrackletdNdetaTask.C.
Set the \( \varphi\) axis
n | Number of bins |
max | Largest absolute value |
Definition at line 617 of file AliTrackletdNdetaTask.C.
|
inline |
Set PhiOverlapCut - used for reconstruction only
x | Value |
Definition at line 705 of file AliTrackletdNdetaTask.C.
|
inline |
Set PhiRotation - used for rotated reconstruction only
x | Value |
Definition at line 717 of file AliTrackletdNdetaTask.C.
|
inline |
Definition at line 535 of file AliTrackletdNdetaTask.C.
|
inline |
Set the reconstruction mode to use
flags | Bit mask of flags |
Definition at line 549 of file AliTrackletdNdetaTask.C.
|
inline |
Set wether to scale \(\Delta\theta\) by \(\sin^2\theta\)
x | If true, scale |
Definition at line 651 of file AliTrackletdNdetaTask.C.
|
inline |
Set (optional) cut on \(\Delta\theta/\sin^2\theta\)
x | Cut on scaled \(\Delta\theta\) |
Definition at line 669 of file AliTrackletdNdetaTask.C.
|
inline |
Set cut on \(\Delta\phi-\delta_{\phi}\)
x | Cut on shifted \(\Delta\phi\) |
Definition at line 663 of file AliTrackletdNdetaTask.C.
|
inline |
Set lower cut on tail of \(\Delta\) distributions
x | Value |
Definition at line 687 of file AliTrackletdNdetaTask.C.
|
inline |
Set ZEtaOverlapCut - used for reconstruction only
x | Value |
Definition at line 711 of file AliTrackletdNdetaTask.C.
void AliTrackletdNdetaTask::Terminate | ( | Option_t * | ) |
Called at end of master job on merged results.
Definition at line 1446 of file AliTrackletdNdetaTask.C.
|
inlineprotectedvirtual |
Get weight of a tracklet (for MC)
trackletNumber | Tracklet number |
mult | Tracklet container |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 877 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::GetCDBReferenceURL(), and ProcessTracklets().
void AliTrackletdNdetaTask::UserCreateOutputObjects | ( | ) |
Delegate worker initialization
Definition at line 1420 of file AliTrackletdNdetaTask.C.
void AliTrackletdNdetaTask::UserExec | ( | Option_t * | ) |
Event processing
Definition at line 1427 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Called at end of worker job
Definition at line 1744 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Reimplemented in AliTrackletdNdetaMCTask.
Definition at line 1654 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::CentBin::CentBin(), AliTrackletdNdetaMCTask::GetCDBReferenceURL(), UserCreateOutputObjects(), and AliTrackletdNdetaMCTask::WorkerInit().
|
protected |
Definition at line 1024 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), MasterFinalize(), and WorkerInit().
|
protected |
Definition at line 1025 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), MasterFinalize(), and WorkerInit().
|
protected |
Definition at line 1019 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent(), MasterFinalize(), WorkerInit(), and AliTrackletdNdetaMCTask::WorkerInit().
|
protected |
Definition at line 1015 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaTask(), FindCentrality(), InitCentBins(), Print(), and WorkerInit().
|
protected |
Definition at line 1013 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::FillPrimaries(), InitCentBins(), MasterFinalize(), and ProcessEvent().
|
protected |
Definition at line 1014 of file AliTrackletdNdetaTask.C.
Referenced by FindCentrality().
|
protected |
Definition at line 1012 of file AliTrackletdNdetaTask.C.
Referenced by InitCentBins(), MasterFinalize(), Terminate(), UserCreateOutputObjects(), UserExec(), and WorkerInit().
|
protected |
Definition at line 1034 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), MasterFinalize(), Print(), ProcessTracklets(), and WorkerInit().
|
protected |
Definition at line 1031 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), Print(), ProcessTracklets(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1036 of file AliTrackletdNdetaTask.C.
Referenced by InitCentBins(), Print(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1035 of file AliTrackletdNdetaTask.C.
Referenced by InitCentBins(), Print(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1017 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaTask(), InitCentBins(), Print(), ProcessTracklets(), and WorkerInit().
|
protected |
Definition at line 1021 of file AliTrackletdNdetaTask.C.
Referenced by ProcessTracklets(), and WorkerInit().
|
protected |
Definition at line 1020 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent(), MasterFinalize(), WorkerFinalize(), and WorkerInit().
|
protected |
Definition at line 1016 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaTask(), FindIP(), InitCentBins(), Print(), and WorkerInit().
|
protected |
Definition at line 1029 of file AliTrackletdNdetaTask.C.
Referenced by InitCentBins(), Print(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1018 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaTask(), Print(), and WorkerInit().
|
protected |
Definition at line 1037 of file AliTrackletdNdetaTask.C.
Referenced by Print(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1039 of file AliTrackletdNdetaTask.C.
Referenced by Print(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1027 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent(), InitCentBins(), InitGeometry(), Print(), ProcessEvent(), and WorkerInit().
|
protected |
Definition at line 1033 of file AliTrackletdNdetaTask.C.
Referenced by Print(), ProcessTracklets(), and WorkerInit().
|
protected |
Definition at line 1028 of file AliTrackletdNdetaTask.C.
Referenced by InitCentBins(), Print(), ProcessTracklets(), Reconstruct(), and WorkerInit().
|
protected |
Definition at line 1032 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), Print(), ProcessTracklets(), and WorkerInit().
|
protected |
Definition at line 1026 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent(), MasterFinalize(), ProcessEvent(), UserExec(), WorkerInit(), and AliTrackletdNdetaMCTask::WorkerInit().
|
protected |
Definition at line 1030 of file AliTrackletdNdetaTask.C.
Referenced by MasterFinalize(), Print(), and WorkerInit().
|
protected |
Definition at line 1022 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), MasterFinalize(), and WorkerInit().
|
protected |
Definition at line 1023 of file AliTrackletdNdetaTask.C.
Referenced by FillClusters(), MasterFinalize(), and WorkerInit().
|
protected |
Definition at line 1038 of file AliTrackletdNdetaTask.C.
Referenced by Print(), Reconstruct(), and WorkerInit().