On 28 June 2010 23:41, <wlavrijsen_at_lbl.gov> wrote:
>
>> How do you get a dictionary to be loaded and why do the others get
>> loaded automagically?
>
> Long story. In short: some std::vector instantiations are "shipped" with
> CINT, others are auto-generated, yet others are found through the ROOTMAP
> or LDPATH search paths if e.g. setup within an experiment runtime.
>
Somewhere in m archives of root fragments I found the following code:
ROOT.gROOT.LoadMacro( "VectorLorentzVector.h+" ) v = ROOT.std.vector( ROOT.TLorentzVector )()
with these lines in VectorLorentzLorentz.h:
#include <vector>
#include "TLorentzVector.h"
#ifdef __CINT__ #pragma link C++ class std::vector< TLorentzVector >; #endif
template class std::vector< TLorentzVector >;
Without loading the macro ROOT.std.vector(ROOT.TLorentzVector)() fails, but with it it succeeds, is this the same symptom/problem? Creating something similar doesn't solve the problem of vector<bool>. Makes me think they are unrelated problems.
Tim
> Best regards,
> Wim
> --
> WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net
>
-- http://tim.jottit.com/Received on Tue Jun 29 2010 - 06:46:33 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 29 2010 - 11:50:01 CEST