This is based on those who self identify as Hispanic in the Census. Note self identifying undercounts Hispanics, because by 3d generation despite suffering continued disparities segment self identifies as white!
Source:
Third Generation Disadvantage among Mexican Americans