MAD-X project:Accelerator Classes or Types

 

MAD8 is a pure exercise in 洋才:  I do not care how you do it, just do it. On the other hand, MAD9, taking advantage of object orientedness, became a pure 和魂 product: harmonious structures beautiful to the eye of the computer programmer but void of physics substance and physics principles. In other words MAD9, with its obscene 451 classes and the usage of nearly all obscure tricks of C++, could not handle any accelerator structures beyond what MAD8 could handle. It is a true scandal given the fact that  one of the highest paid worker of CERN spent 5 years of his life on this project. MAD-9 left port like HMS Titanic and sank on its maiden voyage. After the sinking of MAD-9, CERN (Hans Grote) returned to pure  洋才. He ignored any novel idea which could make MAD-X something truly new and reproduced a functional MAD8 in C. I will explain how novel structures, based on physics, could have made MAD-X a truly more powerful program with little effort. Obviously, if SAD is rewritten one should not repeat the MAD9 disaster nor aim low like MAD-X. We can do better than that.