3 TChain *chain =
new TChain(
"Tjas",
"jDst");
12 chain->AddFile(
"./wrkLcp/R3011049.tree.root", -1);
13 chain->AddFile(
"./wrkLcp/R3011050.tree.root", -1);
14 chain->AddFile(
"./wrkLcp/R3011051.tree.root", -1);
15 chain->AddFile(
"./wrkLcp/R3011052.tree.root", -1);
16 chain->AddFile(
"./wrkLcp/R3012001.tree.root", -1);
17 chain->AddFile(
"./wrkLcp/R3012002.tree.root", -1);
18 chain->AddFile(
"./wrkLcp/R3012008.tree.root", -1);
20 chain->SetBranchAddress(
"vz",&vz);
21 chain->SetBranchAddress(
"nPrim",&nTr);
24 int N=chain->GetEntries();
29 int ret=chain->GetEntry(k);
31 if(k%2000==0)printf(
"%d %d %d %f\n",k,ret,nTr,vz);