fChain in TSelector::Begin unset?

Hi everyone,

I noticed that in a class I derived from a class generated by TChain::MakeSelector I cannot access the corresponding chain in the routine Begin() since fChain == 0.

I can, however, use fChain normally in Process().

Is this supposed to be the case or am I doing something wrong?


The Init function initializing fChain is called from Begin (or SlaveBegin).
See an example in $ROOTSYS/tutorials/h1analysis.C