EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmAddress.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmAddress.h
1
6
#ifndef CBMADDRESS_H
7
#define CBMADDRESS_H 1
8
9
#include "Rtypes.h"
10
#include "
CbmModuleList.h
"
11
12
13
14
15
16
17
18
19
20
21
34
class
CbmAddress
35
{
36
public
:
37
38
40
CbmAddress
() { };
41
42
44
virtual
~CbmAddress
() { };
45
46
50
static
Int_t
GetNofSystemBits
() {
return
fgkSystemBits
; }
51
52
57
static
Int_t
GetSystemId
(UInt_t address) {
58
return
address & ( ( 1 <<
fgkSystemBits
) - 1 );
59
}
60
61
62
protected
:
63
65
static
const
Int_t
fgkSystemBits
= 4;
66
67
};
68
69
#endif
/* CBMADDRESS_H */
EicRoot
blob
master
cbmbase
CbmAddress.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration