diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.cxx b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.cxx
index 693a422a0ab42601c1c069da93a2f863dee6d9a6..73694f6d0eac9de31a2f34839a1004c2151d4ec7 100644
--- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.cxx
+++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.cxx
@@ -12,8 +12,6 @@
 
 #include "EDM_object.h"
 
-using namespace std;
-
 EDM_object::EDM_object () { 
 	m_stationName = nullptr; 
 	m_stationEta = nullptr;
@@ -96,7 +94,7 @@ bool EDM_object::update_match(int index, int ch_candidate) {
 
 void EDM_object::init_matching () {
 	if (empty()) { return; }
-	m_matchedchannel = new vector<int>(this->size());
+	m_matchedchannel = new std::vector<int>(this->size());
 	for ( uint i = 0; i < this->size(); ++i) { m_matchedchannel->at(i) = -10; }
 }
 
@@ -116,8 +114,8 @@ void EDM_object::update_efficiency ( int maximum_difference ) {
 	m_mismatches += (n_obj - nMatches);
 }
 
-void EDM_object::printEfficiency(ofstream& file) {
-	file << "\nMatching " << m_name << " to " << m_matchedwith << " for " << m_detector << endl;
-	file << "Total: " << m_total << ", number of mismatches: " << m_mismatches <<endl;
-	file << "Efficiency: " << (m_total - m_mismatches) / (double)m_total * 100. << "%" << endl;
+void EDM_object::printEfficiency(std::ofstream& file) {
+	file << "\nMatching " << m_name << " to " << m_matchedwith << " for " << m_detector << std::endl;
+	file << "Total: " << m_total << ", number of mismatches: " << m_mismatches << std::endl;
+	file << "Efficiency: " << (m_total - m_mismatches) / (double)m_total * 100. << "%" << std::endl;
 }
diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.h b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.h
index 4b88444a38e31cb853877db1e0f612e5b277ea49..235e9a313b12e3e2963089018d1b8dd23f551daa 100644
--- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.h
+++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/EDM_object.h
@@ -20,7 +20,7 @@ public:
 
 	// Efficiency	
 	void update_efficiency ( int maximum_difference );
-	void printEfficiency (ofstream& file);
+	void printEfficiency (std::ofstream& file);
 
 	// setters
 	void setName (TString name) { m_name = name; }
@@ -43,7 +43,7 @@ public:
 	EDM_object ();
 	~EDM_object () { clearVars(); }
 
-	std::vector<string>  *m_stationName;
+	std::vector<std::string>  *m_stationName;
 	std::vector<int>     *m_stationEta;
 	std::vector<int>     *m_stationPhi;
 	std::vector<int>     *m_multiplet;
diff --git a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/NSWPRDValAlg.cxx b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/NSWPRDValAlg.cxx
index 96a89c3049c6cf6c512a8a49e654ccea810936c3..59e12232675258d427e359ab746dd902014fe7aa 100644
--- a/MuonSpectrometer/MuonValidation/MuonPRDTest/src/NSWPRDValAlg.cxx
+++ b/MuonSpectrometer/MuonValidation/MuonPRDTest/src/NSWPRDValAlg.cxx
@@ -344,11 +344,11 @@ StatusCode NSWPRDValAlg::NSWMatchingAlg () {
   }
 
   // Prepare the output file
-  ofstream efficiencies;
+  std::ofstream efficiencies;
   efficiencies.open("NSWMatchingAlg_efficiencies.txt");
-  efficiencies << "NSW Matching algorithm, efficiencies of conversion from and to various EDM objects" << endl;
-  efficiencies << "Settings:\n" << m_doNSWMatchingMuon << endl;
-  efficiencies << " 'Maximum Strip Distance':" << m_maxStripDiff << endl;
+  efficiencies << "NSW Matching algorithm, efficiencies of conversion from and to various EDM objects" << std::endl;
+  efficiencies << "Settings:\n" << m_doNSWMatchingMuon << std::endl;
+  efficiencies << " 'Maximum Strip Distance':" << m_maxStripDiff << std::endl;
   efficiencies.close();
 
   // sTGC matching
@@ -399,7 +399,7 @@ StatusCode NSWPRDValAlg::NSWMatchingAlg (EDM_object data0, EDM_object data1) {
   data1.setMatchedwith(data0.getName());
 
   // Prepare Muon only check
-  vector<int>* TruthParticle_Pdg;
+  std::vector<int>* TruthParticle_Pdg;
   if ( m_doNSWMatchingMuon ) { m_tree->SetBranchAddress("TruthParticle_Pdg", &TruthParticle_Pdg); }
 
   Long64_t nEntries = m_tree->GetEntriesFast();
@@ -460,8 +460,8 @@ StatusCode NSWPRDValAlg::NSWMatchingAlg (EDM_object data0, EDM_object data1) {
   }
 
   // Write result to file
-  ofstream efficiencies; 
-  efficiencies.open("NSWMatchingAlg_efficiencies.txt", ofstream::app);
+  std::ofstream efficiencies; 
+  efficiencies.open("NSWMatchingAlg_efficiencies.txt", std::ofstream::app);
   data0.printEfficiency(efficiencies);
   data1.printEfficiency(efficiencies);
   efficiencies.close();