diff --git a/PhysicsAnalysis/UpgradePhys/SmearingFunctions/UpgradePerformanceFunctions/Root/LinkDef.h b/PhysicsAnalysis/UpgradePhys/SmearingFunctions/UpgradePerformanceFunctions/Root/LinkDef.h
index b06cfd4b5bc18dbbbe436f1b94effeae4064e5b0..2478f63c073cf78747b0670494b8277b0ec82379 100644
--- a/PhysicsAnalysis/UpgradePhys/SmearingFunctions/UpgradePerformanceFunctions/Root/LinkDef.h
+++ b/PhysicsAnalysis/UpgradePhys/SmearingFunctions/UpgradePerformanceFunctions/Root/LinkDef.h
@@ -15,8 +15,8 @@
 #pragma link C++ nestedclass;
 
 #pragma link C++ namespace Upgrade;
-#pragma link C++ class UpgradePerformanceFunctions;
+#pragma link C++ class Upgrade::UpgradePerformanceFunctions+;
 
-#endif
+#endif 
 
-#endif
\ No newline at end of file
+#endif