The client interaction with a PROOF session goes via an instance of the API class TProof . The interaction with the server daemon is internally managed by a dedicated manager class, TProofMgr , which is invoked by TProof when creating a session.
To create a session from the ROOT prompt just type
root[0] TProof *p = TProof::Open("")
or
root[1] TProof *p = TProof::Open("@:2093")
Here "
The static TProof::Open(...) takes care of creating the correct manager instance for the required cluster; the manager instance is available via TProof::GetManager().
If the user has already a session running on the cluster, by default TProof::Open(...) attaches to the existing session. To force creation of a new session the option N must be used:
root[0] TProof *p = TProof::Open("/?N")