[spak@naf-cms11 /nfs/dust/cms/user/spak/DisappearingTracks/analysis/plotter_work/EvtLoop]$ root run_HistoMaker.C
root [0]
Processing run_HistoMaker.C...
Running HistoMaker
Info in <TUnixSystem::ACLiC>: creating shared library /nfs/dust/cms/user/spak/DisappearingTracks/analysis/plotter_work/EvtLoop/HistoMaker_C.so
In file included from HistoMaker_C_ACLiC_dict dictionary payload:10:
In file included from ./HistoMaker.C:2:
/nfs/dust/cms/user/spak/DisappearingTracks/analysis/plotter_work/EvtLoop/HistoMaker.h:220:13: error: redefinition of 'HistoMaker'
HistoMaker::HistoMaker(TTree *tree) : fChain(0)
^
/nfs/dust/cms/user/spak/DisappearingTracks/analysis/plotter_work/EvtLoop/HistoMaker.h:220:13: note: previous definition is here
HistoMaker::HistoMaker(TTree *tree) : fChain(0)
^
With ROOT 6 this can be a bit tricky.
I guess the best idea (which should work with ROOT 5 and 6) is to create a simple local “rootlogon.C” file in your “current working directory”: