You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README/ReleaseNotes/v640/index.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -594,6 +594,32 @@ Entries within the buffer are shuffled together before batching if shuffling is
594
594
595
595
## Experimental features
596
596
597
+
### Opting out of object auto registration
598
+
In preparation for ROOT 7, ROOT 6.40 introduces an experimental mode for opting out of the auto-registration of objects.
599
+
In ROOT 7, this will be the default, and an opt-in will be required to make these objects auto-register themselves.
600
+
The table below shows which objects currently honour this mode, and which objects are planned to be added on the path to ROOT 7.
601
+
602
+
The planned ROOT 7 behaviour can be enabled in one of three ways:
603
+
1.`ROOT::Experimental::DisableObjectAutoRegistration()`: This disables auto registration *for the current thread*.
604
+
2. Setting the environment variable `ROOT_OBJECT_AUTO_REGISTRATION=0`: This sets the default for every thread that starts.
605
+
3. In `.rootrc`, set the entry `Root.ObjectAutoRegistration: 0`: This sets the default for every thread that starts.
606
+
607
+
**Note that method 1 affects only the current thread**, whereas methods 2 and 3 set the default for every thread that is started in this ROOT session.
608
+
Using `ROOT::Experimental::EnableObjectAutoRegistration()`, the auto-registration can be enabled for a single thread without affecting the rest of the session.
609
+
610
+
Consult the doxygen documentation of these functions in the [ROOT::Experimental namespace](https://root.cern.ch/doc/v640/namespaceROOT_1_1Experimental.html) for details.
611
+
612
+
|| Honours `DisableObjectAutoRegistration()`? | Could this be disabled previously? |
0 commit comments