9 #include "cdc/dataobjects/WireID.h"
16 B2DEBUG(250,
"setWireID called with " << iCLayer <<
", " << iWire);
18 setWireID(0, iCLayer, iWire);
20 setWireID(((iCLayer - 8) / 6) + 1, (iCLayer - 2) % 6, iWire);
26 if (getISuperLayer() == 0) {
return getILayer(); }
27 return 8 + (getISuperLayer() - 1) * 6 + getILayer();
32 setWireID(iCLayer, iWire);
35 WireID::WireID(
const unsigned short iSuperLayer,
const unsigned short iLayer,
const unsigned short iWire)
37 setWireID(iSuperLayer, iLayer, iWire);
unsigned short getICLayer() const
Getter for continuous layer numbering.
WireID(unsigned short eWire=65535)
Constructor taking the encoded wire number.
void setWireID(unsigned short iSuperLayer, unsigned short iLayer, unsigned short iWire)
Setter using official numbering.
Abstract base class for different kinds of events.