Hello,
I am working on a rootinterface for a montecarlo generator. I wrote my own "HepMCEvent" class which inherits from TObject. Now I want to fill a Tree with an HepMCEvent Branch with
tree->Branch("EventBranch","HepMCEvent",&event,32000,99);
in my Interface. the header of the Event (for now) is :
#include"TObject.h"
#include "CLHEP/HepMC/GenEvent.h"
class HepMCEvent : public TObject{
public:
HepMCEvent(HepMC::GenEvent *hepmc);
~HepMCEvent();
private:
int event_number;
int signal_process_id;
double alphaQCD;
double alphaQED;
int vertices_size;
ClassDef(HepMCEvent,1) //Event structure
};
#endif
promt> rootcint HepMCEventdict.cc -c
-I ../../2.0.2.2/CLHEP/HepMC/include/ -I $ROOTSYS/include/ HepMCEvent.h
i get:
Error: cannot open file "TROOT.h" :0:
!!!Removing HepMCEventdict.cc HepMCEventdict.h !!!
Error: rootcint: error loading headers...
I`m using root 5.13/6. ($ROOTSYS is set correct and TROOT.h is readable and on the right place)
Thx
-- ------------------------------------------------------------- Oliver Oberst oberst_at_ekp.physik.uni-karlsruhe.de IEKP, Uni Karlsruhe Wolfgang-Gaede-Str. 1 Tel: +49-(0)721 608-7243 D-76128 Karlsruhe -------------------------------------------------------------Received on Tue Dec 12 2006 - 18:14:04 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:02 MET