AliAnalysisManager am; am.ConnectInput("file://input.root");
AliAnalysisManager am; TFile* file = TFile::Open("input.root"); TTree* tree = (TTree*)file->Get("tree"); am.ConnectInput(tree);In this example, a TTree named "tree" is retrieved from a root file and connected as the input for the analysis modules. Package/library: ROOT