#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 12 of file BHMNumberingScheme.h.
BHMNumberingScheme::BHMNumberingScheme |
( |
| ) |
|
BHMNumberingScheme::~BHMNumberingScheme |
( |
| ) |
|
|
virtual |
int BHMNumberingScheme::detectorLevel |
( |
const G4Step * |
aStep | ) |
const |
|
virtual |
void BHMNumberingScheme::detectorLevel |
( |
const G4Step * |
aStep, |
|
|
int & |
level, |
|
|
int * |
copyno, |
|
|
G4String * |
name |
|
) |
| const |
|
virtual |
unsigned int BHMNumberingScheme::getUnitID |
( |
const G4Step * |
aStep | ) |
const |
|
virtual |
Definition at line 37 of file BHMNumberingScheme.cc.
References TauDecayModes::dec, detectorLevel(), testEve_cfg::level, LogDebug, mergeVDriftHistosByStation::name, packIndex(), relativeConstraints::station, and ecaldqm::zside().
Referenced by BHMSD::setDetUnitId().
42 LogDebug(
"BHMSim") <<
"BHMNumberingScheme number of levels= " <<
level;
44 int* copyno =
new int[
level];
49 int subdet = copyno[0];
50 int zside = copyno[3];
52 intindex =
packIndex (subdet, zside, station);
53 LogDebug(
"BHMSim") <<
"BHMNumberingScheme : subdet " << subdet
54 <<
" zside " << zside <<
" station " <<
station;
59 LogDebug(
"BHMSim") <<
"BHMNumberingScheme : UnitID 0x" << std::hex
static unsigned int packIndex(int subdet, int zside, int station)
virtual int detectorLevel(const G4Step *) const
unsigned BHMNumberingScheme::packIndex |
( |
int |
subdet, |
|
|
int |
zside, |
|
|
int |
station |
|
) |
| |
|
static |
void BHMNumberingScheme::unpackIndex |
( |
const unsigned int & |
idx, |
|
|
int & |
subdet, |
|
|
int & |
zside, |
|
|
int & |
station |
|
) |
| |
|
static |