Potential electric fire

Today, at my local middle school between fifth and sixth period the fire alarms (Simplex Trualerts and Wheelock outdoor mt’s) went off, so I had to line up at my fifth period (pe) evacuation area. Afterwards, I heard that the smoke detector (Simplex Trualarms- or Falsalarms- there’s a reference to someone here…) was activated, but I didn’t hear why. Later in seventh period I found out that it was caused by the lights in the room (which just so happened to be my math classroom) being shorted out, so luckily the fire alarms did their job and evacuated everybody before the fire could start (thank goodness for photoelectric smokes) When the FD arrived the power had been shut off to the building, so thankfully no fire.