AliRoot Core  3dc7879 (3dc7879)
AliESDFMD Class Reference

Event Summary Data for the Forward Multiplicity Detector.This stores the psuedo-multiplicity and -rapidiy for each strip of the FMD. More...

#include <AliESDFMD.h>

Inheritance diagram for AliESDFMD:

Classes

class  ForOne
 

Public Types

enum  { kNeedNoiseFix = (1 << 14) }
 
enum  { kInvalidMult = 1024 }
 
enum  { kInvalidEta = 1024 }
 

Public Member Functions

 AliESDFMD ()
 
 AliESDFMD (const AliESDFMD &other)
 
AliESDFMDoperator= (const AliESDFMD &other)
 
virtual ~AliESDFMD ()
 
virtual void Copy (TObject &obj) const
 
void Clear (Option_t *option="")
 
Float_t Multiplicity (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const
 
Float_t Eta (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const
 
Float_t Phi (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const
 
Float_t Theta (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const
 
Float_t R (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip) const
 
void SetMultiplicity (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip, Float_t mult)
 
void SetEta (UShort_t detector, Char_t ring, UShort_t sector, UShort_t strip, Float_t eta)
 
void SetNoiseFactor (Float_t f)
 
void SetAngleCorrected (Bool_t done)
 
Bool_t IsAngleCorrected () const
 
Float_t GetNoiseFactor () const
 
UShort_t MaxDetectors () const
 
UShort_t MaxRings () const
 
UShort_t MaxSectors () const
 
UShort_t MaxStrips () const
 
void Print (Option_t *option="") const
 
void CheckNeedUShort (TFile *file)
 
Bool_t NeedNoiseFix () const
 
Bool_t ForEach (ForOne &algo) const
 
const AliFMDFloatMapMultiplicityMap () const
 
const AliFMDFloatMapEtaMap () const
 

Protected Attributes

AliFMDFloatMap fMultiplicity
 
AliFMDFloatMap fEta
 
Float_t fNoiseFactor
 
Bool_t fAngleCorrected
 

Detailed Description

Event Summary Data for the Forward Multiplicity Detector.

This stores the psuedo-multiplicity and -rapidiy for each strip of the FMD.

Definition at line 30 of file AliESDFMD.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kNeedNoiseFix 

Definition at line 73 of file AliESDFMD.h.

anonymous enum
Enumerator
kInvalidMult 

Value used for undefined multiplicity

Definition at line 268 of file AliESDFMD.h.

anonymous enum
Enumerator
kInvalidEta 

Value used for undefined pseudo rapidity

Definition at line 272 of file AliESDFMD.h.

Constructor & Destructor Documentation

AliESDFMD::AliESDFMD ( )

Default constructor

Definition at line 111 of file AliESDFMD.cxx.

AliESDFMD::AliESDFMD ( const AliESDFMD other)

Copy constructor

Parameters
otherObject to construct from

Definition at line 124 of file AliESDFMD.cxx.

virtual AliESDFMD::~AliESDFMD ( )
inlinevirtual

Destructor - does nothing

Definition at line 97 of file AliESDFMD.h.

Member Function Documentation

void AliESDFMD::CheckNeedUShort ( TFile *  file)

Check if we need the UShort_t fix

Parameters
fileFile this object was read from

Definition at line 168 of file AliESDFMD.cxx.

Referenced by MaxStrips().

void AliESDFMD::Clear ( Option_t *  option = "")
void AliESDFMD::Copy ( TObject &  obj) const
virtual

Copy the content of this object to obj which must have been preallocated

Parameters
objObject to copy to

Definition at line 154 of file AliESDFMD.cxx.

Referenced by ~AliESDFMD().

Float_t AliESDFMD::Eta ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip 
) const

Get the pseudo-rapidity of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
Returns
Psuedo rapidity

Definition at line 198 of file AliESDFMD.cxx.

Referenced by PrintESD(), Poisson::ProcessESD(), AliFMDInput::ProcessESDs(), AliFMDReconstructor::ProcessSignal(), AliFMDESDRevertexer::Revertex(), Theta(), and ~AliESDFMD().

const AliFMDFloatMap& AliESDFMD::EtaMap ( ) const
inline
Returns
constant reference to pseudo-rapidity map

Definition at line 283 of file AliESDFMD.h.

Bool_t AliESDFMD::ForEach ( AliESDFMD::ForOne a) const

Call the function operator of the passed object algo for each entry in this object

Parameters
algoAlgorithm
Returns
kTRUE on success, kFALSE if the passed object failed at any entry. It will return immediately on error.

Definition at line 295 of file AliESDFMD.cxx.

Referenced by AliFMDReconstructor::FillESD(), AliFMDQADataMakerRec::MakeESDs(), NeedNoiseFix(), and Print().

Float_t AliESDFMD::GetNoiseFactor ( ) const
inline
Returns
the factor for noise suppression

Definition at line 223 of file AliESDFMD.h.

Bool_t AliESDFMD::IsAngleCorrected ( ) const
inline
Returns
Whether we've done angle correction or not

Definition at line 219 of file AliESDFMD.h.

Referenced by DrawESD::ProcessESD(), AliFMDInput::ProcessESDs(), and AliFMDESDRevertexer::Revertex().

UShort_t AliESDFMD::MaxDetectors ( ) const
inline
Returns
maximum number of detectors

Definition at line 227 of file AliESDFMD.h.

UShort_t AliESDFMD::MaxRings ( ) const
inline
Returns
maximum number of rings

Definition at line 231 of file AliESDFMD.h.

UShort_t AliESDFMD::MaxSectors ( ) const
inline
Returns
maximum number of sectors

Definition at line 235 of file AliESDFMD.h.

UShort_t AliESDFMD::MaxStrips ( ) const
inline
Returns
Maximum number of strips

Definition at line 239 of file AliESDFMD.h.

Float_t AliESDFMD::Multiplicity ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip 
) const

Get the pseudo-multiplicity of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
Returns
Psuedo multiplicity

Definition at line 185 of file AliESDFMD.cxx.

Referenced by AliFMDOfflineTrigger::ASideHasHit(), AliFMDOfflineTrigger::CSideHasHit(), AliFMDQADataMakerRec::MakeESDs(), AliFMDQADataMakerRec::MakeRaws(), AliFMDReconstructor::MarkDeadChannels(), PrintESD(), Poisson::ProcessESD(), AliFMDInput::ProcessESDs(), AliFMDESDRevertexer::Revertex(), and ~AliESDFMD().

const AliFMDFloatMap& AliESDFMD::MultiplicityMap ( ) const
inline
Returns
constant reference to multiplicity map

Definition at line 279 of file AliESDFMD.h.

Bool_t AliESDFMD::NeedNoiseFix ( ) const
inline

Check if we need the noise fix

Returns
true if class version of read object is 3 or smaller

Definition at line 257 of file AliESDFMD.h.

AliESDFMD & AliESDFMD::operator= ( const AliESDFMD other)

Assignment operator

Parameters
otherObject to assign from
Returns
reference to this object

Definition at line 136 of file AliESDFMD.cxx.

Float_t AliESDFMD::Phi ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip 
) const

Get the azimuthal angle of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
Returns
Azimuthal angle

Definition at line 212 of file AliESDFMD.cxx.

Referenced by TestESDPhi(), and ~AliESDFMD().

void AliESDFMD::Print ( Option_t *  option = "") const

Print this object to standard out.

Parameters
optionOptions

Definition at line 302 of file AliESDFMD.cxx.

Referenced by MaxStrips().

Float_t AliESDFMD::R ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip 
) const

Get the radial distance (in cm) from beam line of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
Returns
Radial distance

Definition at line 248 of file AliESDFMD.cxx.

Referenced by TestESDPhi(), and ~AliESDFMD().

void AliESDFMD::SetAngleCorrected ( Bool_t  done)
inline
Parameters
doneWhether we've done angle correction or not

Definition at line 215 of file AliESDFMD.h.

Referenced by AliFMDReconstructor::ProcessDigits().

void AliESDFMD::SetEta ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip,
Float_t  eta 
)

Set the pseudo-rapidity of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
etaPsuedo rapidity

Definition at line 281 of file AliESDFMD.cxx.

Referenced by FillESD(), FillESDFMD(), AliFMDReconstructor::PreReconstruct(), AliFMDESDRevertexer::Revertex(), and ~AliESDFMD().

void AliESDFMD::SetMultiplicity ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip,
Float_t  mult 
)

Set the pseudo-multiplicity of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
multPsuedo multiplicity

Definition at line 268 of file AliESDFMD.cxx.

Referenced by FillESD(), FillESDFMD(), AliFMDReconstructor::MarkDeadChannels(), AliFMDReconstructor::ProcessSignal(), AliFMDESDRevertexer::Revertex(), and ~AliESDFMD().

void AliESDFMD::SetNoiseFactor ( Float_t  f)
inline
Parameters
fthe factor for noise suppression

Definition at line 211 of file AliESDFMD.h.

Referenced by AliFMDReconstructor::ProcessDigits().

Float_t AliESDFMD::Theta ( UShort_t  detector,
Char_t  ring,
UShort_t  sector,
UShort_t  strip 
) const

Get the polar angle (in degrees) from beam line of \( \text{FMD}\langle detector\rangle\lange ring\rangle_{\langle sector\rangle\langle strip\rangle}\)

Parameters
detectorDetector number (1-3)
ringRing identifier ('I' or 'O')
sectorSector number (0-511, or 0-255)
stripStrip number (0-19, or 0-39)
Returns
Polar angle

Definition at line 232 of file AliESDFMD.cxx.

Referenced by ~AliESDFMD().

Member Data Documentation

Bool_t AliESDFMD::fAngleCorrected
protected

Definition at line 288 of file AliESDFMD.h.

Referenced by IsAngleCorrected(), operator=(), and SetAngleCorrected().

AliFMDFloatMap AliESDFMD::fEta
protected

Definition at line 286 of file AliESDFMD.h.

Referenced by CheckNeedUShort(), Clear(), Eta(), EtaMap(), operator=(), Print(), and SetEta().

Float_t AliESDFMD::fNoiseFactor
protected

Definition at line 287 of file AliESDFMD.h.

Referenced by GetNoiseFactor(), operator=(), and SetNoiseFactor().


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