diff --git a/NPLib/AnnularS1/TAnnularS1Physics.cxx b/NPLib/AnnularS1/TAnnularS1Physics.cxx index 89cb95f2d0dc8ba6ede3cbd1a8bc912f14b37a75..a6bcd7bff61e15434e1530d4bcd824c416c60b62 100644 --- a/NPLib/AnnularS1/TAnnularS1Physics.cxx +++ b/NPLib/AnnularS1/TAnnularS1Physics.cxx @@ -614,14 +614,14 @@ NPL::VDetector* TAnnularS1Physics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_annulars1{ public: - proxy(){ + proxy_annulars1(){ NPL::DetectorFactory::getInstance()->AddToken("AnnularS1","AnnularS1"); NPL::DetectorFactory::getInstance()->AddDetector("AnnularS1",TAnnularS1Physics::Construct); } }; -proxy p; +proxy_annulars1 p; } diff --git a/NPLib/AnnularS2/TS2Physics.cxx b/NPLib/AnnularS2/TS2Physics.cxx index c8345f91a8c7a0bf87942349b3613e63a2425591..052b7912815aa3673a8ce2530eca4da685dd00c2 100644 --- a/NPLib/AnnularS2/TS2Physics.cxx +++ b/NPLib/AnnularS2/TS2Physics.cxx @@ -1181,14 +1181,14 @@ NPL::VDetector* TS2Physics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_annulars2{ public: - proxy(){ + proxy_annulars2(){ NPL::DetectorFactory::getInstance()->AddToken("AnnularS2","AnnularS2"); NPL::DetectorFactory::getInstance()->AddDetector("AnnularS2",TS2Physics::Construct); } }; -proxy p; +proxy_annulars2 p; } diff --git a/NPLib/CATS/TCATSPhysics.cxx b/NPLib/CATS/TCATSPhysics.cxx index b862f50d5c2897e9efdce042573240540aac2573..f8e2c34110d4fbacd409a025057c05d129d2c111 100644 --- a/NPLib/CATS/TCATSPhysics.cxx +++ b/NPLib/CATS/TCATSPhysics.cxx @@ -1006,14 +1006,14 @@ NPL::VDetector* TCATSPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_cats{ public: - proxy(){ + proxy_cats(){ NPL::DetectorFactory::getInstance()->AddToken("CATSDetector","CATS"); NPL::DetectorFactory::getInstance()->AddDetector("CATSDetector",TCATSPhysics::Construct); } }; -proxy p; +proxy_cats p; } diff --git a/NPLib/Charissa/TCharissaPhysics.cxx b/NPLib/Charissa/TCharissaPhysics.cxx index d07ccd205fcac1f03018677f4fa8f44195678be5..bafbf71b55978e3c6634323a9597770bc5f45777 100644 --- a/NPLib/Charissa/TCharissaPhysics.cxx +++ b/NPLib/Charissa/TCharissaPhysics.cxx @@ -1382,14 +1382,14 @@ NPL::VDetector* TCharissaPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_charissa{ public: - proxy(){ + proxy_charissa(){ NPL::DetectorFactory::getInstance()->AddToken("CharissaTelescope","Charissa"); NPL::DetectorFactory::getInstance()->AddDetector("CharissaTelescope",TCharissaPhysics::Construct); } }; -proxy p; +proxy_charissa p; } diff --git a/NPLib/ChateauCristal/TChateauCristalPhysics.cxx b/NPLib/ChateauCristal/TChateauCristalPhysics.cxx index 87db643b8656d2441e6dbb5617ad59982d040bb4..01100d5bc573f6012fe43b235247d53376621588 100644 --- a/NPLib/ChateauCristal/TChateauCristalPhysics.cxx +++ b/NPLib/ChateauCristal/TChateauCristalPhysics.cxx @@ -515,14 +515,14 @@ NPL::VDetector* TChateauCristalPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_chateaucristal{ public: - proxy(){ + proxy_chateaucristal(){ NPL::DetectorFactory::getInstance()->AddToken("ChateauCristal","ChateauCristal"); NPL::DetectorFactory::getInstance()->AddDetector("ChateauCristal",TChateauCristalPhysics::Construct); } }; -proxy p; +proxy_chateaucristal p; } diff --git a/NPLib/Chio/TChio_anPhysics.cxx b/NPLib/Chio/TChio_anPhysics.cxx index d17bca05a72aebe770d4691ddc3c823a2edb99e9..dac235384970b8bb5d1e29dfc0d305e7958fe02c 100644 --- a/NPLib/Chio/TChio_anPhysics.cxx +++ b/NPLib/Chio/TChio_anPhysics.cxx @@ -422,15 +422,15 @@ NPL::VDetector* TChio_anPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class anproxy{ +class proxy_chioan{ public: - anproxy(){ + proxy_chioan(){ NPL::DetectorFactory::getInstance()->AddToken("IonisationChamber","Chio"); NPL::DetectorFactory::getInstance()->AddDetector("IonisationChamber",TChio_anPhysics::Construct); } }; -anproxy anp ; +proxy_chioan anp ; } diff --git a/NPLib/Chio/TChio_digPhysics.cxx b/NPLib/Chio/TChio_digPhysics.cxx index 803f7d147f65e7287ab58ab07bb1e656ff6417c5..9ea48645b21e87bbd3dd6efdfa1583d2efd5484f 100644 --- a/NPLib/Chio/TChio_digPhysics.cxx +++ b/NPLib/Chio/TChio_digPhysics.cxx @@ -438,14 +438,14 @@ NPL::VDetector* TChio_digPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_chiodig{ public: - proxy(){ + proxy_chiodig(){ NPL::DetectorFactory::getInstance()->AddToken("Chio","Chio"); NPL::DetectorFactory::getInstance()->AddDetector("Chio",TChio_digPhysics::Construct); } }; -proxy p; +proxy_chiodig p; } diff --git a/NPLib/ComptonTelescope/TComptonTelescopePhysics.cxx b/NPLib/ComptonTelescope/TComptonTelescopePhysics.cxx index 64e7e77a21ee9d4da40fc66e660ce401d4b9303a..110d5bc43fd9171f6d7adceb5e082afaa7e0c352 100644 --- a/NPLib/ComptonTelescope/TComptonTelescopePhysics.cxx +++ b/NPLib/ComptonTelescope/TComptonTelescopePhysics.cxx @@ -750,14 +750,14 @@ NPL::VDetector* TComptonTelescopePhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_comptontelescope{ public: - proxy(){ + proxy_comptontelescope(){ NPL::DetectorFactory::getInstance()->AddToken("ComptonTelescope","ComptonTelescope"); NPL::DetectorFactory::getInstance()->AddDetector("ComptonTelescope",TComptonTelescopePhysics::Construct); } }; -proxy p; +proxy_comptontelescope p; } diff --git a/NPLib/CsI/TCsIPhysics.cxx b/NPLib/CsI/TCsIPhysics.cxx index f528d1cfddf4bb4ac5df55db1e55847216e865c6..46e67f8a95a4ff10f68cc1492874b608f3881d9b 100644 --- a/NPLib/CsI/TCsIPhysics.cxx +++ b/NPLib/CsI/TCsIPhysics.cxx @@ -309,14 +309,14 @@ NPL::VDetector* TCsIPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ - class proxy{ + class proxy_csi{ public: - proxy(){ + proxy_csi(){ NPL::DetectorFactory::getInstance()->AddToken("CsI","CsI"); NPL::DetectorFactory::getInstance()->AddDetector("CsI",TCsIPhysics::Construct); } }; - proxy p; + proxy_csi p; } diff --git a/NPLib/EXL/TExlPhysics.cxx b/NPLib/EXL/TExlPhysics.cxx index 26cba51aa37eef378a8d11f7835a408e0a7bb649..df4620ecca3b4f4773cece733ac4c9d4445856df 100644 --- a/NPLib/EXL/TExlPhysics.cxx +++ b/NPLib/EXL/TExlPhysics.cxx @@ -315,14 +315,14 @@ NPL::VDetector* TExlPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_exl{ public: - proxy(){ + proxy_exl(){ NPL::DetectorFactory::getInstance()->AddToken("EXL","Exl"); NPL::DetectorFactory::getInstance()->AddDetector("EXL",TExlPhysics::Construct); } }; -proxy p; +proxy_exl p; } diff --git a/NPLib/Exogam/TExogamPhysics.cxx b/NPLib/Exogam/TExogamPhysics.cxx index dbdb5a8e944448c94342c3f71812646e1a902591..b2078ad9e5272d5fa057a4adf2cb0e2d89a38d61 100644 --- a/NPLib/Exogam/TExogamPhysics.cxx +++ b/NPLib/Exogam/TExogamPhysics.cxx @@ -739,14 +739,14 @@ NPL::VDetector* TExogamPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_exogam{ public: - proxy(){ + proxy_exogam(){ NPL::DetectorFactory::getInstance()->AddToken("EXOGAMArray","Exogam"); NPL::DetectorFactory::getInstance()->AddDetector("EXOGAMArray",TExogamPhysics::Construct); } }; -proxy p; +proxy_exogam p; } diff --git a/NPLib/Fatima/TFatimaPhysics.cxx b/NPLib/Fatima/TFatimaPhysics.cxx index 89c057a3becf8b837f7713e167bd2385d56fb562..e3326f98a25eb394cc2817541446231179e8634d 100644 --- a/NPLib/Fatima/TFatimaPhysics.cxx +++ b/NPLib/Fatima/TFatimaPhysics.cxx @@ -577,14 +577,14 @@ NPL::VDetector* TFatimaPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_fatima{ public: - proxy(){ + proxy_fatima(){ NPL::DetectorFactory::getInstance()->AddToken("Fatima","Fatima"); NPL::DetectorFactory::getInstance()->AddDetector("Fatima",TFatimaPhysics::Construct); } }; -proxy p; +proxy_fatima p; } diff --git a/NPLib/GASPARD/GaspardTracker.cxx b/NPLib/GASPARD/GaspardTracker.cxx index 8246666297d81e1b5517da7b17b5f992060e8f10..5f7d84cd9bcec863f5eb97edd95af1764b802365 100644 --- a/NPLib/GASPARD/GaspardTracker.cxx +++ b/NPLib/GASPARD/GaspardTracker.cxx @@ -329,15 +329,15 @@ NPL::VDetector* GaspardTracker::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_gaspard{ public: - proxy(){ + proxy_gaspard(){ NPL::DetectorFactory::getInstance()->AddToken("GaspardTracker","GASPARD"); NPL::DetectorFactory::getInstance()->AddDetector("GaspardTracker",GaspardTracker::Construct); } }; -proxy p; +proxy_gaspard p; } diff --git a/NPLib/HYDE2/THyde2TrackerPhysics.cxx b/NPLib/HYDE2/THyde2TrackerPhysics.cxx index a02c4da1c58b37bf56c76f99f3ac86a4f14e62d2..a7e72e29ae1ea74a00f12298830591737fc37557 100644 --- a/NPLib/HYDE2/THyde2TrackerPhysics.cxx +++ b/NPLib/HYDE2/THyde2TrackerPhysics.cxx @@ -79,14 +79,14 @@ NPL::VDetector* THyde2TrackerPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_hyde2{ public: - proxy(){ + proxy_hyde2(){ NPL::DetectorFactory::getInstance()->AddToken("Hyde2Tracker","Hyde2Tracker"); NPL::DetectorFactory::getInstance()->AddDetector("Hyde2Tracker",THyde2TrackerPhysics::Construct); } }; -proxy p; +proxy_hyde2 p; } diff --git a/NPLib/Helios/THeliosPhysics.cxx b/NPLib/Helios/THeliosPhysics.cxx index 2eaa8eb06152a811772b679d543a04b343dbac1a..6f03343dfbb3bbf3a63792c1eadccf8bf53488c3 100644 --- a/NPLib/Helios/THeliosPhysics.cxx +++ b/NPLib/Helios/THeliosPhysics.cxx @@ -180,14 +180,14 @@ NPL::VDetector* THeliosPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_helios{ public: - proxy(){ + proxy_helios(){ NPL::DetectorFactory::getInstance()->AddToken("Helios","Helios"); NPL::DetectorFactory::getInstance()->AddDetector("Helios",THeliosPhysics::Construct); } }; -proxy p; +proxy_helios p; } diff --git a/NPLib/Hira/THiraPhysics.cxx b/NPLib/Hira/THiraPhysics.cxx index 8e334cbd1ad0b96badcc8b58470c050c39d0086e..ba0901551888e493b6cdcb167708101360db09ee 100644 --- a/NPLib/Hira/THiraPhysics.cxx +++ b/NPLib/Hira/THiraPhysics.cxx @@ -481,14 +481,14 @@ NPL::VDetector* THiraPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ - class proxy{ + class proxy_hira{ public: - proxy(){ + proxy_hira(){ NPL::DetectorFactory::getInstance()->AddToken("HIRAArray","Hira"); NPL::DetectorFactory::getInstance()->AddDetector("HIRAArray",THiraPhysics::Construct); } }; - proxy p; + proxy_hira p; } diff --git a/NPLib/LaBr3/TLaBr3Physics.cxx b/NPLib/LaBr3/TLaBr3Physics.cxx index c795054f2904c12173dd23635ec2c659a387190d..153b9b01601439f9cf687b919d8a9935481f2c04 100644 --- a/NPLib/LaBr3/TLaBr3Physics.cxx +++ b/NPLib/LaBr3/TLaBr3Physics.cxx @@ -348,14 +348,14 @@ NPL::VDetector* TLaBr3Physics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_labr3{ public: - proxy(){ + proxy_labr3(){ NPL::DetectorFactory::getInstance()->AddToken("LaBr3","LaBr3"); NPL::DetectorFactory::getInstance()->AddDetector("LaBr3",TLaBr3Physics::Construct); } }; -proxy p; +proxy_labr3 p; } diff --git a/NPLib/MUST2/TMust2Physics.cxx b/NPLib/MUST2/TMust2Physics.cxx index a52eef92fefc18809d1f7bdb17d5ce1c58aacd08..558f3b94b6b84c64e5db665c7440c1edcd0a82c9 100644 --- a/NPLib/MUST2/TMust2Physics.cxx +++ b/NPLib/MUST2/TMust2Physics.cxx @@ -1437,14 +1437,14 @@ NPL::VDetector* TMust2Physics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_must2{ public: - proxy(){ + proxy_must2(){ NPL::DetectorFactory::getInstance()->AddToken("MUST2Array","MUST2"); NPL::DetectorFactory::getInstance()->AddDetector("MUST2Array",TMust2Physics::Construct); } }; -proxy p; +proxy_must2 p; } diff --git a/NPLib/Nana/TNanaPhysics.cxx b/NPLib/Nana/TNanaPhysics.cxx index b719d974de3ca99be4db218062a1728ec2932b14..32a9f059ef362850eaaed3e3dcb2ba45d7648513 100644 --- a/NPLib/Nana/TNanaPhysics.cxx +++ b/NPLib/Nana/TNanaPhysics.cxx @@ -578,14 +578,14 @@ NPL::VDetector* TNanaPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_nana{ public: - proxy(){ + proxy_nana(){ NPL::DetectorFactory::getInstance()->AddToken("Nana","Nana"); NPL::DetectorFactory::getInstance()->AddDetector("Nana",TNanaPhysics::Construct); } }; -proxy p; +proxy_nana p; } diff --git a/NPLib/Paris/TParisPhysics.cxx b/NPLib/Paris/TParisPhysics.cxx index 07fc86e294860a954eec44d75e2235421df5c889..505230e04629c75997957c62e9aa6c174fe942fd 100644 --- a/NPLib/Paris/TParisPhysics.cxx +++ b/NPLib/Paris/TParisPhysics.cxx @@ -945,14 +945,14 @@ NPL::VDetector* TParisPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_paris{ public: - proxy(){ + proxy_paris(){ NPL::DetectorFactory::getInstance()->AddToken("Paris","Paris"); NPL::DetectorFactory::getInstance()->AddDetector("Paris",TParisPhysics::Construct); } }; -proxy p; +proxy_paris p; } diff --git a/NPLib/Plastic/TPlasticPhysics.cxx b/NPLib/Plastic/TPlasticPhysics.cxx index bae84998da8a2c821e0e99db5205e9c75981b6dc..ae0e18f7c2512dc960be6e074f11c86879c81c72 100644 --- a/NPLib/Plastic/TPlasticPhysics.cxx +++ b/NPLib/Plastic/TPlasticPhysics.cxx @@ -308,14 +308,14 @@ NPL::VDetector* TPlasticPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_plastic{ public: - proxy(){ + proxy_plastic(){ NPL::DetectorFactory::getInstance()->AddToken("Plastic","Plastic"); NPL::DetectorFactory::getInstance()->AddDetector("Plastic",TPlasticPhysics::Construct); } }; -proxy p; +proxy_plastic p; } diff --git a/NPLib/SSSD/TSSSDPhysics.cxx b/NPLib/SSSD/TSSSDPhysics.cxx index 8e1df5339bcf5615431d308aae525819cb6c56af..4614deb3255b159c91cd2fb35ed04b9fef0034f9 100644 --- a/NPLib/SSSD/TSSSDPhysics.cxx +++ b/NPLib/SSSD/TSSSDPhysics.cxx @@ -436,14 +436,14 @@ NPL::VDetector* TSSSDPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_sssd{ public: - proxy(){ + proxy_sssd(){ NPL::DetectorFactory::getInstance()->AddToken("SSSD","SSSD"); NPL::DetectorFactory::getInstance()->AddDetector("SSSD",TSSSDPhysics::Construct); } }; -proxy p; +proxy_sssd p; } diff --git a/NPLib/SiLi/TSiLiPhysics.cxx b/NPLib/SiLi/TSiLiPhysics.cxx index 8bd2a09cce3dd0783b8d449ed52713324575e43c..8b7f9bd350f7efe7f2024e29c9633c171a6842b1 100644 --- a/NPLib/SiLi/TSiLiPhysics.cxx +++ b/NPLib/SiLi/TSiLiPhysics.cxx @@ -331,14 +331,14 @@ NPL::VDetector* TSiLiPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_sili{ public: - proxy(){ + proxy_sili(){ NPL::DetectorFactory::getInstance()->AddToken("SiLi","SiLi"); NPL::DetectorFactory::getInstance()->AddDetector("SiLi",TSiLiPhysics::Construct); } }; -proxy p; +proxy_sili p; } diff --git a/NPLib/SiRes/TSiResPhysics.cxx b/NPLib/SiRes/TSiResPhysics.cxx index d38d766f5045435e5463b72a8b70de1e8e2f3820..ff97f85fc782060d132a04be9f74f647bfe2794c 100644 --- a/NPLib/SiRes/TSiResPhysics.cxx +++ b/NPLib/SiRes/TSiResPhysics.cxx @@ -358,14 +358,14 @@ NPL::VDetector* TSiResPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_sires{ public: - proxy(){ + proxy_sires(){ NPL::DetectorFactory::getInstance()->AddToken("SiRes","SiRes"); NPL::DetectorFactory::getInstance()->AddDetector("SiRes",TSiResPhysics::Construct); } }; -proxy p; +proxy_sires p; } diff --git a/NPLib/Speg/TSpegPhysics.cxx b/NPLib/Speg/TSpegPhysics.cxx index ab55e1d0dac5fccd78e52716165d53609a6524fc..ee3e3b378e75983132103182fba672e519f87f42 100644 --- a/NPLib/Speg/TSpegPhysics.cxx +++ b/NPLib/Speg/TSpegPhysics.cxx @@ -1705,14 +1705,14 @@ NPL::VDetector* TSpegPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_speg{ public: - proxy(){ + proxy_speg(){ NPL::DetectorFactory::getInstance()->AddToken("Speg","Speg"); NPL::DetectorFactory::getInstance()->AddDetector("Speg",TSpegPhysics::Construct); } }; -proxy p; +proxy_speg p; } diff --git a/NPLib/Tiara/TTiaraHyballPhysics.cxx b/NPLib/Tiara/TTiaraHyballPhysics.cxx index 34319d5e033087ae12f13256859ab1ee4723be68..11a4196b0c1aa3e5c58f9e57f81395502830353f 100644 --- a/NPLib/Tiara/TTiaraHyballPhysics.cxx +++ b/NPLib/Tiara/TTiaraHyballPhysics.cxx @@ -789,14 +789,14 @@ NPL::VDetector* TTiaraHyballPhysics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_hyball{ public: - proxy(){ + proxy_hyball(){ NPL::DetectorFactory::getInstance()->AddToken("Tiara","Tiara"); NPL::DetectorFactory::getInstance()->AddDetector("TiaraHyballWedge",TTiaraHyballPhysics::Construct); } }; -proxy p; +proxy_hyball p; } diff --git a/NPLib/W1/TW1Physics.cxx b/NPLib/W1/TW1Physics.cxx index de84a37a6cb505e19a19844abba735db780b6839..d2bad968e8f933e18fbe809fb6f4eaa868ea0583 100644 --- a/NPLib/W1/TW1Physics.cxx +++ b/NPLib/W1/TW1Physics.cxx @@ -871,14 +871,14 @@ NPL::VDetector* TW1Physics::Construct(){ // Registering the construct method to the factory // //////////////////////////////////////////////////////////////////////////////// extern "C"{ -class proxy{ +class proxy_w1{ public: - proxy(){ + proxy_w1(){ NPL::DetectorFactory::getInstance()->AddToken("W1","W1"); NPL::DetectorFactory::getInstance()->AddDetector("W1",TW1Physics::Construct); } }; -proxy p; +proxy_w1 p; }