![]() |
AliRoot Core
edcc906 (edcc906)
|
#include <AliTPCAltroMapping.h>
Public Member Functions | |
AliTPCAltroMapping () | |
AliTPCAltroMapping (const char *mappingFile) | |
virtual | ~AliTPCAltroMapping () |
virtual Int_t | GetHWAddress (Int_t padrow, Int_t pad, Int_t sector) |
virtual Int_t | GetPadRow (Int_t hwAddress) const |
virtual Int_t | GetPad (Int_t hwAddress) const |
virtual Int_t | GetSector (Int_t hwAddress) const |
Protected Member Functions | |
virtual Bool_t | ReadMapping () |
virtual Bool_t | CreateInvMapping () |
Protected Attributes | |
Int_t | fMinPadRow |
Minimum Index of pad-row. More... | |
Int_t | fMaxPadRow |
Maximum Index of pad-row. More... | |
Int_t | fMaxPad |
Maximum Index of pad inside row. More... | |
Short_t * | fInvMapping |
! Inverse of fMapping More... | |
Private Member Functions | |
AliTPCAltroMapping (const AliTPCAltroMapping &mapping) | |
AliTPCAltroMapping & | operator= (const AliTPCAltroMapping &mapping) |
This class handles the mapping of the Altro channels in the TPC The mapping is read from an external mapping files
Class used to setup the mapping of hardware adresses in ALTRO to pad-rows and pad indeces. The mapping is defined in an external mapping files separately. The class derives from the base altro mapping class defined in the RAW package.
Definition at line 16 of file AliTPCAltroMapping.h.
AliTPCAltroMapping::AliTPCAltroMapping | ( | ) |
Definition at line 33 of file AliTPCAltroMapping.cxx.
AliTPCAltroMapping::AliTPCAltroMapping | ( | const char * | mappingFile | ) |
Constructor
Definition at line 44 of file AliTPCAltroMapping.cxx.
|
virtual |
destructor
Definition at line 58 of file AliTPCAltroMapping.cxx.
|
private |
|
protectedvirtual |
Create the inverse mapping needed for the simulation of raw data
Definition at line 114 of file AliTPCAltroMapping.cxx.
Referenced by GetHWAddress().
|
virtual |
Get the content of the mapping array return -1 in case there is no hardware adress defined for these pad-row and pad
Definition at line 147 of file AliTPCAltroMapping.cxx.
Referenced by AliTPCmapper::GetHWAddress(), and AliTPCmapper::GetHWAddressSector().
|
virtual |
Definition at line 190 of file AliTPCAltroMapping.cxx.
Referenced by AliTPCmapper::GetPad().
|
virtual |
Definition at line 172 of file AliTPCAltroMapping.cxx.
Referenced by AliTPCmapper::GetPadRow().
|
virtual |
Definition at line 208 of file AliTPCAltroMapping.cxx.
|
private |
|
protectedvirtual |
Initalizes the ALTRO mapping from a file Look at the TPC module for the format of the mapping file
Definition at line 66 of file AliTPCAltroMapping.cxx.
Referenced by AliTPCAltroMapping().
|
protected |
! Inverse of fMapping
Definition at line 34 of file AliTPCAltroMapping.h.
Referenced by CreateInvMapping(), GetHWAddress(), and ~AliTPCAltroMapping().
|
protected |
Maximum Index of pad inside row.
Definition at line 33 of file AliTPCAltroMapping.h.
Referenced by CreateInvMapping(), GetHWAddress(), and ReadMapping().
|
protected |
Maximum Index of pad-row.
Definition at line 32 of file AliTPCAltroMapping.h.
Referenced by CreateInvMapping(), GetHWAddress(), and ReadMapping().
|
protected |
Minimum Index of pad-row.
Definition at line 31 of file AliTPCAltroMapping.h.
Referenced by CreateInvMapping(), GetHWAddress(), and ReadMapping().