I am writing a Macro and would like to use some Metadata. In this particular case, I want to extract the veto signal IDs from the TRestRawVetoAnalysisProcess.
I can see the parameter I want fVetoSignalId within the TRestRawVetoAnalysis-object when I open the root file in the Browser, and also PrintMetadata() shows me all the information, but I didn’t find a way to read-out this parameter within the Macro. Do I have to implement a method for this in the TRestRawVetoAnalysis process? Or is there a simpler way?
And a related problem:
In the TRestRawVetoAnalysis-object in the root file, I can see fVetoSignalId, but not for example fVetoGroupIds. I would like to read out this parameter, too. How can I make sure that it is saved to the file?
It is still possible to retrieve the data members using the name of the data member itself. If you have a pointer to your process, lets say pcsPointer, you are always allowed to retrieve the metadata members as follows: