Hi all,
I try to use "MakeProxy" on a ROOTfile (mostly containing flat data and some vector<TLorentzVectors>) as a first step with an simple analysis script which should just print the eventNumber.
analyze.C
>>>>>>>>>>>>>>>>>>> #include <vector> #include <TLorentzVector.h>
double analyze(){
cout<<"Event properties: "<<eventNumber<<endl;
return (double)eventNumber;
}
>>>>>>>>>>>>>>>>>>>
My ROOT-version is 5-26a.
When I try to execute (as suggested in the documentation):
TChain *c = new TChain("susy");
c->Add("...")
c.Draw("analyze.C+")
I get the following error messages. Any help is very welcome.
Kind regards,
Kathrin
Warning in <TTreePlayer::DrawScript>: TTreeProxy does not work in
interpreted mode yet. The script will be compiled.
Info in <TTreePlayer::DrawScript>: Will process tree/chain using
generatedSel.h+
Info in <TUnixSystem::ACLiC>: creating shared library
/localscratch/proof/proxy/./generatedSel_h.so
Limitation: Can't instantiate precompiled template TMatrixTBase<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFBasefwd.h:28:
Limitation: Can't instantiate precompiled template
TMatrixTBase<Double_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixDBasefwd.h:28:
Limitation: Can't instantiate precompiled template TMatrixT<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFfwd.h:25:
Limitation: Can't instantiate precompiled template
TMatrixTRow_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:56:
Limitation: Can't instantiate precompiled template
TMatrixTColumn_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:57:
Limitation: Can't instantiate precompiled template
TMatrixTDiag_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:58:
Limitation: Can't instantiate precompiled template
TMatrixTFlat_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:59:
Limitation: Can't instantiate precompiled template
TMatrixTSub_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:60:
Limitation: Can't instantiate precompiled template
TMatrixTSparseRow_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:61:
Limitation: Can't instantiate precompiled template
TMatrixTSparseDiag_const<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:62:
Limitation: Can't instantiate precompiled template TMatrixTRow<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:64:
Limitation: Can't instantiate precompiled template
TMatrixTColumn<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:65:
Limitation: Can't instantiate precompiled template TMatrixTDiag<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:66:
Limitation: Can't instantiate precompiled template TMatrixTFlat<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:67:
Limitation: Can't instantiate precompiled template TMatrixTSub<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:68:
Limitation: Can't instantiate precompiled template
TMatrixTSparseRow<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:69:
Limitation: Can't instantiate precompiled template
TMatrixTSparseDiag<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrixFUtilsfwd.h:70:
Limitation: Can't instantiate precompiled template TMatrixT<Float_t>
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/include/TMatrix.h:26:
Warning: Error occurred during reading source files
Note: Link requested for already precompiled class
vector<float,allocator<float> > (ignore this message) :0:
Warning: Error occurred during dictionary source generation
!!!Removing /localscratch/proof/proxy/./generatedSel_h_ACLiC_dict.cxx
/localscratch/proof/proxy/./generatedSel_h_ACLiC_dict.h !!!
Error:
/afs/cern.ch/sw/lcg/app/releases/ROOT/5.26.00a/slc4_ia32_gcc43/root/bin/rootcint:
error loading headers...
Error in <ACLiC>: Dictionary generation failed!
Info in <ACLiC>: Invoking compiler to check macro's validity
generatedSel_h_ACLiC.check.cxx:72: error: ISO C++ forbids declaration of
‘TLorentzVector’ with no type
generatedSel_h_ACLiC.check.cxx:72: error: expected ‘;’ before ‘&’ token generatedSel_h_ACLiC.check.cxx:73: error: expected ‘;’ before ‘const’ generatedSel_h_ACLiC.check.cxx:73: error: ISO C++ forbids declaration of‘TLorentzVector’ with no type
generatedSel_h_ACLiC.check.cxx:73: error: expected ‘;’ before ‘&’ token generatedSel_h_ACLiC.check.cxx:74: error: expected ‘;’ before ‘Int_t’ generatedSel_h_ACLiC.check.cxx:75: error: ‘TLorentzVector’ was notdeclared in this scope
generatedSel_h_ACLiC.check.cxx:75: error: template argument 1 is invalid generatedSel_h_ACLiC.check.cxx:75: error: template argument 2 is invalid generatedSel_h_ACLiC.check.cxx:76: error: ‘TLorentzVector’ was notdeclared in this scope
generatedSel_h_ACLiC.check.cxx:76: error: template argument 1 is invalid generatedSel_h_ACLiC.check.cxx:76: error: template argument 2 is invalid generatedSel_h_ACLiC.check.cxx:77: error: ‘TLorentzVector’ was notdeclared in this scope
generatedSel_h_ACLiC.check.cxx:77: error: template argument 1 is invalid generatedSel_h_ACLiC.check.cxx:77: error: template argument 2 is invalid generatedSel_h_ACLiC.check.cxx:77: error: template argument 1 is invalidIn file included from
This archive was generated by hypermail 2.2.0 : Tue Feb 02 2010 - 23:50:02 CET