![]() |
AliPhysics
45fd833 (45fd833)
|
#include <AliFMDCorrDoubleHit.h>
Public Member Functions | |
AliFMDCorrDoubleHit () | |
AliFMDCorrDoubleHit (const AliFMDCorrDoubleHit &o) | |
virtual | ~AliFMDCorrDoubleHit () |
AliFMDCorrDoubleHit & | operator= (const AliFMDCorrDoubleHit &o) |
Get corrections and parameters | |
TH1D * | GetCorrection (UShort_t d, Char_t r) const |
Set corrections and parameters | |
Bool_t | SetCorrection (UShort_t d, Char_t r, TH1D *h) |
Auxiliary member functions | |
Bool_t | IsFolder () const |
void | Browse (TBrowser *b) |
void | Print (Option_t *option="R") const |
Protected Member Functions | |
Int_t | GetRingIndex (UShort_t d, Char_t r) const |
Protected Attributes | |
TObjArray | fCorrections |
This class contains double hit correction used in low-flux events.
The double hit correction is given by
\[ h_{r}(\eta) = \frac{\sum_i N_{i,strips hit}(\eta)}{ \sum_i N_{i,total hits}(\eta)} \]
where \( N_{i,strips hit}(\eta)\) is the number of strips in the \(\eta\) bin that had one or more hits in event \(i\), and \(N_{i,total hits}(\eta)\) is the total number hits in the \(\eta\) bin.
These are generated from Monte-Carlo truth information.
Definition at line 41 of file AliFMDCorrDoubleHit.h.
AliFMDCorrDoubleHit::AliFMDCorrDoubleHit | ( | ) |
Default constructor
Definition at line 13 of file AliFMDCorrDoubleHit.cxx.
AliFMDCorrDoubleHit::AliFMDCorrDoubleHit | ( | const AliFMDCorrDoubleHit & | o | ) |
Copy constructor
o | Object to copy from |
Definition at line 23 of file AliFMDCorrDoubleHit.cxx.
|
virtual |
Destructor
Definition at line 33 of file AliFMDCorrDoubleHit.cxx.
void AliFMDCorrDoubleHit::Browse | ( | TBrowser * | b | ) |
Browse this object in the browser
b |
Definition at line 133 of file AliFMDCorrDoubleHit.cxx.
Referenced by IsFolder().
Get the double hit correction \( h_{r}(\eta)\)
d | Detector number |
r | Ring identifier |
Definition at line 54 of file AliFMDCorrDoubleHit.cxx.
Referenced by AliFMDDensityCalculator::Correction().
Get the index corresponding to the given ring
d | Detector |
r | Ring |
Definition at line 78 of file AliFMDCorrDoubleHit.cxx.
Referenced by GetCorrection(), IsFolder(), and SetCorrection().
|
inline |
AliFMDCorrDoubleHit & AliFMDCorrDoubleHit::operator= | ( | const AliFMDCorrDoubleHit & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 42 of file AliFMDCorrDoubleHit.cxx.
void AliFMDCorrDoubleHit::Print | ( | Option_t * | option = "R" | ) | const |
Print this object
option |
Definition at line 143 of file AliFMDCorrDoubleHit.cxx.
Referenced by IsFolder().
Set the double hit correction \( h_{r}(\eta)\). Note, that the object takes ownership of the passed pointer.
d | Detector number (1-3) |
r | Ring identifier (I or O) |
h | \( h_{r}(\eta)\) |
Definition at line 101 of file AliFMDCorrDoubleHit.cxx.
|
protected |
Definition at line 133 of file AliFMDCorrDoubleHit.h.
Referenced by AliFMDCorrDoubleHit(), Browse(), GetCorrection(), operator=(), Print(), SetCorrection(), and ~AliFMDCorrDoubleHit().