For each subject , 2.5 min of multichannel electroencephalography recording , a cognitive test of sustained attention ( continuous reaction time ) , and experimental pain scores to bone-pressure and heat stimuli were collected before and after infusion of remifentanil or placebo .