diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/MMPrepDataCnv_p1.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/MMPrepDataCnv_p1.cxx index 79e09653ff6d94bafbd7295540b3a05d90092ed3..93298d88b2abf0b36dbaa91ae46367240827d8dd 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/MMPrepDataCnv_p1.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/MMPrepDataCnv_p1.cxx @@ -62,7 +62,7 @@ persToTrans( const Muon::MMPrepData_p1 *persObj, Muon::MMPrepData *transObj,MsgS } void MMPrepDataCnv_p1:: -transToPers( const Muon::MMPrepData *transObj, Muon::MMPrepData_p1 *persObj, MsgStream & log ) +transToPers( const Muon::MMPrepData *transObj, Muon::MMPrepData_p1 *persObj, MsgStream &) { persObj->m_locX = transObj->localPosition()[Trk::locX]; persObj->m_errorMat = (transObj->localCovariance())(0,0); @@ -93,7 +93,6 @@ transToPers( const Muon::MMPrepData *transObj, Muon::MMPrepData_p1 *persObj, Msg // (this only works if the absolute value of the difference is smaller than 128) Identifier32::value_type rdoIdCompact = rdo_id.get_identifier32().get_compact(); // unsigned int int diff = (int)(rdoIdCompact-clusIdCompact); - if (abs(diff)>SCHAR_MAX) log << MSG::WARNING << "Difference between cluster and rdo Identifier (" << diff << ") larger than what can be stored (" << SCHAR_MAX << ")" << endmsg; rdoListPers.push_back((signed char)diff); } diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p1.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p1.cxx index 30fcfa534c4d6ce775759c88eba1ba4092996cc3..b430a237a5b4ae986d210e56c23ce8e5a8bf46aa 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p1.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p1.cxx @@ -60,7 +60,7 @@ persToTrans( const Muon::sTgcPrepData_p1 *persObj, Muon::sTgcPrepData *transObj, } void sTgcPrepDataCnv_p1:: -transToPers( const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p1 *persObj, MsgStream & log ) +transToPers( const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p1 *persObj, MsgStream & ) { //log << MSG::DEBUG << "sTgcPrepDataCnv_p1::transToPers" << endmsg; persObj->m_locX = transObj->localPosition()[Trk::locX]; @@ -84,7 +84,6 @@ transToPers( const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p1 *persObj, // (this only works if the absolute value of the difference is smaller than 128) Identifier32::value_type rdoIdCompact = rdo_id.get_identifier32().get_compact(); // unsigned int int diff = (int)(rdoIdCompact-clusIdCompact); - if (abs(diff)>SCHAR_MAX) log << MSG::WARNING << "Difference between cluster and rdo Identifier (" << diff << ") larger than what can be stored (" << SCHAR_MAX << ")" << endmsg; rdoListPers.push_back((signed char)diff); } diff --git a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p2.cxx b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p2.cxx index 85d0f35c6406404ff2201625723484ee7d2d2c31..90d8b373e3c6478dee838db4f4b1cff7bbad95bf 100644 --- a/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p2.cxx +++ b/MuonSpectrometer/MuonCnv/MuonEventTPCnv/src/MuonPrepRawData/sTgcPrepDataCnv_p2.cxx @@ -59,7 +59,7 @@ persToTrans( const Muon::sTgcPrepData_p2 *persObj, Muon::sTgcPrepData *transObj, } void sTgcPrepDataCnv_p2:: -transToPers( const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p2 *persObj, MsgStream & log ) +transToPers( const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p2 *persObj, MsgStream & ) { persObj->m_locX = transObj->localPosition()[Trk::locX]; persObj->m_locY = transObj->localPosition()[Trk::locY]; @@ -83,7 +83,6 @@ transToPers( const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p2 *persObj, // (this only works if the absolute value of the difference is smaller than 128) Identifier32::value_type rdoIdCompact = rdo_id.get_identifier32().get_compact(); // unsigned int int diff = (int)(rdoIdCompact-clusIdCompact); - if (abs(diff)>SCHAR_MAX) log << MSG::WARNING << "Difference between cluster and rdo Identifier (" << diff << ") larger than what can be stored (" << SCHAR_MAX << ")" << endmsg; rdoListPers.push_back((signed char)diff); }