Santa Maria is subdivided into 24 barangays . All 24 barangays are urban :
All twenty-four ( 24 ) barangays of the municipality are electrified .