To get test plots, just do:
python -i test_tdrstyle.py
To set up the plotting style do the following in your python macro:
import tdrstyle
To print the CMS luminosity information, use the tdrstyle.cmsPrel function. For more information, do
help(tdrstyle.cmsPrel)