Skip to content
Snippets Groups Projects

A/B Lines containers initialization from test files for NSW

Merged Chara Kitsaki requested to merge ckitsaki/athena:NSWAlign into master
Files
5
@@ -23,7 +23,6 @@ void NSWCondUtils::setNSWABLinesFromAscii(const std::string& filename,
const sTgcIdHelper* stgcHelper,
const MmIdHelper* mmHelper)
{
MsgStream log(Athena::getMessageSvc(),"NSWCondUtils");
std::ifstream inputFile;
inputFile.open(filename);
@@ -71,8 +70,10 @@ void NSWCondUtils::setNSWABLinesFromAscii(const std::string& filename,
MuonCalib::MdtStringUtils::tokenize(line, tokens, delimiter);
if(tokens.size() != 25) {
log<<MSG::DEBUG<<"Invalid length in string retrieved from the test file "<< filename <<" String length is "<< tokens.size() <<endmsg;
break; }
MsgStream log(Athena::getMessageSvc(),"NSWCondUtils");
log<<MSG::WARNING<<"Invalid length in string retrieved from the test file "<< filename <<" String length is "<< tokens.size() <<endmsg;
break;
}
int ival = 1;
@@ -144,7 +145,7 @@ void NSWCondUtils::setNSWABLinesFromAscii(const std::string& filename,
}
if(stationType == "STL" || stationType == "STS"){
else if(stationType == "STL" || stationType == "STS"){
id = stgcHelper->elementID(stationType,eta,phi);
id_mult = stgcHelper->multilayerID(id, mult);
}
Loading