I have a question regarding the description of TMVA output directories labeled as above in quotation in the topic’s titles. The description makes me think that given a single TMVA::DataLoader object I can save multiple bookings of a method into a directory labeled with this description. How would I go about doing this? For example, say I want to save multiple bookings of the Fisher method in such a directory, running TMVA with a macro having the following lines gives me an error saying that two bookings can’t have the same name:
TMVA::DataLoader * dl = new TMVA::DataLoader("TMVAResults"); TFile TMVAOutFile("TMVAOutFile.root"); TMVA::Factory * factory = new TMVA::Factory("TMVAFactory", & TMVAOutFile, "V"); factory -> BookMethod(dl, TMVA::Types::kFisher, "Fisher"); factory -> BookMethod(dl, TMVA::Types::kFisher, "Fisher", "<options>");
Trying to refer to the TMVA Users Guide, I thought maybe if I were to instead book the above methods as “Fisher_1” and “Fisher_2” instead of both as “Fisher”, they could be saved under the same TDirectoryFile “Method_Fisher”, but instead they get saved under individual TDirectoryFiles correspondingly named “Method_Fisher_1” and “Method_Fisher_2”, both of which have the description “Directory for all Fisher methods”.