#include "SabreDeadChannelMap.h" #include SabreDeadChannelMap::SabreDeadChannelMap() : validFlag(false) { int maxchan = 5*24+1*16+7; for(int i=0; i>detID) { input>>rw>>channel; if(rw == "RING") { this_channel = detID*24+RING*16+channel; dcMap[this_channel] = true; } else if(rw == "WEDGE") { this_channel = detID*24+WEDGE*16+channel; dcMap[this_channel] = true; } else { std::cerr<<"Invalid ring/wedge designation at SabreDeadChannelMap"<second; } else { std::cerr<<"Error at SabreDeadChannelMap IsDead(), invalid channel: "<