Hi all,
I have a question:
Now , I want to rewrite a branch of a tree. So I made a try like this :
.... TTree m_Tree = fChain->CloneTree(0);
Then I loop all the entries.
for ( long64_t i=0;i < N;i++) {
Weight_mc = 1; // for instance, Weight_mc is a branch
}
then I tries to store m_Tree :
m_Tree->Write();
But there is no entries in the output root file.
So ,Could you tell me what is the wrong ?
Thank you very much!