#include "hmdccellgroup.h" |
HMdcCellGroup
class description - source file - inheritance tree (.pdf)
protected:
HMdcCellGroup(UShort_t* layerBuffer)
void initLookups()
public:
HMdcCellGroup(const HMdcCellGroup&)
~HMdcCellGroup()
static TClass* Class()
Int_t getCell(Int_t layer, Int_t idx)
Int_t getNCells(Int_t layer)
Int_t getSignId(Int_t layer, Int_t idx)
virtual TClass* IsA() const
HMdcCellGroup& operator=(const HMdcCellGroup&)
void setSignId(Int_t layer, Int_t cell, Int_t t1, Int_t t2 = 0, Int_t t3 = 0, Int_t t4 = 0)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
static UChar_t nCellsLookUp[256] !
static UChar_t cellPosLookUp[4][256] !
static Bool_t lookUpsInitialized !
UShort_t* pLayer !pointer to layer information.
HMdcCellGroup, HMdcCellGroup6, HMdcCellGroup12
This class and it's derived classes provide a mechanism to
know with cells contributed to a particular hit or segment and
how. They store therefore, a list of cells in different layers allowing
also to select one of the two possible signals in a given cell.
HMdcCellGroup is never instantiated directly, but HMdcCellGroup6 or
HMdcCellGroup12 are used, where the number in the class name indicates
how many layers are available at maximum.
The info provided by this class is retrieved with the
following functions
* Int_t getNCells(Int_t layer)
Returns the number of cells in layer "layer" which contributed
to the hit.
* Int_t getCell(Int_t layer,Int_t idx)
For idx=0 returns the cell number of the first fired cell
For idx=1 returns the cell number of the second fired cell
.... (maximum idx=3)
* Int_t HMdcHit::getSignId(Int_t layer,Int_t idx)
Returns signal id (time/distance) in cell designed by
idx (same criterium as before).
* Int_t setSignId(Int_t layer,Int_t cell, Int_t t1,t2=0,t3=0,t4=0)
Sets the signal ids and base cell number for layer "layer"
Input:
layer --> Number of layer to set
cell --> Number of the first cell fired in this layer
t1 - t4 --> SignalId for cells: "cell"+0, "cell"+1 ... "cell"+4
Possible values are:
0 --> This cell has not fired
1 --> First signal (time/distance) was used
2 --> Second signal (time/distance) was used
void initLookups(void)
Initializes lookup tables
Inline Functions
void ~HMdcCellGroup()
HMdcCellGroup HMdcCellGroup(UShort_t* layerBuffer)
Int_t getNCells(Int_t layer)
Int_t getCell(Int_t layer, Int_t idx)
Int_t getSignId(Int_t layer, Int_t idx)
void setSignId(Int_t layer, Int_t cell, Int_t t1, Int_t t2 = 0, Int_t t3 = 0, Int_t t4 = 0)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HMdcCellGroup HMdcCellGroup(const HMdcCellGroup&)
HMdcCellGroup& operator=(const HMdcCellGroup&)
Author: M. Sanchez
Last update: Fri Jan 26 12:03:55 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.