10 static Int_t
Identifier(Int_t iMod, Int_t iOct, Int_t iLayer, Int_t iBox, Int_t iWire)
11 {
return iWire + 10*iBox + 10000*iLayer + 1000000*iOct + 10000000*iMod; }
13 static Int_t
Identifier(Int_t iMod, Int_t iOct, Int_t iLayer, Int_t iStrip)
14 {
return (iStrip + 2000) + (10000*iLayer + 1000000*iOct + 10000000*iMod); }
16 static Int_t
LayerID(Int_t iMod, Int_t iOct, Int_t iLayer )
17 {
return 10000*iLayer + 1000000*iOct + 10000000*iMod; }
18 static Int_t
LayerID(Int_t detID) {
return detID/10000*10000; }
20 static Short_t
Module (Int_t detID) {
return (detID/10000000);}
21 static Short_t
Sector (Int_t detID) {
return ((detID/1000000)%10);}
22 static Short_t
Layer (Int_t detID) {
return ((detID/10000)%100);}
23 static Short_t
Box (Int_t detID) {
return ((detID/10)%1000);}
24 static Short_t
Wire (Int_t detID) {
return (detID%10);}
25 static Short_t
Strip (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)