A recording condition on a media is optimized by introducing a new
evaluation index. An apparatus for optical information recording and
reproducing includes: a measurement means for recording codes including a
specific code in a medium for optical information recording and
reproducing, reproducing the codes from the medium for optical
information recording and reproducing, and measuring, from a reproduced
signal of the codes, a peak value of amplitude of a reproduced signal
related to the specific code, the peak value being a maximum value or a
minimum value of the amplitude of the reproduced signal related to the
specific code; a statistic calculation means for calculating preset
statistic by using a plurality of peak values at the same or different
recording places, the plurality of peak value having been obtained by the
measurement means; and a condition decision means for deciding at least
one of a recording laser power condition and a recording pulse condition
by using the statistic. The peak value and the statistic thereof serving
as a new evaluation index are effective for evaluation of the apparatus
for optical information recording and reproducing or setting of a
recording condition in the specification.