#include <BHMNumberingScheme.h>
|
static unsigned int | packIndex (int subdet, int zside, int station) |
|
static void | unpackIndex (const unsigned int &idx, int &subdet, int &zside, int &station) |
|
Definition at line 7 of file BHMNumberingScheme.h.
◆ BHMNumberingScheme()
BHMNumberingScheme::BHMNumberingScheme |
( |
| ) |
|
◆ ~BHMNumberingScheme()
BHMNumberingScheme::~BHMNumberingScheme |
( |
| ) |
|
|
default |
◆ detectorLevel() [1/2]
int BHMNumberingScheme::detectorLevel |
( |
const G4Step * |
aStep | ) |
const |
Definition at line 8 of file BHMNumberingScheme.cc.
10 const G4VTouchable* touch = aStep->GetPreStepPoint()->GetTouchable();
11 return (touch) ? ((touch->GetHistoryDepth()) + 1) : 0;
Referenced by getUnitID().
◆ detectorLevel() [2/2]
void BHMNumberingScheme::detectorLevel |
( |
const G4Step * |
aStep, |
|
|
int & |
level, |
|
|
int * |
copyno, |
|
|
G4String * |
name |
|
) |
| const |
◆ getUnitID()
unsigned int BHMNumberingScheme::getUnitID |
( |
const G4Step * |
aStep | ) |
const |
◆ packIndex()
unsigned int BHMNumberingScheme::packIndex |
( |
int |
subdet, |
|
|
int |
zside, |
|
|
int |
station |
|
) |
| |
|
static |
◆ unpackIndex()
void BHMNumberingScheme::unpackIndex |
( |
const unsigned int & |
idx, |
|
|
int & |
subdet, |
|
|
int & |
zside, |
|
|
int & |
station |
|
) |
| |
|
static |