32 #ifndef STAR_StPmdDBUtil
33 #define STAR_StPmdDBUtil
38 #include "StPmdGeom.h"
40 #define PMD_BOARD_CH_MAX 64
41 #define PMD_BOARD_MAX 1296
42 #define PMD_ROW_MAX 120
43 #define PMD_COL_MAX 120
44 #define PMD_CHAIN_CHANNEL_MAX 1728
45 #define PMD_CHAIN_MAX 48
47 #define PMD_CRAMS_MAX 12
48 #define PMD_CRAMS_BLOCK 2
50 #define PMD_CRAMS_CH_MAX 1728
59 Int_t m_BoardNumber[PMD_CRAMS_MAX*2][PMD_ROW_MAX][PMD_COL_MAX];
60 Int_t m_ChannelInBoard[PMD_CRAMS_MAX*2][PMD_ROW_MAX][PMD_COL_MAX];
61 Int_t m_Chain[PMD_CRAMS_MAX*2][PMD_ROW_MAX][PMD_COL_MAX];
67 void BoardNumber( Int_t,Int_t,Int_t,Int_t& );
68 void ChannelInBoard( Int_t, Int_t, Int_t, Int_t& );
69 void Chain( Int_t, Int_t, Int_t, Int_t& );
74 inline void StPmdDBUtil::BoardNumber(Int_t sm, Int_t row, Int_t col, Int_t& brd)
75 {brd=m_BoardNumber[sm][row][col];}
77 inline void StPmdDBUtil::ChannelInBoard(Int_t sm, Int_t row, Int_t col, Int_t& channel)
78 {channel=m_ChannelInBoard[sm][row][col];}
80 inline void StPmdDBUtil::Chain(Int_t sm, Int_t row, Int_t col, Int_t& chain)
81 {chain=m_Chain[sm][row][col];}
virtual ~StPmdDBUtil()
A constructor.
void GetBoardInfo()
A destructor.
StPmdDBUtil()
A constructor.