Janis Streib
01.02.22 d05d799d9774291f7bc15de4819510b457b20ffd
commit | author | age
4244cc 1 // G4Hub.h: interface for the CG4Hub class.
JS 2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_)
6 #define AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 #include "G4TrackIncl.h"
13
14 #define BYTE unsigned char
15
16 class CG4Hub  
17 {
18 public:
19     void SetId(int id);
20     int GetId();
21     void SetPnoData(float* pno,int sen);
22     float (*GetPnoData())[6];
d05d79 23     bool IsSenActive(int i);
4244cc 24     CG4Hub();
JS 25     virtual ~CG4Hub();
26
27 private:
28     bool m_senActive[G4_SENSORS_PER_HUB];
29     float m_invCol[3][3];
30     float m_col[3][3];
31     int m_id;
32     float m_pno[G4_SENSORS_PER_HUB][6];
33 };
34
35 #endif // !defined(AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_)