// @(#)$Id: hshowerhitIPU.cc,v 1.3 2006/08/12 13:06:27 halo Exp $
//*-- Authors : Marcin Jaskula, Jerzy Pietraszko 11/10/2002
// : code taken from HShowerCalIPU
#pragma implementation
#include "hshowerhitIPU.h"
//_HADES_CLASS_DESCRIPTION
////////////////////////////////////////////////////////////////////////////////
//
// HShowerHitIPU
//
// Structure for Hit Level found by the IPU
//
////////////////////////////////////////////////////////////////////////////////
ClassImp(HShowerHitIPU)
// -----------------------------------------------------------------------------
Int_t HShowerHitIPU::calcAddress(void)
{
Char_t s = (m_nSector) ? m_nSector : 6;
Int_t nAddress;
nAddress = 100000 * s;
//nAddress += 10000 * m_nModule; // module := 0 !!!
nAddress += 100 * m_nRow;
nAddress += m_nCol;
return nAddress;
}
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.