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
ALWAYS use ruff-format (for new code) and ruff-check
ALWAYS place import statements at the top of the file
NEVER run non-trivial code at the top-level scope of your module, so that it can be imported without side-effects. INSTEAD, hide this code behind an if __name__ == "__main__": condition
FairRoot/FairShip specific
PREFER STL vectors or RVecs or GenVector over TVectorT
PREFER STL containers or RTensor over TMatrix
PREFER using len() instead of .size() and .GetEntries() (supported for
STL containers, TCAs, TTrees, Pythia8 events and many other data types)