Skip to content
Snippets Groups Projects
Commit d931bcd9 authored by Chikuma Kato's avatar Chikuma Kato
Browse files

small changes to use nullptr or ATH_MSG_DEBUG

parent 3353a77f
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,6 @@ void AlignmentErrorTool::makeAlignmentDeviations (const Trk::Track& track, std::
const MuonAlignmentErrorData* readCdo{*readHandle};
if(readCdo==nullptr){
ATH_MSG_ERROR("Null pointer to the read conditions object");
std::cout<<"ckato Null pointer to the read conditions object"<<std::endl;
return;
}
std::vector<deviationStr> devStrVec;
......
......@@ -196,7 +196,7 @@ template<class T> T* MdtMapBase<T>::findItem(uint8_t itemId) const{
if (it!=m_mapOfItems->end()) {
return (*it).second;
} else {
return NULL;
return nullptr;
}
}
......
......@@ -71,11 +71,11 @@ bool MdtTestCabling::testMap()
// print the list of ROBids
std::vector<uint32_t> robVector = readCdo->getAllROBId();
std::cout << "============================= List of ROBids:" << std::endl;
ATH_MSG_DEBUG( "============================= List of ROBids:" );
for (unsigned int i=0 ; i<robVector.size() ; ++i) {
std::cout << std::hex << robVector[i] << std::dec << std::endl;
ATH_MSG_DEBUG( std::hex << robVector[i] << std::dec );
}
std::cout << "=============================================" << std::endl;
ATH_MSG_DEBUG( "=============================================" );
// loop on the hardware objects to get online identifiers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment