AliPhysics  45fd833 (45fd833)
AliFMDCorrDoubleHit Class Reference

#include <AliFMDCorrDoubleHit.h>

Inheritance diagram for AliFMDCorrDoubleHit:

Public Member Functions

 AliFMDCorrDoubleHit ()
 
 AliFMDCorrDoubleHit (const AliFMDCorrDoubleHit &o)
 
virtual ~AliFMDCorrDoubleHit ()
 
AliFMDCorrDoubleHitoperator= (const AliFMDCorrDoubleHit &o)
 
Get corrections and parameters
TH1DGetCorrection (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
 

Detailed Description

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.

Constructor & Destructor Documentation

AliFMDCorrDoubleHit::AliFMDCorrDoubleHit ( )

Default constructor

Definition at line 13 of file AliFMDCorrDoubleHit.cxx.

AliFMDCorrDoubleHit::AliFMDCorrDoubleHit ( const AliFMDCorrDoubleHit o)

Copy constructor

Parameters
oObject to copy from

Definition at line 23 of file AliFMDCorrDoubleHit.cxx.

AliFMDCorrDoubleHit::~AliFMDCorrDoubleHit ( )
virtual

Destructor

Definition at line 33 of file AliFMDCorrDoubleHit.cxx.

Member Function Documentation

void AliFMDCorrDoubleHit::Browse ( TBrowser *  b)

Browse this object in the browser

Parameters
b

Definition at line 133 of file AliFMDCorrDoubleHit.cxx.

Referenced by IsFolder().

TH1D * AliFMDCorrDoubleHit::GetCorrection ( UShort_t  d,
Char_t  r 
) const

Get the double hit correction \( h_{r}(\eta)\)

Parameters
dDetector number
rRing identifier
Returns
\( h_{r}(\eta)\)

Definition at line 54 of file AliFMDCorrDoubleHit.cxx.

Referenced by AliFMDDensityCalculator::Correction().

Int_t AliFMDCorrDoubleHit::GetRingIndex ( UShort_t  d,
Char_t  r 
) const
protected

Get the index corresponding to the given ring

Parameters
dDetector
rRing
Returns
Index (0 based) or negative in case of errors

Definition at line 78 of file AliFMDCorrDoubleHit.cxx.

Referenced by GetCorrection(), IsFolder(), and SetCorrection().

Bool_t AliFMDCorrDoubleHit::IsFolder ( ) const
inline

Declare this as a folder

Returns
Always true

Definition at line 108 of file AliFMDCorrDoubleHit.h.

AliFMDCorrDoubleHit & AliFMDCorrDoubleHit::operator= ( const AliFMDCorrDoubleHit o)

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 42 of file AliFMDCorrDoubleHit.cxx.

void AliFMDCorrDoubleHit::Print ( Option_t option = "R") const

Print this object

Parameters
option

Definition at line 143 of file AliFMDCorrDoubleHit.cxx.

Referenced by IsFolder().

Bool_t AliFMDCorrDoubleHit::SetCorrection ( UShort_t  d,
Char_t  r,
TH1D h 
)

Set the double hit correction \( h_{r}(\eta)\). Note, that the object takes ownership of the passed pointer.

Parameters
dDetector number (1-3)
rRing identifier (I or O)
h\( h_{r}(\eta)\)
Returns
true if operation succeeded

Definition at line 101 of file AliFMDCorrDoubleHit.cxx.

Member Data Documentation

TObjArray AliFMDCorrDoubleHit::fCorrections
protected

The documentation for this class was generated from the following files: