I’m storing custom class in TClonesArray with automatically generated Streamer() by rootcint.
The error i’m getting is as the below.
Error in TBufferFile::CheckByteCount: object of class vector read too many bytes: 1464005188 instead of 390263364
Warning in TBufferFile::CheckByteCount: vector::Streamer() not in sync with data on file ionTrack_dataNum101.event.5.root, fix Streamer()
It seems that it happens because there’re too many entries in the vector in the class, but I need that much for the analysis.
In this case, how can I fix Streamer() method as the warning message said?
Thank you for you help in advance.