Blender compositing depth mask and alphas

Just looking for some comments on how others might be using blender for post compositing work. Like do we have access to depth masks or black and white masks for animations.

I need to find what ever tools blender has for these kind of pipe lines to import to after effects and avid…

Please :smiley:

In spite of the possibility of getting my head bitten off: