Retrofit means that you can buy and install a dimmable ballast on a fluorescent fixture that you already have.
4 pin lamps: Title 24 requires electronic ballasts. It is easy to tell that you are complying by the number of pins that make up the electrical connection on the compact fluorescent lamp. Two pin is for magnetic ballast, four pin is for electronic ballast.