I apologize if this has been discussed before, I could not find a directly relevant discussion.
I am using root version 5.14.
When I try to copy a TClonesArray to an other, I get various versions of segfaults or bus errors.
TClonesArray *ar= new TClonesArray("TEVNTClass",10);
... fill array with some members of TEVNTClass type ...
TClonesArray ar_copy("TEVNTClass",10);
ar_copy = (*a); // Causes a crash
TClonesArray ar_copy2( *ar); // Also causes a crash.
Am I doing something wrong, or is the copying of a TClonesArray forbidden?