![]() |
AliPhysics
8dc8609 (8dc8609)
|
#include <AliFMDCorrSecondaryMap.h>
Public Member Functions | |
AliFMDCorrSecondaryMap () | |
AliFMDCorrSecondaryMap (const AliFMDCorrSecondaryMap &o) | |
virtual | ~AliFMDCorrSecondaryMap () |
Get corrections and parameters | |
AliFMDCorrSecondaryMap & | operator= (const AliFMDCorrSecondaryMap &o) |
TH2D * | GetCorrection (UShort_t d, Char_t r, Double_t v) const |
TH2D * | GetCorrection (UShort_t d, Char_t r, UShort_t b) const |
const TAxis & | GetVertexAxis () const |
const TAxis & | GetEtaAxis () const |
Set corrections and parameters | |
Bool_t | SetCorrection (UShort_t d, Char_t r, Double_t v, TH2D *h) |
Bool_t | SetCorrection (UShort_t d, Char_t r, UShort_t b, TH2D *h) |
void | SetVertexAxis (const TAxis &axis) |
void | SetVertexAxis (Int_t nBins, Double_t min, Double_t max) |
void | SetEtaAxis (const TAxis &axis) |
void | SetEtaAxis (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 |
Int_t | GetRingIndex (UShort_t d, Char_t r) const |
TObjArray * | GetRingArray (UShort_t d, Char_t r) const |
TObjArray * | GetOrMakeRingArray (UShort_t d, Char_t r) |
Protected Attributes | |
TObjArray | fRingArray |
TAxis | fVertexAxis |
TAxis | fEtaAxis |
This class contains the secondary correction.
The secondary correction is given by
\[ c_{r,v}(\eta,\varphi) = \frac{\sum_i N_{ch,i,v,\mbox{primary}}(\eta,\varphi)}{ \sum_i N_{ch,i,r,v,\mbox{FMD}}(\eta,\varphi)} \]
where \(N_{ch,i,v,\mbox{primary}}(\eta,\varphi)\) is the is the number of primary charged particles that fall within the \((\eta,\varphi)\) bin in event \(i\) with vertex \(v\), and is the total (primary and secondary) charged particles that hit ring \(r\) within \((\eta,\varphi)\) bin in event \(i\) with vertex \(v\).
These are generated from Monte-Carlo truth information.
Definition at line 42 of file AliFMDCorrSecondaryMap.h.
AliFMDCorrSecondaryMap::AliFMDCorrSecondaryMap | ( | ) |
Default constructor
Definition at line 12 of file AliFMDCorrSecondaryMap.cxx.
AliFMDCorrSecondaryMap::AliFMDCorrSecondaryMap | ( | const AliFMDCorrSecondaryMap & | o | ) |
Copy constructor
o | Object to copy from |
Definition at line 29 of file AliFMDCorrSecondaryMap.cxx.
|
virtual |
Destructor
Definition at line 50 of file AliFMDCorrSecondaryMap.cxx.
void AliFMDCorrSecondaryMap::Browse | ( | TBrowser * | b | ) |
Browse this object in the browser
b |
Definition at line 300 of file AliFMDCorrSecondaryMap.cxx.
Find the vertex bin that corresponds to the passed vertex
vertex | The interaction points \(z\)-coordinate |
Definition at line 132 of file AliFMDCorrSecondaryMap.cxx.
Referenced by GetCorrection(), and SetCorrection().
Get the secondary correction \( c_{r,v}\)
d | Detector number (1-3) |
r | Ring identifier (I or O) |
v | Primary interaction point \(z\) coordinate |
Definition at line 79 of file AliFMDCorrSecondaryMap.cxx.
Referenced by CompareSecMaps(), AliFMDCorrector::Correct(), AliFMDMCCorrector::CorrectMC(), DrawCorrSecMap2(), CorrDrawer::DrawIt(), and AliFMDHistCollector::VtxBin::SetupForData().
Get the secondary correction \( c_{r,v}\)
d | Detector number (1-3) |
r | Ring identifier (I or O) |
b | Bin corresponding to the primary interaction point \(z\) coordinate (1 based) |
Definition at line 98 of file AliFMDCorrSecondaryMap.cxx.
|
inline |
Get the eta axis used
Definition at line 104 of file AliFMDCorrSecondaryMap.h.
Referenced by AliForwardCorrectionManager::GetEtaAxis().
Get the ring array corresponding to the specified ring
d | Detector |
r | Ring |
Definition at line 205 of file AliFMDCorrSecondaryMap.cxx.
Referenced by SetCorrection().
Get the ring array corresponding to the specified ring
d | Detector |
r | Ring |
Definition at line 180 of file AliFMDCorrSecondaryMap.cxx.
Referenced by GetCorrection().
Get the index corresponding to the given ring
d | Detector |
r | Ring |
Definition at line 158 of file AliFMDCorrSecondaryMap.cxx.
Referenced by GetOrMakeRingArray(), and GetRingArray().
|
inline |
Get the vertex axis used
Definition at line 98 of file AliFMDCorrSecondaryMap.h.
Referenced by CompareSecMaps(), DrawCorrSecMap2(), CorrDrawer::DrawIt(), and AliForwardCorrectionManager::GetVertexAxis().
|
inline |
Declare this as a folder
Definition at line 175 of file AliFMDCorrSecondaryMap.h.
AliFMDCorrSecondaryMap & AliFMDCorrSecondaryMap::operator= | ( | const AliFMDCorrSecondaryMap & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 60 of file AliFMDCorrSecondaryMap.cxx.
void AliFMDCorrSecondaryMap::Print | ( | Option_t * | option = "R" | ) | const |
Set the secondary map correction \( c_{r,v}(\eta,\varphi)\). Note, that the object takes ownership of the passed pointer.
d | Detector number (1-3) |
r | Ring identifier (I or O) |
v | Primary interaction point \(z\) coordinate |
h | \( c_{r,v}(\eta,\varphi)\) |
Definition at line 274 of file AliFMDCorrSecondaryMap.cxx.
Referenced by MakeSecMap(), and AliForwardMCCorrectionsTask::VtxBin::Terminate().
Set the secondary map correction \( c_{r,v}(\eta,\varphi)\) Note, that the object takes ownership of the passed pointer.
d | Detector number (1-3) |
r | Ring identifier (I or O) |
b | Bin corresponding to the primary interaction point \(z\) coordinate (1 based) |
h | \( c_{r,v}(\eta,\varphi)\) |
Definition at line 234 of file AliFMDCorrSecondaryMap.cxx.
|
inline |
Set the eta axis to use
axis | Eta axis |
Definition at line 256 of file AliFMDCorrSecondaryMap.h.
Referenced by AliForwardMCCorrectionsTask::CreateCorrections(), MakeCorrSecMap(), and operator=().
Set the eta axis to use
nBins | Number of bins |
min | Minimum |
max | Maximum |
Definition at line 250 of file AliFMDCorrSecondaryMap.h.
|
inline |
Set the vertex axis to use
axis | Vertex axis |
Definition at line 241 of file AliFMDCorrSecondaryMap.h.
Referenced by AliForwardMCCorrectionsTask::CreateCorrections(), MakeCorrSecMap(), and operator=().
Set the vertex axis to use
nBins | Number of bins |
min | Minimum |
max | Maximum |
Definition at line 235 of file AliFMDCorrSecondaryMap.h.
|
protected |
Definition at line 229 of file AliFMDCorrSecondaryMap.h.
Referenced by AliFMDCorrSecondaryMap(), Browse(), GetEtaAxis(), operator=(), Print(), and SetEtaAxis().
|
protected |
Definition at line 227 of file AliFMDCorrSecondaryMap.h.
Referenced by AliFMDCorrSecondaryMap(), Browse(), GetOrMakeRingArray(), GetRingArray(), operator=(), Print(), and ~AliFMDCorrSecondaryMap().
|
protected |
Definition at line 228 of file AliFMDCorrSecondaryMap.h.
Referenced by AliFMDCorrSecondaryMap(), Browse(), FindVertexBin(), GetOrMakeRingArray(), GetVertexAxis(), operator=(), Print(), SetCorrection(), and SetVertexAxis().