Skip to content

v2.2.19

Compare
Choose a tag to compare
@jgalan jgalan released this 25 Dec 05:37
· 3735 commits to master since this release

Relevant updates/addons/fixes

  • TRestAnalysisPlot fixed important bugs on this class, and washed out the limitation of using it with a large number of files! (over 1K).

  • TRestMetadataPlot new class used in a similar way to TRestAnalysisPlot but allowing to plot metadata members from several input files, and used as data points to build XY scatter plots. This allows to correlate data from different metadata class members, or just plot the evolution of a data member if we plot against the fRunNumber or the starting time stamp of the run. An example was added at examples/metadataPlot.rml.

  • TRestEventProcess::ApplyCut method added. Now any process can define generic cuts on the observables that it itself defines, using <cut name="NumberOfGoodSignals" value="(1,1000)" />.

    • TRestRawSignalAnalysisProcess is now
  • New methods at TRestRun:

    • GetMetadataMember will return the value of a metadata class stored in the ROOT file. I.e. using it as run0->GetMetadataMember("TRestG4Metadata->fNEvents");.
    • EvaluateMetadataMember will return true if the given condition is fulfilled. I.e. using it as run0->EvaluateMetadataMember("TRestG4Metadata->fNEvents > 1000");.
  • GdmlPreprocessor now accepts environmental variables! New header system <!-- ##VERSION my gdml name tag --> used to stamp a GDML name of TRestG4Metadata. Similar for materials file. It will stamp the version of the materials file used.

  • TRestRawCommonNoiseReductionProcess was added.

  • Now the global verbose output level can be controlled using the variable gVerbose. Its default value is REST_Warning and it will define the verbose level of REST classes if not specified otherwise.

  • Added a compilation option REST_EVE to enable/disable connection to libEve libraries, that sometimes is not by default at the ROOT installation.

Other updates/addons/fixes:

  • TRestSignalZeroSuppressionProcess new observable added for abnormal tail signal analysis.

  • TRestElectronDiffusionProcess if not specified Nmax default value is now 1000.

  • TRestRawSignalAnalysisProcess added observable pointsoverthres_map.

  • Historic_process renaming has been now removed.

  • TRestSmearingProcess fixing an important bug when calling AddHit method that was masked if TRestElectronDiffusionProcess was used afterwards. I.e. problem only appeared if TRestSmearingProcess was used without electron diffusion.

  • TRestStringHelper::Split method now allows to define where we start the splitting.

  • TRestG4Event::DrawEvent allows to disable automatic boundaries identification using a second optional argument, and define user boundaries using the TRestG4Event::SetBoundaries. TODO: This method could probably belong directly to TRestEvent.