AliFMDReconstructor Class Reference
[Reconstruction]

#include <AliFMDReconstructor.h>

List of all members.


Detailed Description

This is a class that reconstructs AliFMDRecPoint objects from of Digits. This class reads either digits from a TClonesArray or raw data from a DDL file (or similar), and applies calibrations to get psuedo-inclusive multiplicities per strip.

Definition at line 40 of file AliFMDReconstructor.h.

Public Member Functions

 AliFMDReconstructor ()
virtual ~AliFMDReconstructor ()
virtual void Init (AliRunLoader *runLoader)
virtual Bool_t HasDigitConversion () const
virtual void ConvertDigits (AliRawReader *reader, TTree *digitsTree) const
virtual Bool_t HasLocalReconstruction () const
virtual void Reconstruct (TTree *digitsTree, TTree *clusterTree) const
virtual void FillESD (TTree *digitsTree, TTree *clusterTree, AliESD *esd) const
virtual void SetESD (AliESD *esd)

Protected Member Functions

 AliFMDReconstructor (const AliFMDReconstructor &other)
AliFMDReconstructoroperator= (const AliFMDReconstructor &other)
virtual void ProcessDigits (TClonesArray *digits) const
virtual UShort_t SubtractPedestal (AliFMDDigit *digit) const
virtual Float_t Adc2Energy (AliFMDDigit *digit, Float_t eta, UShort_t count) const
virtual Float_t Energy2Multiplicity (AliFMDDigit *digit, Float_t edep) const
virtual void PhysicalCoordinates (AliFMDDigit *digit, Float_t &eta, Float_t &phi) const

Protected Attributes

TClonesArray * fMult
Int_t fNMult
TTree * fTreeR
Float_t fCurrentVertex
AliESDFMD * fESDObj
AliESD * fESD

Private Member Functions

void Reconstruct (AliRawReader *, TTree *) const
void Reconstruct (AliRunLoader *) const
void Reconstruct (AliRunLoader *, AliRawReader *) const
void FillESD (AliRawReader *, TTree *, AliESD *) const
void FillESD (AliRunLoader *, AliESD *) const
void FillESD (AliRunLoader *, AliRawReader *, AliESD *) const


Constructor & Destructor Documentation

AliFMDReconstructor::AliFMDReconstructor  ) 
 

CTOR

virtual AliFMDReconstructor::~AliFMDReconstructor  )  [virtual]
 

DTOR

AliFMDReconstructor::AliFMDReconstructor const AliFMDReconstructor other  )  [protected]
 

Copy CTOR

Parameters:
other Object to copy from.


Member Function Documentation

virtual Float_t AliFMDReconstructor::Adc2Energy AliFMDDigit digit,
Float_t  eta,
UShort_t  count
const [protected, virtual]
 

Converts number of ADC counts to energy deposited. This is done by

\[ E_i = A_i g_i \]

where $ A_i$ is the pedestal subtracted ADC counts, and $ g_i$ is the gain for the $ i^{\mbox{th}}$ strip.

Parameters:
digit Raw data
eta Psuedo-rapidity of digit.
count Pedestal subtracted ADC counts
Returns:
Energy deposited $ E_i$

virtual void AliFMDReconstructor::ConvertDigits AliRawReader *  reader,
TTree *  digitsTree
const [virtual]
 

Convert raw data read from the AliRawReader reader into digits. This is done using AliFMDRawReader and AliFMDAltroReader. The digits are put in the passed TTree digitsTree.

Parameters:
reader Raw reader.
digitsTree Tree to store read digits in.

virtual Float_t AliFMDReconstructor::Energy2Multiplicity AliFMDDigit digit,
Float_t  edep
const [protected, virtual]
 

Converts an energy signal to number of particles. In this implementation, it's done by

\[ M_i = E_i / E_{\mbox{MIP}} \]

where $ E_i$ is the energy deposited, and $ E_{\mbox{MIP}}$ is the average energy deposited by a minimum ionizing particle

Parameters:
digit Raw data
edep Energy deposited $ E_i$
Returns:
Psuedo-inclusive multiplicity $ M$

void AliFMDReconstructor::FillESD AliRunLoader *  ,
AliRawReader *  ,
AliESD * 
const [private]
 

Hide base classes unused function

void AliFMDReconstructor::FillESD AliRunLoader *  ,
AliESD * 
const [private]
 

Hide base classes unused function

void AliFMDReconstructor::FillESD AliRawReader *  ,
TTree *  ,
AliESD * 
const [private]
 

Hide base classes unused function

virtual void AliFMDReconstructor::FillESD TTree *  digitsTree,
TTree *  clusterTree,
AliESD *  esd
const [virtual]
 

Put in the ESD data, the FMD ESD data. The object created by the Reconstruct member function is copied to the ESD object.

Parameters:
digitsTree Tree of digits for this event - not used
clusterTree Tree of reconstructed points for this event
  • not used.
esd ESD object to store data in.

virtual Bool_t AliFMDReconstructor::HasDigitConversion  )  const [inline, virtual]
 

Flag that we can convert raw data into digits.

Returns:
always true

Definition at line 59 of file AliFMDReconstructor.h.

virtual Bool_t AliFMDReconstructor::HasLocalReconstruction  )  const [inline, virtual]
 

Flag that we can do one-event reconstruction.

Returns:
always true

Definition at line 69 of file AliFMDReconstructor.h.

virtual void AliFMDReconstructor::Init AliRunLoader *  runLoader  )  [virtual]
 

Initialize the reconstructor. Here, we initialize the geometry manager, and finds the local to global transformations from the geometry. The calibration parameter manager is also initialized (meaning that the calibration parameters is read from CDB). Next, we try to get some information about the run from the run loader passed.

Parameters:
runLoader Run loader to use to load and store data.

AliFMDReconstructor& AliFMDReconstructor::operator= const AliFMDReconstructor other  )  [protected]
 

Assignment operator

Parameters:
other Object to assign from
Returns:
reference to this object

virtual void AliFMDReconstructor::PhysicalCoordinates AliFMDDigit digit,
Float_t &  eta,
Float_t &  phi
const [protected, virtual]
 

Calculate the physical coordinates psuedo-rapidity $ \eta$, azimuthal angle $ \varphi$ of the strip corresponding to the digit digit. This is done by using the information obtained, and previously cached by AliFMDGeometry, from the TGeoManager.

Parameters:
digit Digit.
eta On return, psuedo-rapidity $ \eta$
phi On return, azimuthal angle $ \varphi$

virtual void AliFMDReconstructor::ProcessDigits TClonesArray *  digits  )  const [protected, virtual]
 

Process AliFMDDigit objects in digits. For each digit, find the psuedo-rapidity $ \eta$, azimuthal angle $ \varphi$, energy deposited $ E$, and psuedo-inclusive multiplicity $ M$.

Parameters:
digits Array of digits.

void AliFMDReconstructor::Reconstruct AliRunLoader *  ,
AliRawReader * 
const [private]
 

Hide base classes unused function

void AliFMDReconstructor::Reconstruct AliRunLoader *   )  const [private]
 

Hide base classes unused function

void AliFMDReconstructor::Reconstruct AliRawReader *  ,
TTree * 
const [private]
 

Hide base classes unused function

virtual void AliFMDReconstructor::Reconstruct TTree *  digitsTree,
TTree *  clusterTree
const [virtual]
 

Reconstruct one event from the digits passed in digitsTree. The member function creates AliFMDRecPoint objects and stores them on the output tree clusterTree. An FMD ESD object is created in parallel.

Todo:
Make sure we get a vertex.
Parameters:
digitsTree Tree holding the digits of this event
clusterTree Tree to store AliFMDRecPoint objects in.

virtual void AliFMDReconstructor::SetESD AliESD *  esd  )  [inline, virtual]
 

Not used

Definition at line 88 of file AliFMDReconstructor.h.

virtual UShort_t AliFMDReconstructor::SubtractPedestal AliFMDDigit digit  )  const [protected, virtual]
 

Substract pedestals from raw ADC in digit

Parameters:
digit Digit data
Returns:
Pedestal subtracted ADC count.


Member Data Documentation

Float_t AliFMDReconstructor::fCurrentVertex [mutable, protected]
 

Definition at line 161 of file AliFMDReconstructor.h.

AliESD* AliFMDReconstructor::fESD [protected]
 

Definition at line 163 of file AliFMDReconstructor.h.

AliESDFMD* AliFMDReconstructor::fESDObj [mutable, protected]
 

Definition at line 162 of file AliFMDReconstructor.h.

TClonesArray* AliFMDReconstructor::fMult [mutable, protected]
 

Definition at line 158 of file AliFMDReconstructor.h.

Int_t AliFMDReconstructor::fNMult [mutable, protected]
 

Definition at line 159 of file AliFMDReconstructor.h.

TTree* AliFMDReconstructor::fTreeR [mutable, protected]
 

Definition at line 160 of file AliFMDReconstructor.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 24 17:11:22 2006 for ALICE FMD Off-line by  doxygen 1.4.6