Hi, Can anyone explain why: #include <TH1.h> vector<TH1S*>* m_particleLevelsHist; works, but #include <TH1.h> vector<TH1I*>* m_particleLevelsHist; gives: In file included from Analysis.C:1: Analysis.h:70: `TH1I' was not declared in this scope I'd guess that TH1Is aren't supported somehow., especially since there's a TH1F header which just points to TH1.h, but there's no TH1I.h header doing the same thing. % ls $ROOTSYS/include/TH1* /afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root/include/TH1.h /afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root/include/TH1C.h /afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root/include/TH1D.h /afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root/include/TH1F.h /afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root/include/TH1K.h /afs/cern.ch/sw/root/v3.05.07/rh73_gcc296/root/include/TH1S.h But this page: http://root.cern.ch/root/html/TH1I.html definitely lists TH1Is as an available type of histogram. Cheers, Ed
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET