The right way to do it is hard braking and hard accelerations when upright. Don't lean too much.
This, right here, warrants a sticky somewhere. Tires get up to temperature by flexing the carcass which happens a LOT more under hard braking than it does by cornering. Rolling around a track does almost nothing to warm up your tires, and if you are on a race compound you can actually lose
heat if you are not pushing them hard enough.
This is why you always see people coming up to the grids and braking so hard that they pick up the rear of their bikes...its forcing the tire to flex and keeps/builds heat in them.
Also, since this is a tire thread I wanted to take a moment to talk about the new(ish) Pirelli "Wet" tires.
These are about a half way point between full rains and DOT tires and fill a role that I felt was really missing in tire lineups. Where I race it almost always seems to be wet, but not raining. Either it rained earlier in the day and has been drying (but not yet dry) or it is drizzling but not enough to put down a film of water. Under those conditions DOT tires are too slippery and full rains get overheated and shred to pieces.
The wet tire is a perfect choice for these conditions, and as far as I know Pirelli is the only brand that has them (so far). Just as a case in point, last year we had an amateur racer lap Eric Wood (one of the fastest guys on the track) during a race. Eric was on Dunlop rains and Cole (the amateur) was on Pirelli Wets. He was able to go FOUR SECONDS a lap faster than this top level expert.
All about having the right tool for the job.
I wouldn't really recommend these for track day riders as most of the times if the conditions are right for wet tires, it will either be fully wet or fully dry by your next session. Probably not worth changing tires. For racers, this can mean the difference between a points victory or not.
So, in summary:
DOTs/Slicks: Incredible dry grip/ very poor wet grip
WET tire: medium dry grip / medium wet grip
Rain Tire: poor dry grip / very good wet grip