BmnRoot
Loading...
Searching...
No Matches
BmnAddress.h
Go to the documentation of this file.
1
7#ifndef BMNADDRESS_H
8#define BMNADDRESS_H 1
9
10#include "Rtypes.h"
11#include "BmnModuleList.h"
12
25{
26 public:
27
28
31
32
34 virtual ~BmnAddress() { };
35
36
40 static Int_t GetNofSystemBits() { return fgkSystemBits; }
41
42
47 static Int_t GetSystemId(UInt_t address) {
48 return address & ( ( 1 << fgkSystemBits ) - 1 );
49 }
50
51
52 protected:
53
55 static const Int_t fgkSystemBits = 4;
56
57};
58
59#endif /* BMNADDRESS_H */
Base class for interfaces to the unique address.
Definition BmnAddress.h:25
static Int_t GetSystemId(UInt_t address)
Definition BmnAddress.h:47
virtual ~BmnAddress()
Definition BmnAddress.h:34
static const Int_t fgkSystemBits
Definition BmnAddress.h:55
static Int_t GetNofSystemBits()
Definition BmnAddress.h:40