GSI Forum - RDF feed
type: channel
description: GSI Helmholtzzentrum für Schwerionenforschung
items: problem with optical process in accessing the file
items: Re: problem with optical process in accessing the file

problem with optical process in accessing the file
type: item
description: Hello all, I was switching on the emStandard+optical process in the Geant4. And then, I was accessing the file using a simple script below TFile f("sim_emc.root","READ"); TTree *t=(TTree *) f.Get("cbmsim"); TClonesArray* track_array=new TClonesArray("TGeoTrack"); t->SetBranchAddress("GeoTracks",&track_array); if (t) cout<<"here is t" <<endl; cout<< t->GetEntriesFast()<<endl; for(int i = 0; i < t->GetEntriesFast() ; i++) { cout << "Before " << i << endl; t->GetEntry(i); cout << "After " << i << endl; } And I got the Error below. I do not get this error when I do simulation with default hadron physics list. I am not sure if it is already known problem, can anybody help me? here is t 10 Before 0 After 0 Before 1 *** glibc detected *** /home/vanni/fairJan10/tools/root/bin/root.exe: double free or corruption (!prev): 0x08e0a320 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb6d8aa85] /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb6d8e4f0] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb6f6db11] /home/vanni/fairJan10/tools/root/lib/libCore.so.5.26(_ZN8TStorage13Objec tDeallocEPv+0x64)[0xb796be84] /home/vanni/fairJan10/tools/root/lib/libCore.so.5.26(_ZN7TObjectdlEPv+0x 27)[0xb7949e07] /home/vanni/fairJan10/tools/root/lib/libCore.so.5.26(_ZN7TObjectD0Ev+0x6 8)[0xb794a728] /home/vanni/fairJan10/tools/root/lib/libCore.so.5.26[0xb7b35de1] /home/vanni/fairJan10/tools/root/lib/libCore.so.5.26(_ZN6TClass10Destruc torEPvb+0x41)[0xb79c6391] /home/vanni/fairJan10/tools/root/lib/libRIO.so(_ZN11TBufferFile13ReadFas tArrayEPPvPK6TClassibP15TMemberStreamerS4_+0xf9)[0xb6b10379] /home/vanni/fairJan10/tools/root/lib/libRIO.so(_ZN13TStreamerInfo10ReadB ufferIPPcEEiR7TBufferRKT_iiii+0x3b37)[0xb6bd45e7] /home/vanni/fairJan10/tools/root/lib/libRIO.so(_ZN13TStreamerInfo16ReadB ufferClonesER7TBufferP12TClonesArrayiii+0x61)[0xb6b5ba71] /home/vanni/fairJan10/tools/root/lib/libTree.so(_ZN14TBranchElement10Rea dLeavesER7TBuffer+0x6bc)[0xb5894b1c] /home/vanni/fairJan10/tools/root/lib/libTree.so…
creator: Vanniarajan Suyam Jothi
date: 2010-04-16T08:34:38-00:00

Re: problem with optical process in accessing the file
type: item
description: Hi, I am not able to reproduce this problem, I run the sim_emc.C (adding the visualization flags) and changing the physics list to emStandard+optical. I am using the svn 8407. regards Mohammad Quote: Processing test.C... Warning in <TClass::TClass>: no dictionary for class PndTofPoint is available Warning in <TClass::TClass>: no dictionary for class FairMCPoint is available Warning in <TClass::TClass>: no dictionary for class FairBasePoint is available Warning in <TClass::TClass>: no dictionary for class FairMultiLinkedData is available Warning in <TClass::TClass>: no dictionary for class FairLinkedData is available Warning in <TClass::TClass>: no dictionary for class PndMCTrack is available Warning in <TClass::TClass>: no dictionary for class PndSttPoint is available Warning in <TClass::TClass>: no dictionary for class PndMvdMCPoint is available Warning in <TClass::TClass>: no dictionary for class PndMdtPoint is available Warning in <TClass::TClass>: no dictionary for class PndDrcBarPoint is available Warning in <TClass::TClass>: no dictionary for class PndDrcPDPoint is available Warning in <TClass::TClass>: no dictionary for class PndEmcHit is available Warning in <TClass::TClass>: no dictionary for class FairHit is available Warning in <TClass::TClass>: no dictionary for class FairMCEventHeader is available Warning in <TClass::TClass>: no dictionary for class FairEventHeader is available Warning in <TClass::TClass>: no dictionary for class FairLink is available here is t 10 Before 0 After 0 Before 1 After 1 Before 2 After 2 Before 3 After 3 Before 4 After 4 Before 5 After 5 Before 6 After 6 Before 7 After 7 Before 8 After 8 Before 9 After 9 root [1]
creator: Mohammad Al-Turany
date: 2010-04-21T09:16:42-00:00

Re: problem with optical process in accessing the file
type: item
description: Hi, Thank you for trying it. I have missed a point here. I was fireing photon of 200 MeV on electro-magnetic calorimeter. I have included the boundary process by having values of refractive index for both air and PWO. I have included my media file which does that. may be with this you must be able to reproduce the error. Regards, Vanni
creator: Vanniarajan Suyam Jothi
date: 2010-04-22T09:39:50-00:00