Hello,
i have the following problem :
i) open a given ntuple .root
ii) create a class using MakeClass(NameOfTheClass)
(let's call the class "PAUReco")
iii)
let's consider two chains (TChain) : chain A and chain B
PAUReco a(mychain_A)
a.Loop();
PAUReco b(mychain_B)
b.Loop()
=>it works
now a variant : use the same TChain for the two instances of the classes :
iii)
PAUReco a(mychain_A)
a.Loop();
PAUReco b(mychain_A)
b.Loop()
it works, but when i quit root, there is a segmentation fault
would you have an idea ? sounds like root "remembers" that the previous chain was used and affected to an another instance of the class
thanks Received on Thu May 27 2010 - 22:26:20 CEST
This archive was generated by hypermail 2.2.0 : Thu May 27 2010 - 23:50:02 CEST