I am using RDataFrame.Snapshot() without any specific SnapshotOption.
If hte outputFile is storing 1 single instance of DecayTuple
rootmv works out of the box.
When multiple DecayTree are stored for example like this :
Attaching file TupleProcess_tmp.root as _file0... (TFile *) 0x2f168c0 root  .ls TFile** TupleProcess_tmp.root TFile* TupleProcess_tmp.root KEY: TTree DecayTuple;36 DecayTuple KEY: TTree DecayTuple;35 DecayTuple
When i call rootmv TupleProcess_tmp.root:DecayTuple Target.root
I get this following message :
WARNING: Several versions of 'DecayTuple' are present in 'TupleProcess_tmp.root'. Only the most recent will be considered.
The exit_code is 0, but when looking to where the new tuple should be, nothing is present.
Funny enough, if the tuple i consider for rootmv is much smaller and has only 1 key, it works.
I am failing to understand if the problem arise from the snapshot itself and how the TTree gets written or if it’s
rootmv which has limited capabilities and fails in some cases.
To bypass the problem i wrote a custom TTree move function.
Thanks for any help
ROOT Version: 6.18/04
Compiler: Not Provided