First off you have the right to privacy.They can not watch you piss nor can they frisk you down.Unless its for a probation piss test.
They can make you empty your pockets take off hats and coats and all that shit.But if you keep the QF 4.0 under your nut sack they can not find it.
Just wear some tight undies and use the heating pad.
You will be fine.