# Skim events on values of a vector variable

**URL:** <https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875>\
**Category:** Newbie\
**Tags:** rdataframe\
**Created:** [February 11, 2025, 12:29pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875 "2025-02-11T12:29:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![bomben](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bomben](https://root-forum.cern.ch/u/bomben)\
**Post date:** [February 11, 2025, 12:29pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/1 "2025-02-11T12:29:22Z")

</div>

Dear all,  
I have just started using RDataFrame and I would like to skim events based on the values of a vector variable.  
My tree contains tracks made out of hits from different layers. Here it is a snapshot of the tree structure:

> trackCharge Float\_t Dataset  
> trackD0 Float\_t Dataset  
> trackD0Err Float\_t Dataset  
> trackDeltaZSinTheta Float\_t Dataset  
> trackEta Float\_t Dataset  
> […]  
> hitEtaModule ROOT::VecOps::RVec Dataset  
> hitGlobalX ROOT::VecOps::RVec Dataset  
> hitGlobalY ROOT::VecOps::RVec Dataset  
> hitGlobalZ ROOT::VecOps::RVec Dataset  
> hitIsEndCap ROOT::VecOps::RVec Dataset  
> hitLayer ROOT::VecOps::RVec Dataset  
> hitLocalErrorX ROOT::VecOps::RVec Dataset  
> hitLocalErrorY ROOT::VecOps::RVec Dataset  
> hitLocalX ROOT::VecOps::RVec Dataset  
> hitLocalY ROOT::VecOps::RVec Dataset  
> […]

For example: I would like to save only tracks that have hits in a specific layer:

> df.Filter(‘hitLayer==2’).Snapshot(“myNewTree”,“myNewFile.root”)

Is it possible, please?

Many thanks in advance and best regards,  
Marco Bomben

* * *

_ROOT Version:_ 6.28  
_Platform:_ Mac OS X  
_Compiler:_ Apple clang version 16.0.0 (clang-1600.0.26.6)

* * *

---

<div class="post-metadata">

**Author:** ![lbreitwi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/lbreitwi/32/21330_2.png) [@lbreitwi](https://root-forum.cern.ch/u/lbreitwi)\
**Post date:** [February 11, 2025, 12:34pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/2 "2025-02-11T12:34:24Z")

</div>

Hi Marco,  
@vpadulan should be able to help you with this question.

---

<div class="post-metadata">

**Author:** ![bomben](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bomben](https://root-forum.cern.ch/u/bomben)\
**Post date:** [February 18, 2025, 10:56am UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/3 "2025-02-18T10:56:54Z")

</div>

Hi @lbreitwi and @vpadulan , any hint on how to progress, please?  
Many thanks in advance and best regards,  
Marco Bomben

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [February 23, 2025, 10:55am UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/4 "2025-02-23T10:55:30Z")

</div>

Dear @bomben ,

Thanks for reaching out to the forum!

If I understand your question correctly, for any specific branch containing information about tracks, you want to save the portion of that branch that correspond to hits in a specific layer. My understanding is that `hitLayer` branch is a collection of hit layers. The `Filter` operation applies the selection on the whole event, i.e. replying to the question `can I discard this entire event or not?`. Instead here you want to skim down parts of the same event, not discarding it as a whole. In this case, the `Define` operation should be used, to skim the branches you want to save based on which hit layer you’re interested in. I imagine something like the following pseudocode should give you a good starting point

```python
df.Define("goodTracks", "tracks[hitLayer == 2]").Snapshot("tree","file",["goodTracks"])

```

As a further comment, the tree structure you report looks somehow wrong or partly modified. For example, a branch type of `ROOT::VecOps::RVec` doesn’t really make sense. It should be qualified with its inner data type, e.g. `ROOT::VecOps::RVec<float>` or similar.

Let me know how you proceed and if you need further assistance

Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![bomben](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bomben](https://root-forum.cern.ch/u/bomben)\
**Post date:** [March 6, 2025, 10:15am UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/5 "2025-03-06T10:15:32Z")

</div>

Dear @vpadulan , thanks a lot for your feedback.  
I start from the end of your message: yes, the branch type is indeed:

> ROOT::VecOps::RVec\<float\>

(\<,\> symbols have to be escaped).

Now, for the main topic, here is what I have tried:

> df.Define(“goodTracks”, “tracks[hitLayer == 2]”).Snapshot(“trktree”,“newfile.root”,[“goodTracks”])

as you suggested but I still get an error:

> * * *
> 
> AbortSignal Traceback (most recent call last)  
> Cell In[21], line 1  
> ----\> 1 df2.Define(“goodTracks”, “tracks[hitLayer == 2]”).Snapshot(“trktree”,“newfile.root”,[“goodTracks”])

> File ~/mwork/mambaforge/lib/python3.10/site-packages/ROOT/\_pythonization/\_rdf\_pyz.py:372, in \_PyDefine(rdf, col\_name, callable\_or\_str, cols, extra\_args)  
> 369 raise TypeError(f"First argument of Define must be a valid string for the new column name. {type(col\_name). **name** } is not a string.“)  
> 371 if isinstance(callable\_or\_str, str): # If string argument is passed. Invoke the Original Define.  
> → 372 return rdf.\_OriginalDefine(col\_name, callable\_or\_str)  
> 374 if not callable(callable\_or\_str): # The 2st argument is either a string or a python callable.  
> 375 raise TypeError(f"The second argument of a Define operation should be a callable. {type(callable\_or\_str). **name** } object is not callable.”)

> AbortSignal: Template method resolution failed:  
> ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void::Define(basic\_string\_view\<char,char\_traits \> name, basic\_string\_view\<char,char\_traits \> expression) =\>  
> AbortSignal: abort from C++; program state was reset  
> ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void::Define(basic\_string\_view\<char,char\_traits \> name, basic\_string\_view\<char,char\_traits \> expression) =\>  
> AbortSignal: abort from C++; program state was reset

Many thanks again for your help and best regards,  
Marco Bomben

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [March 6, 2025, 1:05pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/6 "2025-03-06T13:05:12Z")

</div>

Dear @bomben ,

Thank you for your reply. Unfortunately, the error is not very informative right now. I believe we can make it more informative with the two following strategies:

1. Run your application with debug symbols enabled for cling. This can be done for example at the command line e.g. `$: CLING_DEBUG=1 python myanalysis.py`
2. Enable verbose logging from RDataFrame. In your python script, somewhere at the top right after you `import ROOT`, write the following line.

```python
verbosity = ROOT.Experimental.RLogScopedVerbosity(ROOT.Detail.RDF.RDFLogChannel(), ROOT.Experimental.ELogLevel.kDebug)

```

Can you then please send me back the full output of your application?  
Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![bomben](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bomben](https://root-forum.cern.ch/u/bomben)\
**Post date:** [March 6, 2025, 1:15pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/7 "2025-03-06T13:15:53Z")

</div>

Dear @vpadulan ,  
thanks for your feedback. Below the error I get:

> input\_line\_82:2:50: error: use of undeclared identifier ‘tracks’  
> auto func0(ROOT::VecOps::RVec& var0){return tracks[var0 == 2]  
> ^  
> libc++abi: terminating due to uncaught exception of type std::runtime\_error:  
> RDataFrame: An error occurred during just-in-time compilation. The lines above might indicate the cause of the crash  
> All RDF objects that have not run an event loop yet should be considered in an invalid state.

> \*\*\* Break \*\*\* abort  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] (anonymous namespace)::TExceptionHandlerImp::HandleException(int) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCore.6.28.00.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)  
> [/usr/lib/system/libsystem\_platform.dylib] \_sigtramp (no debug info)  
> [/usr/lib/system/libsystem\_pthread.dylib] pthread\_kill (no debug info)  
> [/usr/lib/system/libsystem\_c.dylib] abort (no debug info)  
> [/usr/lib/libc++abi.dylib] \_\_cxxabiv1::\_\_aligned\_malloc\_with\_fallback(unsigned long) (no debug info)  
> [/usr/lib/libc++abi.dylib] demangling\_terminate\_handler() (no debug info)  
> [/usr/lib/libobjc.A.dylib] \_objc\_terminate() (no debug info)  
> [/usr/lib/libc++abi.dylib] std::\_\_terminate(void (_)()) (no debug info)  
> [/usr/lib/libc++abi.dylib] \_\_cxa\_get\_exception\_ptr (no debug info)  
> [/usr/lib/libc++abi.dylib] \_\_cxxabiv1::failed\_throw(\_\_cxxabiv1::\_\_cxa\_exception_) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Internal::RDF::InterpreterDeclare(std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] (anonymous namespace)::DeclareFunction(std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&, std::\_\_1::vector\<std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\>, std::\_\_1::allocator\<std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\>\>\> const&, std::\_\_1::vector\<std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\>, std::\_\_1::allocator\<std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\>\>\> const&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Internal::RDF::BookDefineJit(std::\_\_1::basic\_string\_view\<char, std::\_\_1::char\_traits\>, std::\_\_1::basic\_string\_view\<char, std::\_\_1::char\_traits\>, ROOT::Detail::RDF::RLoopManager&, ROOT::RDF::RDataSource\*, ROOT::Internal::RDF::RColumnRegister const&, std::\_\_1::vector\<std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\>, std::\_\_1::allocator\<std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\>\>\> const&, std::\_\_1::shared\_ptrROOT::Detail::RDF::RNodeBase_) (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] WrapperCall(long, unsigned long, void_, void\*, void\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] Cppyy::CallO(long, void\*, unsigned long, void\*, unsigned long) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::(anonymous namespace)::InstanceExecutor::Execute(long, void\*, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::ExecuteFast(void\*, long, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::ExecuteProtected(void\*, long, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::Call(CPyCppyy::CPPInstance\*&, \_object\*, \_object\*, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::(anonymous namespace)::mp\_call(CPyCppyy::CPPOverload\*, \_object\*, \_object\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::tpp\_call(CPyCppyy::TemplateProxy\*, \_object\*, \_object\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyObject\_MakeTpCall (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] call\_function (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_EvalFrameDefault (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_Vector (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] call\_function (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_EvalFrameDefault (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_Vector (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] run\_mod (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyRun\_SimpleFileObject (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyRun\_AnyFileObject (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] Py\_RunMain (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] pymain\_main (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] main (no debug info)  
> [/usr/lib/dyld] start (no debug info)  
> Traceback (most recent call last):  
> File “/Users/mbomben/work/Stagiare/2024-25/polytech/Raphael/tuples/debug.py”, line 12, in   
> df.Define(“goodTracks”, “tracks[hitLayer == 2]”).Snapshot(“trktree”,“newfile.root”,[“goodTracks”])  
> File “/Users/mbomben/mwork/mambaforge/lib/python3.10/site-packages/ROOT/\_pythonization/\_rdf\_pyz.py”, line 372, in \_PyDefine  
> return rdf.\_OriginalDefine(col\_name, callable\_or\_str)  
> cppyy.ll.AbortSignal: Template method resolution failed:  
> ROOT::RDF::RInterfaceROOT::Detail::RDF::RLoopManager,void ROOT::RDF::RInterfaceROOT::Detail::RDF::RLoopManager,void::Define(basic\_string\_view\<char,char\_traits \> name, basic\_string\_view\<char,char\_traits \> expression) =\>  
> AbortSignal: abort from C++; program state was reset

If I understand correctly the problem is in the second argument because `tracks` is not defined, which is true. What would be the ‘word’ to be used to indicate `events` or `rows`, please?

Many thanks again,  
Marco Bomben

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [March 6, 2025, 1:30pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/8 "2025-03-06T13:30:00Z")

</div>

Dear @bomben ,

Ok then I must have misunderstood something about your input data and your use case. I thought `tracks` was a branch already existing in your TTree. I don’t understand anymore what you’re trying to do. The syntax I showed you works for thinning/slimming a collection at the current event using a condition based on another collection. Of course both collections must be existing either in the input dataset or defined by yourself via `Define` or similar. So the call

```python
df.Define("goodCollection", "collection1[collection2 == N]")

```

Means “give me those objects from collection1 where the corresponding value in collection2 is equal to N”, similar to what you would do with numpy array slicing. Does this clarify perhaps? And how would this apply to your use case?

Cheers,  
Vincenzo?

---

<div class="post-metadata">

**Author:** ![bomben](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bomben](https://root-forum.cern.ch/u/bomben)\
**Post date:** [March 6, 2025, 1:56pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/9 "2025-03-06T13:56:20Z")

</div>

Dear @vpadulan , sorry for the confusion.  
What I would like to do is to save in a new file a tree with the same branches as the original one only events satisfying a condition on a variable that is an std::vector.

For example: suppose in my events I can have a number of hits which fluctuates event per event and for each hit I save their location. I have two kinds of hits depending on the location, i.e. barrel or endcap. I want to write to the new file only events for which at least one hit is in the endcap.

How can I do that, please?

Many thanks again and best regards,  
Marco Bomben

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [March 6, 2025, 2:31pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/10 "2025-03-06T14:31:25Z")

</div>

Dear @bomben,

Thank you for the explanation, I think I understand better now. The `hitLayer` branch is telling you which hits ended in which layer, for the current event. In that case, if you want to only keep events for which at least one hit ended in layer N(e.g.==2), you could do

```python
df.Filter("ROOT::VecOps::Any(hitLayer == 2)").Snapshot(...)

```

Let me know if this gets you what you need, thanks!

Cheers,  
Vincenzo

---

<div class="post-metadata">

**Author:** ![bomben](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bomben](https://root-forum.cern.ch/u/bomben)\
**Post date:** [March 6, 2025, 3:03pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/11 "2025-03-06T15:03:50Z")

</div>

Dear @vpadulan , thanks again.  
I have tried but I still have a crash.  
Here is the script:

```auto
import ROOT

verbosity = ROOT.Experimental.RLogScopedVerbosity(ROOT.Detail.RDF.RDFLogChannel(), ROOT.Experimental.ELogLevel.kDebug)

fileName = "trktree-data15_13TeV.00279169.physics_Main.merge.DAOD_IDTIDE.r9264_p3083_p3083.root"
treeName = "trktree"

df = ROOT.RDataFrame(treeName, fileName)

#print(df.Describe())

df.Filter("ROOT::VecOps::Any(hitLayer == 2)").Snapshot("trktree","newfile.root")

```

And here is the stack and everything:

> Info in \<[ROOT.RDF] Info /tmp/root-feedstock/root-feedstock/miniforge3/conda-bld/root\_base\_1679427939945/work/root-source/tree/dataframe/src/RLoopManager.cxx:821 in void ROOT::Detail::RDF::RLoopManager::Run(bool)\>: Starting event loop number 0.  
> \*\*\* Break \*\*\* segmentation violation  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] (anonymous namespace)::TExceptionHandlerImp::HandleException(int) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCore.6.28.00.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)  
> [/usr/lib/system/libsystem\_platform.dylib] \_sigtramp (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] (anonymous namespace)::MachineCopyPropagation::runOnMachineFunction(llvm::MachineFunction&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::FPPassManager::runOnFunction(llvm::Function&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::FPPassManager::runOnModule(llvm::Module&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::legacy::PassManagerImpl::run(llvm::Module&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::SimpleCompiler::operator()(llvm::Module&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] decltype(auto) llvm::orc::ThreadSafeModule::withModuleDollvm::orc::IRCompileLayer::IRCompiler&(llvm::orc::IRCompileLayer::IRCompiler&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::IRCompileLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, llvm::orc::ThreadSafeModule) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::IRTransformLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, llvm::orc::ThreadSafeModule) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::IRTransformLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, llvm::orc::ThreadSafeModule) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::BasicIRLayerMaterializationUnit::materialize(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::MaterializationTask::run() (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] void llvm::detail::UniqueFunctionBase\<void, std::\_\_1::unique\_ptr\<llvm::orc::Task, std::\_\_1::default\_deletellvm::orc::Task\>\>::CallImpl\<void (_)(std::\_\_1::unique\_ptr\<llvm::orc::Task, std::\_\_1::default\_deletellvm::orc::Task\>)\>(void_, std::\_\_1::unique\_ptr\<llvm::orc::Task, std::\_\_1::default\_deletellvm::orc::Task\>&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::dispatchOutstandingMUs() (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::OL\_completeLookup(std::\_\_1::unique\_ptr\<llvm::orc::InProgressLookupState, std::\_\_1::default\_deletellvm::orc::InProgressLookupState\>, std::\_\_1::shared\_ptrllvm::orc::AsynchronousSymbolQuery, std::\_\_1::function\<void (llvm::DenseMap\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>, llvm::DenseMapInfollvm::orc::JITDylib\*, llvm::detail::DenseMapPair\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>\>\> const&)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::InProgressFullLookupState::complete(std::\_\_1::unique\_ptr\<llvm::orc::InProgressLookupState, std::\_\_1::default\_deletellvm::orc::InProgressLookupState\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::OL\_applyQueryPhase1(std::\_\_1::unique\_ptr\<llvm::orc::InProgressLookupState, std::\_\_1::default\_deletellvm::orc::InProgressLookupState\>, llvm::Error) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::lookup(llvm::orc::LookupKind, std::\_\_1::vector\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>, std::\_\_1::allocator\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>\>\> const&, llvm::orc::SymbolLookupSet, llvm::orc::SymbolState, llvm::unique\_function\<void (llvm::Expected\<llvm::DenseMap\<llvm::orc::SymbolStringPtr, llvm::JITEvaluatedSymbol, llvm::DenseMapInfollvm::orc::SymbolStringPtr, llvm::detail::DenseMapPair\<llvm::orc::SymbolStringPtr, llvm::JITEvaluatedSymbol\>\>\>)\>, std::\_\_1::function\<void (llvm::DenseMap\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>, llvm::DenseMapInfollvm::orc::JITDylib\*, llvm::detail::DenseMapPair\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>\>\> const&)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] (anonymous namespace)::JITDylibSearchOrderResolver::lookup(std::\_\_1::set\<llvm::StringRef, std::\_\_1::lessllvm::StringRef, std::\_\_1::allocatorllvm::StringRef\> const&, llvm::unique\_function\<void (llvm::Expected\<std::\_\_1::map\<llvm::StringRef, llvm::JITEvaluatedSymbol, std::\_\_1::lessllvm::StringRef, std::\_\_1::allocator\<std::\_\_1::pair\<llvm::StringRef const, llvm::JITEvaluatedSymbol\>\>\>\>)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::RuntimeDyldImpl::finalizeAsync(std::\_\_1::unique\_ptr\<llvm::RuntimeDyldImpl, std::\_\_1::default\_deletellvm::RuntimeDyldImpl\>, llvm::unique\_function\<void (llvm::object::OwningBinaryllvm::object::ObjectFile, std::\_\_1::unique\_ptr\<llvm::RuntimeDyld::LoadedObjectInfo, std::\_\_1::default\_deletellvm::RuntimeDyld::LoadedObjectInfo\>, llvm::Error)\>, llvm::object::OwningBinaryllvm::object::ObjectFile, std::\_\_1::unique\_ptr\<llvm::RuntimeDyld::LoadedObjectInfo, std::\_\_1::default\_deletellvm::RuntimeDyld::LoadedObjectInfo\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::jitLinkForORC(llvm::object::OwningBinaryllvm::object::ObjectFile, llvm::RuntimeDyld::MemoryManager&, llvm::JITSymbolResolver&, bool, llvm::unique\_function\<llvm::Error (llvm::object::ObjectFile const&, llvm::RuntimeDyld::LoadedObjectInfo&, std::\_\_1::map\<llvm::StringRef, llvm::JITEvaluatedSymbol, std::\_\_1::lessllvm::StringRef, std::\_\_1::allocator\<std::\_\_1::pair\<llvm::StringRef const, llvm::JITEvaluatedSymbol\>\>\>)\>, llvm::unique\_function\<void (llvm::object::OwningBinaryllvm::object::ObjectFile, std::\_\_1::unique\_ptr\<llvm::RuntimeDyld::LoadedObjectInfo, std::\_\_1::default\_deletellvm::RuntimeDyld::LoadedObjectInfo\>, llvm::Error)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::RTDyldObjectLinkingLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, std::\_\_1::unique\_ptr\<llvm::MemoryBuffer, std::\_\_1::default\_deletellvm::MemoryBuffer\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ObjectTransformLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, std::\_\_1::unique\_ptr\<llvm::MemoryBuffer, std::\_\_1::default\_deletellvm::MemoryBuffer\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::IRCompileLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, llvm::orc::ThreadSafeModule) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::IRTransformLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, llvm::orc::ThreadSafeModule) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::IRTransformLayer::emit(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>, llvm::orc::ThreadSafeModule) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::BasicIRLayerMaterializationUnit::materialize(std::\_\_1::unique\_ptr\<llvm::orc::MaterializationResponsibility, std::\_\_1::default\_deletellvm::orc::MaterializationResponsibility\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::MaterializationTask::run() (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] void llvm::detail::UniqueFunctionBase\<void, std::\_\_1::unique\_ptr\<llvm::orc::Task, std::\_\_1::default\_deletellvm::orc::Task\>\>::CallImpl\<void (_)(std::\_\_1::unique\_ptr\<llvm::orc::Task, std::\_\_1::default\_deletellvm::orc::Task\>)\>(void_, std::\_\_1::unique\_ptr\<llvm::orc::Task, std::\_\_1::default\_deletellvm::orc::Task\>&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::dispatchOutstandingMUs() (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::OL\_completeLookup(std::\_\_1::unique\_ptr\<llvm::orc::InProgressLookupState, std::\_\_1::default\_deletellvm::orc::InProgressLookupState\>, std::\_\_1::shared\_ptrllvm::orc::AsynchronousSymbolQuery, std::\_\_1::function\<void (llvm::DenseMap\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>, llvm::DenseMapInfollvm::orc::JITDylib\*, llvm::detail::DenseMapPair\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>\>\> const&)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::InProgressFullLookupState::complete(std::\_\_1::unique\_ptr\<llvm::orc::InProgressLookupState, std::\_\_1::default\_deletellvm::orc::InProgressLookupState\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::OL\_applyQueryPhase1(std::\_\_1::unique\_ptr\<llvm::orc::InProgressLookupState, std::\_\_1::default\_deletellvm::orc::InProgressLookupState\>, llvm::Error) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::lookup(llvm::orc::LookupKind, std::\_\_1::vector\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>, std::\_\_1::allocator\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>\>\> const&, llvm::orc::SymbolLookupSet, llvm::orc::SymbolState, llvm::unique\_function\<void (llvm::Expected\<llvm::DenseMap\<llvm::orc::SymbolStringPtr, llvm::JITEvaluatedSymbol, llvm::DenseMapInfollvm::orc::SymbolStringPtr, llvm::detail::DenseMapPair\<llvm::orc::SymbolStringPtr, llvm::JITEvaluatedSymbol\>\>\>)\>, std::\_\_1::function\<void (llvm::DenseMap\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>, llvm::DenseMapInfollvm::orc::JITDylib\*, llvm::detail::DenseMapPair\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>\>\> const&)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::lookup(std::\_\_1::vector\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>, std::\_\_1::allocator\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>\>\> const&, llvm::orc::SymbolLookupSet const&, llvm::orc::LookupKind, llvm::orc::SymbolState, std::\_\_1::function\<void (llvm::DenseMap\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>, llvm::DenseMapInfollvm::orc::JITDylib\*, llvm::detail::DenseMapPair\<llvm::orc::JITDylib\*, llvm::DenseSet\<llvm::orc::SymbolStringPtr, llvm::DenseMapInfollvm::orc::SymbolStringPtr\>\>\> const&)\>) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::ExecutionSession::lookup(std::\_\_1::vector\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>, std::\_\_1::allocator\<std::\_\_1::pair\<llvm::orc::JITDylib\*, llvm::orc::JITDylibLookupFlags\>\>\> const&, llvm::orc::SymbolStringPtr, llvm::orc::SymbolState) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::LLJIT::lookupLinkerMangled(llvm::orc::JITDylib&, llvm::orc::SymbolStringPtr) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] llvm::orc::LLJIT::lookupLinkerMangled(llvm::orc::JITDylib&, llvm::StringRef) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::IncrementalJIT::getSymbolAddress(llvm::StringRef, bool) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value\*) const (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::Interpreter::RunFunction(clang::FunctionDecl const\*, cling::Value\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::Interpreter::EvaluateInternal(std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&, cling::CompilationOptions, cling::Value\*, cling::Transaction\*\*, unsigned long) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] TCling::Calc(char const\*, TInterpreter::EErrorCode\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Internal::RDF::InterpreterCalc(std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&, std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Detail::RDF::RLoopManager::Jit() (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Detail::RDF::RLoopManager::Run(bool) (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] WrapperCall(long, unsigned long, void\*, void\*, void\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] Cppyy::CallO(long, void\*, unsigned long, void\*, unsigned long) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::(anonymous namespace)::InstanceExecutor::Execute(long, void\*, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::ExecuteFast(void\*, long, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::ExecuteProtected(void\*, long, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::Call(CPyCppyy::CPPInstance\*&, \_object\*, \_object\*, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::(anonymous namespace)::mp\_call(CPyCppyy::CPPOverload\*, \_object\*, \_object\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::tpp\_call(CPyCppyy::TemplateProxy\*, \_object\*, \_object\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyObject\_MakeTpCall (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] call\_function (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_EvalFrameDefault (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_Vector (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] run\_mod (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyRun\_SimpleFileObject (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyRun\_AnyFileObject (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] Py\_RunMain (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] pymain\_main (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] main (no debug info)  
> [/usr/lib/dyld] start (no debug info)  
> Info in \<[ROOT.RDF] Info /tmp/root-feedstock/root-feedstock/miniforge3/conda-bld/root\_base\_1679427939945/work/root-source/tree/dataframe/src/RLoopManager.cxx:821 in void ROOT::Detail::RDF::RLoopManager::Run(bool)\>: Starting event loop number 0.  
> \*\*\* Break \*\*\* bus error  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] (anonymous namespace)::TExceptionHandlerImp::HandleException(int) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCore.6.28.00.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)  
> [/usr/lib/system/libsystem\_platform.dylib] \_sigtramp (no debug info)  
> [] (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value\*) const (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::Interpreter::RunFunction(clang::FunctionDecl const\*, cling::Value\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] cling::Interpreter::EvaluateInternal(std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&, cling::CompilationOptions, cling::Value\*, cling::Transaction\*\*, unsigned long) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libCling.6.28.00.so] TCling::Calc(char const\*, TInterpreter::EErrorCode\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Internal::RDF::InterpreterCalc(std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&, std::\_\_1::basic\_string\<char, std::\_\_1::char\_traits, std::\_\_1::allocator\> const&) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Detail::RDF::RLoopManager::Jit() (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libROOTDataFrame.6.28.00.so] ROOT::Detail::RDF::RLoopManager::Run(bool) (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [] (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] WrapperCall(long, unsigned long, void\*, void\*, void\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy\_backend3\_10.6.28.00.so] Cppyy::CallO(long, void\*, unsigned long, void\*, unsigned long) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::(anonymous namespace)::InstanceExecutor::Execute(long, void\*, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::ExecuteFast(void\*, long, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::ExecuteProtected(void\*, long, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CPPMethod::Call(CPyCppyy::CPPInstance\*&, \_object\*, \_object\*, CPyCppyy::CallContext\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::(anonymous namespace)::mp\_call(CPyCppyy::CPPOverload\*, \_object\*, \_object\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::CallMethodImp(CPyCppyy::TemplateProxy\*, \_object\*&, \_object\*, \_object\*, bool, unsigned long long) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/lib/libcppyy3\_10.6.28.00.so] CPyCppyy::tpp\_call(CPyCppyy::TemplateProxy\*, \_object\*, \_object\*) (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyObject\_MakeTpCall (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] call\_function (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_EvalFrameDefault (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyEval\_Vector (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] run\_mod (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyRun\_SimpleFileObject (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] \_PyRun\_AnyFileObject (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] Py\_RunMain (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] pymain\_main (no debug info)  
> [/Users/mbomben/mwork/mambaforge/bin/python3.10] main (no debug info)  
> [/usr/lib/dyld] start (no debug info)  
> Traceback (most recent call last):  
> File “/Users/mbomben/work/Stagiare/2024-25/polytech/Raphael/tuples/debug.py”, line 13, in   
> df.Filter(“ROOT::VecOps::Any(hitLayer == 2)”).Snapshot(“trktree”,“newfile.root”)  
> TypeError: Template method resolution failed:  
> none of the 3 overloaded methods succeeded. Full details:  
> ROOT::RDF::RResultPtr\<ROOT::RDF::RInterfaceROOT::Detail::RDF::RLoopManager,void \> ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void::Snapshot(basic\_string\_view\<char,char\_traits \> treename, basic\_string\_view\<char,char\_traits \> filename, initializer\_list columnList, const ROOT::RDF::RSnapshotOptions& options = ROOT::RDF::RSnapshotOptions()) =\>  
> TypeError: takes at least 3 arguments (2 given)  
> ROOT::RDF::RResultPtr\<ROOT::RDF::RInterfaceROOT::Detail::RDF::RLoopManager,void \> ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void::Snapshot(basic\_string\_view\<char,char\_traits \> treename, basic\_string\_view\<char,char\_traits \> filename, const vector& columnList, const ROOT::RDF::RSnapshotOptions& options = ROOT::RDF::RSnapshotOptions()) =\>  
> TypeError: takes at least 3 arguments (2 given)  
> ROOT::RDF::RResultPtr\<ROOT::RDF::RInterfaceROOT::Detail::RDF::RLoopManager,void \> ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void::Snapshot(basic\_string\_view\<char,char\_traits \> treename, basic\_string\_view\<char,char\_traits \> filename, basic\_string\_view\<char,char\_traits \> columnNameRegexp = “”, const ROOT::RDF::RSnapshotOptions& options = ROOT::RDF::RSnapshotOptions()) =\>  
> SegmentationViolation: segfault in C++; program state was reset  
> ROOT::RDF::RResultPtr\<ROOT::RDF::RInterfaceROOT::Detail::RDF::RLoopManager,void \> ROOT::RDF::RInterfaceROOT::Detail::RDF::RJittedFilter,void::Snapshot(basic\_string\_view\<char,char\_traits \> treename, basic\_string\_view\<char,char\_traits \> filename, basic\_string\_view\<char,char\_traits \> columnNameRegexp = “”, const ROOT::RDF::RSnapshotOptions& options = ROOT::RDF::RSnapshotOptions()) =\>  
> SegmentationViolation: segfault in C++; program state was reset  
> libc++abi: terminating due to uncaught exception of type std::\_\_1::system\_error: mutex lock failed: Invalid argument  
> Abort trap: 6

Many thanks in advance and best regards,  
Marco Bomben

---

<div class="post-metadata">

**Author:** ![vpadulan](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/vpadulan/32/25315_2.png) [@vpadulan](https://root-forum.cern.ch/u/vpadulan)\
**Post date:** [March 6, 2025, 4:00pm UTC](https://root-forum.cern.ch/t/skim-events-on-values-of-a-vector-variable/62875/12 "2025-03-06T16:00:05Z")

</div>

Dear @bomben ,

I don’t understand the stack trace, are you able to share the file with me somehow? Or even just a few events?

Cheers,  
Vincenzo
