Past Perfect Continuous Tense:
Past perfect continuous tense describes an ongoing action in the past that is completed before another action takes place in the past. The structure of this tense is had + been + main verb + ing.
Examples of Past Perfect Continuous Tense