55const int TrkDetElemId::svtOffset(0);
56const int TrkDetElemId::mdcOffset(10000);
57const int TrkDetElemId::nullElemID(-1);
64 retVal += TrkDetElemId::svtOffset;
67 retVal += TrkDetElemId::mdcOffset;
72 return TrkDetElemId::nullElemID;
84 :_id(id),_sysInd(sysInd){
89 :_id(rhs.systemElemId()),_sysInd(rhs.sysInd()){
112 os << _id <<
' ' << _sysInd <<
' ' <<
elemId() << endl;
ostream & operator<<(ostream &os, const TrkDetElemId &id)
static int calcValue(const int &id, TrkDetElemId::systemIndex sysInd)
TrkDetElemId & operator=(const TrkDetElemId &)
TrkDetElemId(const int &id, TrkDetElemId::systemIndex sysInd)
const TrkDetElemId::systemIndex & sysInd() const
const int & systemElemId() const
void printAll(std::ostream &os=std::cout) const