![]() |
AliPhysics
96866e8 (96866e8)
|
Public Types | |
enum | ECalc { kProduct, kSquare, kSum, kAverage } |
Public Attributes | |
UChar_t | fCalc |
UChar_t | fMask |
UChar_t | fVeto |
Bool_t | fInverse |
Int_t | fDebug |
Related Functions | |
(Note that these are not member functions.) | |
Calculate epos-lhc weights | |
void | MakeEposWeight (const char *file1, const char *file2) |
Name @f$ K_S^0@f$ weights | |
void | MakeK0S () |
Make realistic weights | |
void | MakeRealistic () |
Make Ruben's weights | |
void | MakeRuben () |
Make strangeness weights | |
void | MakeStrange () |
Make Roberto's weights | |
void | MakeWeight () |
Read in weights | |
void | ReadWeights (const char *filename="weights.root") |
Base class for tracklets weights
Definition at line 73 of file AliTrackletWeights.C.
Mode calculation
Definition at line 79 of file AliTrackletWeights.C.
|
inline |
Default constructor - ROOT I/O only
Definition at line 127 of file AliTrackletWeights.C.
|
inline |
Named constructor
name | Name of object |
title | (optional) free-form title |
Definition at line 141 of file AliTrackletWeights.C.
|
inline |
Copy constructor
o | Object to copy from |
Definition at line 155 of file AliTrackletWeights.C.
|
inlinevirtual |
Destructor
Definition at line 166 of file AliTrackletWeights.C.
|
pure virtual |
Calculate the weight of a tracklet. This member function must be overloaded.
tracklet | Tracklet |
cent | Centrality |
ipz | Interaction point Z coordinate |
corr | Optional histogram to fill with correlation of weights |
Implemented in AliTrackletDeltaWeights, and AliTrackletPtPidStrWeights.
|
pure virtual |
Calculate weight of a particle
particle | Particle |
cent | Centrality |
ipZ | Interaction point |
Implemented in AliTrackletDeltaWeights, and AliTrackletPtPidStrWeights.
|
inline |
Check if tracklet is to be reweighed according to mask and veto
tracklet | Tracklet |
Definition at line 267 of file AliTrackletWeights.C.
|
inline |
Definition at line 388 of file AliTrackletWeights.C.
|
inline |
Find the tracklet weight
tracklet | Tracklet |
cent | Centrality |
ipz | Interaction point Z coordinate |
corr | Optional histogram to fill with correlation of weights |
Definition at line 293 of file AliTrackletWeights.C.
|
inline |
Look-up weight of a particle
particle | Particle |
cent | Centrality |
ipz | Interaction point z-coordinate |
Definition at line 312 of file AliTrackletWeights.C.
|
inline |
Assignment operator
o | Object to assign from |
Definition at line 175 of file AliTrackletWeights.C.
Referenced by AliTrackletPtPidStrWeights::operator=(), and AliTrackletDeltaWeights::operator=().
|
inlinevirtual |
Print information on reweights
option | Not used |
Reimplemented in AliTrackletDeltaWeights, and AliTrackletPtPidStrWeights.
Definition at line 394 of file AliTrackletWeights.C.
Referenced by AliTrackletPtPidStrWeights::Print(), and AliTrackletDeltaWeights::Print().
|
inlinevirtual |
Retrieve weights from a collection
in | Input collection |
Reimplemented in AliTrackletPtPidStrWeights.
Definition at line 371 of file AliTrackletWeights.C.
Referenced by AliTrackletPtPidStrWeights::Retrieve().
|
inline |
Set the mode for calculating the weight of a tracklet. A tracklet consist of two clusters with labels \( i\) and \( j\). A weight ( \( w_i\) and \( w_j\)) is assigned to each of the particles corresponding to the tracks with these labels. The weight is calculated from the particle species and transverse momentum of the primary mother particle of the tracks \( i\) and \( j\). The weight of a tracklet can then be calculated in four different ways
Product
\[ w = \left\{\begin{array}{cl} w_i & \mbox{for} i=j\\ w_i w_j & \mbox{for} i\neq j\\ \end{array}\right.\quad, \]
Square root of product of weights
\[ w = \left\{\begin{array}{cl} w_i & \mbox{for} i=j\\ \sqrt(w_i w_j) & \mbox{for} i\neq j\\ \end{array}\right.\quad, \]
Sum of weights
\[ w = 1 + \left\{\begin{array}{cl} 2(w_i-1) & \mbox{for} i=j\\ (w_i-1) + (w_j-1) & \mbox{for} i\neq j\\ \end{array}\right.\quad, \]
Average of weights
\[ w = 1 + \left\{\begin{array}{cl} (w_i-1) & \mbox{for} i=j\\ ((w_i-1) + (w_j-1))/2 & \mbox{for} i\neq j\\ \end{array}\right.\quad. \]
mode | Whether to take square root or not |
Definition at line 233 of file AliTrackletWeights.C.
|
inline |
|
inline |
Inverse the weights calculated. That is, if this option is enabled, then the weight used is \(1/w\) where \(w\) is the normal weight.
inv | If true, inverse weights |
Definition at line 253 of file AliTrackletWeights.C.
|
inline |
Set the tracklet mask
mask | Mask to use |
Definition at line 239 of file AliTrackletWeights.C.
Referenced by MakeRuben().
|
inline |
Set the tracklet veto
veto | Veto to use |
Definition at line 245 of file AliTrackletWeights.C.
Referenced by MakeRuben().
|
inlinevirtual |
Store values
parent | Parent container |
Reimplemented in AliTrackletPtPidStrWeights.
Definition at line 352 of file AliTrackletWeights.C.
Referenced by AliTrackletPtPidStrWeights::Store().
|
related |
|
related |
Make realistic weights
Definition at line 23 of file MakeRealistic.C.
|
related |
Make Ruben's weights
Definition at line 23 of file MakeRuben.C.
|
related |
Make strangeness weights
Definition at line 23 of file MakeStrange.C.
|
related |
Extract weights from Roberto's files
Definition at line 23 of file MakeWeight.C.
|
related |
UChar_t AliTrackletBaseWeights::fCalc |
Definition at line 406 of file AliTrackletWeights.C.
Referenced by AliTrackletPtPidStrWeights::CalcWeight(), and operator=().
Int_t AliTrackletBaseWeights::fDebug |
Definition at line 410 of file AliTrackletWeights.C.
Referenced by AliTrackletPtPidStrWeights::CalcWeight(), and operator=().
Bool_t AliTrackletBaseWeights::fInverse |
Definition at line 409 of file AliTrackletWeights.C.
Referenced by operator=().
UChar_t AliTrackletBaseWeights::fMask |
Definition at line 407 of file AliTrackletWeights.C.
Referenced by operator=().
UChar_t AliTrackletBaseWeights::fVeto |
Definition at line 408 of file AliTrackletWeights.C.
Referenced by operator=().