Cant buy writemapper7/26/2023 ![]() ![]() Do you have any idea why could this be happening? If needed I can provide a stack trace, unfortunately without debug symbols. I added pragma statements for all std:map types and std::pair types that are used in the HepMC sources to linkdef file and it is still failing with #0 0x00007ffff4a78701 in TEmulatedMapProxy::WriteMap(int, TBuffer&) () from /opt/root/lib/root/libRIO.so.5.30 I compile them with $(CC) $(CXXFLAGS) -I$(HEPMC_PATH)/include/ $(ROOTFLAGS) -L$(HEPMC_PATH)/lib/ -lHepMC -shared -o libHepMCDict.so HepMCDict.cxxĬreating libHepMCDict.so and then I link it with my program. Which creates HepMCDict.cxx and HepMCDict.h files. I do rootcint -f HepMCDict.cxx -c -I$(HEPMC_PATH)/include/ $(HEPMC_PATH)/include/HepMC/*.h hepmc_linkdef.h A grep -ir " #pragma " in source folder also doesn’t return anything. Just to be sure I did another search on the internet and failed to find anything again. I am using HepMC-2.06.05 and it doesn’t seem to contain any linkdef file. I saw it mentioned but it seems that it is not there yet. I couldn’t be able to find official HepMC linkdef file. and according the posts and the example in this forum, it should work.Ĭan somebody tell me if I am making a mistake in dictionary generation or somewhere else? With its elegant, simplistic user interface and a lot more features on tap than you might be led to believe at first, This is an exciting application that aims to boost your writing. I tried it with and without “using namespace HepMC ” as well as with and without #include statements. Writemapper Screenshot: Besides being able to style and format your writing however you like, you can also edit the title of this sub-point from this view as well. M_myTree->Branch("evnt","HepMC::GenEvent",*m_myEvent) ![]() I also tried adding the branch with m_myTree->Branch("evnt","HepMC::GenEvent",m_myEvent) I checked m_myEvent and it is a valid HepMC::GenEvent. Then I construct m_myEvent and the code crashes when I call m_myTree->Fill() M_myTree->Branch("evnt","HepMC::GenEvent",&m_myEvent) TTree* m_myTree=new TTree("hepMCTree","A simple tree containing HepMC::GenEvent's. Then in my code I set the branch with HepMC::GenEvent *m_myEvent=new HepMC::GenEvent() There are more than 25 alternatives to WriteMapper for a variety of platforms, including Mac, iPhone, iPad, Online / Web-based and Windows. Where ROOTFLAGS=$(root-config -cflags), and linked this into my application. $(CC) $(CXXFLAGS) -I$(HEPMC_PATH)/include/ $(ROOTFLAGS) -L$(HEPMC_PATH)/lib/ -lHepMC -shared -o libHepMCDict.so HepMCDict.cxx This is a standalone application so I created a dictionary with rootcint -f HepMCDict.cxx -c -I$(HEPMC_PATH)/include/ $(HEPMC_PATH)/include/HepMC/*.h hepmc_linkdef.h However it crashes with “Program received signal SIGBUS, Bus error”Ġx00007ffff4a78701 in TEmulatedMapProxy::WriteMap(int, TBuffer&) () from /opt/root/lib/root/libRIO.so.5.30 I am trying to generate a TTree with a HepMC::GenEvent branch in my application. ![]()
0 Comments
Leave a Reply. |