I have a weight file for a BDT trained with TMVA and I’m creating a reader class to be used in the analysis chain.
I noticed that if the weight files declares some spectators and I don’t add them to the reader then during evaluation I get the following error
<FATAL> : Dataset[Default] : You declared 0 spectators in the Reader while there are 2 spectators declared in the file ***> abort program execution
I fail to understand, however, why the spectators would be needed in the evaluation phase. Is there some workaround to avoid to add spectators to the reader (besides editing the weight file, which I would like to avoid)?