I am trying to convert an existing data structure to ROOT. The data structure uses
the standard template library objects, such as vector<Trace>, etc.
When i try to compile a simple test program that uses the stl, i get an error in rootcint
rootcint -f eventDict.cc -c event.h LinkDef.h
Error: source file "stl.h" cannot open FILE:event.h LINE:12
Error: no such template vector<Trace> FILE:event.h LINE:34
Error: No symbol vector in current scope FILE:event.h LINE:34
Error: No symbol Trace in current scope FILE:event.h LINE:34
Error: No symbol trace in current scope FILE:event.h LINE:34
My program does compile, though. But it produces a segmentation violation.
Is it possible to use template library classes in a TObject?
Or should i use TArray and TClonesArray objects?
Thanks in advance,
Steve Eichblatt