9 static Int_t
Identifier(Int_t iMod, Int_t iOct, Int_t iLayer, Int_t iBox, Int_t iWire) {
return iWire + 10 * iBox + 10000 * iLayer + 1000000 * iOct + 10000000 * iMod; }
11 static Int_t
Identifier(Int_t iMod, Int_t iOct, Int_t iLayer, Int_t iStrip) {
return (iStrip + 2000) + (10000 * iLayer + 1000000 * iOct + 10000000 * iMod); }
13 static Int_t
LayerID(Int_t iMod, Int_t iOct, Int_t iLayer) {
return 10000 * iLayer + 1000000 * iOct + 10000000 * iMod; }
14 static Int_t
LayerID(Int_t detID) {
return detID / 10000 * 10000; }
16 static Short_t
Module(Int_t detID) {
return (detID / 10000000); }
17 static Short_t
Sector(Int_t detID) {
return ((detID / 1000000) % 10); }
18 static Short_t
Layer(Int_t detID) {
return ((detID / 10000) % 100); }
19 static Short_t
Box(Int_t detID) {
return ((detID / 10) % 1000); }
20 static Short_t
Wire(Int_t detID) {
return (detID % 10); }
21 static Short_t
Strip(Int_t detID) {
return (detID % 10000 - 2000); }
22 static Bool_t
isWire(Int_t detID) {
return detID % 10000 < 2000; }
23 static Bool_t
isStrip(Int_t detID) {
return detID % 10000 >= 2000; }
static Short_t Box(Int_t detID)
static Bool_t isWire(Int_t detID)
static Short_t Module(Int_t detID)
static Short_t Layer(Int_t detID)
static Int_t LayerID(Int_t iMod, Int_t iOct, Int_t iLayer)
static Int_t Identifier(Int_t iMod, Int_t iOct, Int_t iLayer, Int_t iBox, Int_t iWire)
static Short_t Sector(Int_t detID)
static Short_t Strip(Int_t detID)
static Bool_t isStrip(Int_t detID)
static Int_t LayerID(Int_t detID)
static Int_t Identifier(Int_t iMod, Int_t iOct, Int_t iLayer, Int_t iStrip)
static Short_t Wire(Int_t detID)