Janis Streib
31.12.21 9adab2a6ae46fc4755e67adf4fede135372ad242
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];
23     CG4Hub();
24     virtual ~CG4Hub();
25
26 private:
27     bool m_senActive[G4_SENSORS_PER_HUB];
28     float m_invCol[3][3];
29     float m_col[3][3];
30     int m_id;
31     float m_pno[G4_SENSORS_PER_HUB][6];
32 };
33
34 #endif // !defined(AFX_G4HUB_H__41DD193E_B016_4FF7_93E6_CF8AEC652FF1__INCLUDED_)