AliPhysics  1168478 (1168478)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDStripIndex Class Reference

#include <AliFMDStripIndex.h>

Public Types

enum  { kIdMask = 0x0007FFFF, kEMask = 0xFFF80000, kEOffset = 19 }
 

Public Member Functions

 AliFMDStripIndex ()
 
virtual ~AliFMDStripIndex ()
 

Static Public Member Functions

static UInt_t Pack (UShort_t det, Char_t rng, UShort_t sec, UShort_t str)
 
static void Unpack (UInt_t id, UShort_t &det, Char_t &rng, UShort_t &sec, UShort_t &str)
 

Detailed Description

Definition at line 28 of file AliFMDStripIndex.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kIdMask 
kEMask 
kEOffset 

Definition at line 31 of file AliFMDStripIndex.h.

Constructor & Destructor Documentation

AliFMDStripIndex::AliFMDStripIndex ( )
inline

Constructor

Definition at line 43 of file AliFMDStripIndex.h.

virtual AliFMDStripIndex::~AliFMDStripIndex ( )
inlinevirtual

Destructor

Definition at line 48 of file AliFMDStripIndex.h.

Member Function Documentation

static UInt_t AliFMDStripIndex::Pack ( UShort_t  det,
Char_t  rng,
UShort_t  sec,
UShort_t  str 
)
inlinestatic

Pack an identifier from detector coordinates

Parameters
detDetector
rngRing
secSector
strStrip
Returns
Packed identifier

Definition at line 59 of file AliFMDStripIndex.h.

Referenced by AliFMDESDFixer::AddDead(), and AliFMDESDFixer::IsDead().

static void AliFMDStripIndex::Unpack ( UInt_t  id,
UShort_t det,
Char_t rng,
UShort_t sec,
UShort_t str 
)
inlinestatic

Unpack an identifier to detector coordinates

Parameters
idIdentifier to unpack
detOn return, the detector
rngOn return, the ring
secOn return, the sector
strOn return, the strip

Definition at line 77 of file AliFMDStripIndex.h.

Referenced by AliFMDESDFixer::CreateOutputObjects(), AliFMDMCTrackELoss::Hit::Decode(), AliFMDMCTrackDensity::ProcessRef(), AliFMDMCTrackELoss::ProcessRef(), AliFMDMCTrackDensity::StoreParticle(), and AliFMDMCTrackELoss::StoreParticle().


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