v2.2.17
REST Framework
-
TRestHits
: Implemented iterator making it easy to loop over all the hits points. Enablesstd
operation like max finding, sort, etc. A detailed description of this new feature can be found at the online CHANGELOG. -
TRestHitsEvent
: removed several methods which were directly callingfHits
. AddedSort()
method. -
TRestMetadata now contains some new error methods that allow to store an error message. For example, we might use them so that we recover an error in a CI pipeline. New members - not stored - are
fError
andfErrorMessage
. -
TRestSystemOfUnits
now supports volume units, and milligrams added. -
TRestSystemOfUnits added method
RemoveUnitsFromString`. -
TRestEventProcess::GetInputEvent/GetOutputEvent
are now pure virtual, and returns typeany
. This helps to make processes simpler for user and memory safe. Check the following forum post for details. -
TRestMetadata
: added new data member,messageBuffer
, which can be saved in root file. We can retrieve the output message from this class inrestRoot
usingTRestMetadata::PrintMessageBuffer
. -
TRestDataBase
: updated interface and logic. It is now responsible to provide certain rml file for different metadata classes to load. This logic should be inherited by the inherited class (package) accessing the actual data stored in various database system in various experiments. -
Added
RestAxionLib
andrestSQL
as git submodules. -
TRestDataQualityProcess
added a first version of this process to generate quality numbers based on ranges of observables or metadata members. -
TRestMesh::GetTrackBoundaries
method added. It allows to identify the positions at which a particle defined as position + vector crosses the bounding volume defined inside aTRestMesh
. -
TRestMesh::GetNodeX,Y,Z
important bug FIXED. -
TRestMesh
now accepts cylindrical type to define volume boundaries,IsInside
andGetTrackBoundaries
methods affected. -
TRestG4Event
now active volumes are registered using full GDML geometry name. -
TRestAnalysisPlot
added a<cutString
and<globalCutString
allowing to introduce a generic cut string that will be given to theDraw
method. This cut string will be added && to any conventional<cut
or<globalCut
definition. -
TRestTools::ReadBinaryTable
added and reviewed. -
TRestPhysics
was used only to define physical constants. Now it seems handy to place some basic methods to be more accesible. Added methodMoveByDistance
,MoveByDistanceFast
,MoveToPlane
andGetDistance
. -
TRestProcessRunner
bug FIXED that in case of errors in the processing was causing the threads to keep alive and execution never finished even ifexit()
was called.