Stellar population of Sco OB2 revealed by Gaia DR2 data