![]() |
AliPhysics
45fd833 (45fd833)
|
#include <AliFMDCorrVertexBias.h>
Public Member Functions | |
AliFMDCorrVertexBias () | |
AliFMDCorrVertexBias (const AliFMDCorrVertexBias &o) | |
virtual | ~AliFMDCorrVertexBias () |
Get corrections and parameters | |
AliFMDCorrVertexBias & | operator= (const AliFMDCorrVertexBias &o) |
TH2D * | GetCorrection (Char_t r, Double_t v) const |
TH2D * | GetCorrection (Char_t r, UShort_t b) const |
const TAxis & | GetVertexAxis () const |
Set corrections and parameters | |
Bool_t | SetCorrection (Char_t r, Double_t v, TH2D *h) |
Bool_t | SetCorrection (Char_t r, UShort_t b, TH2D *h) |
void | SetVertexAxis (const TAxis &axis) |
void | SetVertexAxis (Int_t nBins, Double_t min, Double_t max) |
Auxiliary member functions | |
Bool_t | IsFolder () const |
void | Browse (TBrowser *b) |
void | Print (Option_t *option="R") const |
Protected Member Functions | |
Int_t | FindVertexBin (Double_t vertex) const |
TObjArray * | GetVertexArray (UShort_t v) const |
TObjArray * | GetOrMakeVertexArray (UShort_t v) |
Protected Attributes | |
TObjArray | fVertexArray |
TAxis | fVertexAxis |
This class contains the correction for the bias introduced by different vertex bins
The correction is given by
\[ b_{v}(\eta,\varphi) = \frac{1/N_{t}\sum_i^{N_{tv}} N_{ch,i,primary}}{ 1/N_{v}\sum_i^{N_{v}} N_{ch,i,primary}} \]
where \(N_{ch,i,primary}\) is the number of primary particles in the given \((\eta,\varphi)\), and where the denominator sum runs over all events with a vertex within the given vertex bin, and the sum in the numerator runs over only events that have a valid trigger and reconstructed vertex. \( N_{t}\) is the number of events with a valid trigger (but not necessarily a valid vertex). The vertex information used \(v\) is in all cases the MC truth vertex
These are generated from Monte-Carlo truth and ESD information.
Definition at line 45 of file AliFMDCorrVertexBias.h.
AliFMDCorrVertexBias::AliFMDCorrVertexBias | ( | ) |
Default constructor
Definition at line 12 of file AliFMDCorrVertexBias.cxx.
AliFMDCorrVertexBias::AliFMDCorrVertexBias | ( | const AliFMDCorrVertexBias & | o | ) |
Copy constructor
o | Object to copy from |
Definition at line 26 of file AliFMDCorrVertexBias.cxx.
|
virtual |
Destructor
Definition at line 42 of file AliFMDCorrVertexBias.cxx.
void AliFMDCorrVertexBias::Browse | ( | TBrowser * | b | ) |
Browse this object in the browser
b |
Definition at line 278 of file AliFMDCorrVertexBias.cxx.
Referenced by IsFolder().
Find the vertex bin that corresponds to the passed vertex
vertex | The interaction points \(z\)-coordinate |
Definition at line 125 of file AliFMDCorrVertexBias.cxx.
Referenced by GetCorrection(), IsFolder(), and SetCorrection().
Get the vertex bias correction \( b_{v}\)
r | Ring type (I or O) |
v | Primary interaction point \(z\) coordinate |
Definition at line 70 of file AliFMDCorrVertexBias.cxx.
Referenced by CompareVtxBias(), AliFMDCorrector::Correct(), AliFMDMCCorrector::CorrectMC(), and DrawCorrVtxBias().
Get the vertex bias correction \( b_{v}\)
r | Ring type (I or O) |
b | Bin corresponding to the primary interaction point \(z\) coordinate (1 based) |
Definition at line 88 of file AliFMDCorrVertexBias.cxx.
Get the vertex array corresponding to the specified ring
v | vertex bin (1 based) |
Definition at line 178 of file AliFMDCorrVertexBias.cxx.
Referenced by IsFolder(), and SetCorrection().
Get the vertex array corresponding to the specified ring
v | vertex bin (1 based) |
Definition at line 151 of file AliFMDCorrVertexBias.cxx.
Referenced by GetCorrection(), and IsFolder().
|
inline |
Get the vertex axis used
Definition at line 99 of file AliFMDCorrVertexBias.h.
Referenced by CompareVtxBias(), and DrawCorrVtxBias().
|
inline |
AliFMDCorrVertexBias & AliFMDCorrVertexBias::operator= | ( | const AliFMDCorrVertexBias & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 52 of file AliFMDCorrVertexBias.cxx.
void AliFMDCorrVertexBias::Print | ( | Option_t * | option = "R" | ) | const |
Print this object
option |
Definition at line 291 of file AliFMDCorrVertexBias.cxx.
Referenced by IsFolder().
Set the vertex bias correction \( b_{v}(\eta,\varphi)\). Note, that the object takes ownership of the passed pointer.
r | Ring type (I or O) |
v | Primary interaction point \(z\) coordinate |
h | \( b_{v}(\eta,\varphi)\) |
Definition at line 254 of file AliFMDCorrVertexBias.cxx.
Referenced by GetVertexAxis().
Set the vertex bias correction \( b_{v}(\eta,\varphi)\) Note, that the object takes ownership of the passed pointer.
r | Ring type (I or O) |
b | Bin corresponding to the primary interaction point \(z\) coordinate (1 based) |
h | \( b_{v}(\eta,\varphi)\) |
Definition at line 209 of file AliFMDCorrVertexBias.cxx.
|
inline |
Set the vertex axis to use
axis | Vertex axis |
Definition at line 208 of file AliFMDCorrVertexBias.h.
Referenced by GetVertexAxis(), and operator=().
Set the vertex axis to use
nBins | Number of bins |
min | Minimum |
max | Maximum |
Definition at line 202 of file AliFMDCorrVertexBias.h.
|
protected |
Definition at line 195 of file AliFMDCorrVertexBias.h.
Referenced by AliFMDCorrVertexBias(), Browse(), GetOrMakeVertexArray(), GetVertexArray(), operator=(), Print(), and ~AliFMDCorrVertexBias().
|
protected |
Definition at line 196 of file AliFMDCorrVertexBias.h.
Referenced by AliFMDCorrVertexBias(), Browse(), FindVertexBin(), GetOrMakeVertexArray(), GetVertexArray(), GetVertexAxis(), operator=(), Print(), SetCorrection(), and SetVertexAxis().