I have doing a Tree file with GAMOS5.1.0 and I have one doubt that I don’t know if have something wtih the root or Gamos/Geant4. So, The doubt is that a Tree File has been produced but sometimes the value in RMS and Mean appears zero, and in some trees the entries appears a different value what I supposed that is because the physics envolved.
Thanks, @oshadura for the answer!
I already asked in the forum of GAMOS, I’m waited the answer!
But I have a doubt in concern to the root file that maybe it’s help me understand better the histogram in root. Well, every histogram have entries, but some of the histograms in this root file appears with less entries than in the data in the histogram itself. What I meant is that it’s seems that in some cases the number of entries do not correspond to the number that is saw in the histogram, like for example, in the root file link add above “BraTreeEx_tree_1000.root” there is a branch named “Step_Particle” and inside a leaf named “data”, that shows this. Could anyone help me understand why this is possible in terms of the root program?
From the output of BraTreeEx->Print("Step_Particle*"); you can see that it is a std::vector<std::string> so, try simply: BraTreeEx->Scan("Step_Particle", "Step_Particle.size() != 0");
I have another question: How can I do it in order to see the entries of the branch “Event_AccumulatedEnergyLost” in the tree file “BraTreeEx_tree_1000.root”? This is to understand why the mean and rms of 100000 entries goes to zero.