Actually the San Gabriel range provides a barrier against which coastal storms push up and drop their moisture.
The record rainfall in California during a 24-hour period was 26.12 inches occurring January 22-23, 1943, at Hoegees Camp in Los Angeles County (18 miles north of Los Angeles City Hall in the San Gabriel Mountains).
source