I’m studying root by copying and pasting now. But there are parts i don’t understand in this code.
I don’t know the role of TString, and in Draw class what is the role of C2_noise+C1_HE part in ch->Draw(“crystal2.energy>>h_C2”,C2_noise+C1_HE).
And also ch->Draw(“crystal2.energy>>+h_C2”,C2_noise+C1_HE) why the ‘+’ is added front of the h_C2?
And this is the result.