The Past Perfect Continuous uses had been + -ing. It emphasises the duration of an activity that was in progress before a past event or explains the visible result of that activity: She was tired because she had been working all day.
Choose the correct Past Perfect Continuous form (had been + -ing).