LASORS, Section A, Appendix B contains all the info you need.
Essentially, what everyone else said!
If it's 'your' sector, and you're taking decisions, and running the show (ish), then you can count it as PICUS. This would therefore not really include Line Training etc.
When you're acting as PNF / PM, you would log P2.
If this wasn't the case, turning a CPL into an ATPL would be quite tricky.