Skip to content

v2.2.11

Compare
Choose a tag to compare
@jgalan jgalan released this 25 Dec 05:57
· 4967 commits to master since this release
  1. Removed automatic TRestVersion.h generation at compile time. Now version must be updated manually. And TRestVersion.h header generated using the new script generateVersionHeader.py to help on header generation. CONTRIBUTING guide will be soon updated accordingly.

  2. Upgrades related to pre-generated Decay0 generator. New particles, pre-defined positions, etc.

  3. New online Decay0 generator added. packages/restG4/example/restG4template/restG4.rml has been updated to show the new different ways to implement this generator in TRestG4Metadata.

  4. REST_ViewReadoutEvent rescued.

  5. New fVersionLibrary member inside TRestMetadata. To be used to define version of REST libraries, and be written in the corresponding metadata classes.

  6. Added future libraries skeleton under libraries/.

  7. Reference to create new future REST libraries has been refurbished. It has been moved from packages/userRESTlibrary to libraries/dummy.

  8. Added a script to apply clang-format to the full repository. We adopt the use clang-format in this release for coding style conventions. Needs update on the CONTRIBUTION GUIDE!

  9. Improved output precision at TRestG4Track::PrintTrack, and added missing track origin information.

  10. Updated TRestAnalysisTree information. Simplified the integration of analysis tree variables inside processes. A new method TRestEventProcess::SetObservableValue has been added to help in this. Processes now do not need to build the observable name. Just call SetObservableValue((string) "xOrigin", xOrigin). Processes need to be updated in future. An updated process to be used as reference is TRestGeant4AnalysisProcess.

  11. Fixed issue in restG4 not filling properly the run number, and other related fields.

  12. {Begin,End}OfEventProcess are now not virtual. It means when using the REST processes inside TRestProcessRunner any {Begin,End}OfEventProcess implemented inside a specific process will be just ignored. The implementation of TRestEventProcess::{Begin,End}OfEventProcess will be used to assist on transferring event id, timestamp, etc.

  13. Added a new option to add all the observables of a process to the analysis tree!

<parameter name="observable" value="all" />

If we do not define this parameter, just the explicit observable declarations will be added to the analysisTree.

  1. Now, analysis observables of type map do not have to be declared as a member of the process. But they are rather defined as local variables and added simply using SetObservableValue.

  2. SetObservableValue improved efficiency using templates, this should simplify integrating new observables inside processes by using directy TRestEventProcess::SetObservableValue() inside the ProcessEvent method.

  3. TRestHits::are{XY,XZ,YZ} methods have been updated to evaluate all the hits, and not only the first one.

  4. TRestHits::GetPosition(n). NaN vector components are converted to 0 in any scenario.

  5. Added method TRestTools::GetTypeName and TRestTools::Assembly.

  6. Updated method TRestMetadata::{Get,Set}DataMemberVal{InString}.

  7. TRestEventProcess members will be saved without junk. fVersion, fName, etc.

  8. Fix a bug on restG4 SteppingAction. Biasing volume related. Still I don't understand this fix. But anyway, biasing volumes will disappear in future.

  9. TRestAnalysisPlot added stats box also on single plot, and other mods not previously integrated from v2.1.7.

  10. Several updates on Decay0 generator TRestG4 related classes. New Decay0 format accepted now. New particles accepted in pre-generated file (not only electron).

  11. TRestMetadata::SearchFile is now recursive.

  12. TRestMetadata::GetSearchPath will search in REST_PATH/data/ by default if not found in user defined paths.

  13. Many other minor but important bug fixes.