Hi rooters,
I wrote a code to create an std::vector of pSignal, a custom class representing particle signals that inherits from TGraph, so as a “zero-order approximation” you can say this is a vector of TGraph.
I put the vector in a TTree and finally i save the TTree on a TFile.
The aim is to read the stored signals back once the file is ready.
I loaded all necessary libraries and generate the dictionaries.
When I try to read i get this error:
Error in TTree::SetBranchAddress: Unable to determine the type given for the address for “Wsignals”. This is probably due to a missing dictionary, the original data class for this branch is vector
This is the first time i do something like this, so i do not know what to do to fix this problem and that’s why I am asking your help.
Thanks in advance
stl.C (2.0 KB)