GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » problem with DIRC geometry (TGeant3) ?
icon5.gif  problem with DIRC geometry (TGeant3) ? [message #12960] Mon, 23 January 2012 11:31 Go to next message
Olaf Hartmann is currently offline  Olaf Hartmann
Messages: 105
Registered: December 2003
Location: Wien-Alsergrund
continuous participant
From: *smi.oeaw.ac.at
Dear all,

I've noticed that the DIRC is missing in my simulation; in fact there is an error message. I load the following in the macro:

  PndDrc *Drc = new PndDrc("DIRC", kFALSE);
  Drc->SetRunCherenkov(kFALSE);
  fRun->AddModule(Drc);


Then, ROOT tells me:

======= DRC:: ConstructGeometry() ========
=============================================
Geometry format not supported!
=============================================
Warning in <TGeoVolume::AddNode>: Volume cave : added node DskBase_1 with same name


and the "usual" warnings from ConstructOpticalGeometry()


Anybody has a comment to this?

Cheers
Olaf.

Re: problem with DIRC geometry (TGeant3) ? [message #12961 is a reply to message #12960] Mon, 23 January 2012 11:34 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
You are using an old macro. Check new macro/pid/run_sim_xxx.C
Re: problem with DIRC geometry (TGeant3) ? [message #12962 is a reply to message #12961] Mon, 23 January 2012 11:46 Go to previous messageGo to next message
Olaf Hartmann is currently offline  Olaf Hartmann
Messages: 105
Registered: December 2003
Location: Wien-Alsergrund
continuous participant
From: *smi.oeaw.ac.at
My macro is new, just the DRC part was old Wink
However it's a bit annoying that for each detector I have look through all the corresponding macros to find a recent and complete version ...

Re: problem with DIRC geometry (TGeant3) ? [message #12963 is a reply to message #12962] Mon, 23 January 2012 12:25 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
The standard macros are in macro/pid since years Smile
Re: problem with DIRC geometry (TGeant3) ? [message #12964 is a reply to message #12960] Mon, 23 January 2012 13:09 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Please add the following line to the macro:

Drc->SetGeometryFileName("dirc_l0_p0_updated.root");

this geometry file is in geometry/ directory.

[Updated on: Mon, 23 January 2012 13:10]

Report message to a moderator

Re: problem with DIRC geometry (TGeant3) ? [message #12973 is a reply to message #12964] Mon, 23 January 2012 16:53 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Done!
Re: problem with DIRC geometry - now TGeant4 [message #13090 is a reply to message #12964] Mon, 27 February 2012 11:09 Go to previous messageGo to next message
Olaf Hartmann is currently offline  Olaf Hartmann
Messages: 105
Registered: December 2003
Location: Wien-Alsergrund
continuous participant
From: *smi.oeaw.ac.at
Hi Maria,

I just realized that with

Drc->SetGeometryFileName("dirc_l0_p0_updated.root"); 


I cannot build the geometry with Geant4 (jan12):

Quote:


===> GEANT4 materials created and mapped to TGeo ones...

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : G4Root_F003
issued by : TG4RootDetectorConstruction::CreateG4LogicalVolume
Cannot make material for volume: BarrelDIRC

*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------

*** G4Exception: Aborting execution ***



Do you now what's the problem here? I updated already the DRC and geometry directory.

Cheers
Olaf.


Re: problem with DIRC geometry - now TGeant4 [message #13091 is a reply to message #13090] Mon, 27 February 2012 11:18 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *ihep.ac.cn
Dear Olaf,

actually I did not come across such problem.

if it is possible, I'll try to solve it as soon as I'm back at GSI in the middle of March?
If you need it right now, I'll try to fix it right now.

Maria
Re: problem with DIRC geometry - now TGeant4 [message #13092 is a reply to message #13090] Mon, 27 February 2012 11:21 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *ihep.ac.cn
please make sure you've changed the g4config.C as in mine (/u/mpatsyuk/PANDA/trunk/gconfig/g4Config.C)
Re: problem with DIRC geometry - now TGeant4 [message #13093 is a reply to message #13092] Mon, 27 February 2012 11:36 Go to previous messageGo to next message
Olaf Hartmann is currently offline  Olaf Hartmann
Messages: 105
Registered: December 2003
Location: Wien-Alsergrund
continuous participant
From: *smi.oeaw.ac.at
Hi Maria,

thanks,

Maria Patsyuk wrote on Mon, 27 February 2012 11:21

please make sure you've changed the g4config.C as in mine (/u/mpatsyuk/PANDA/trunk/gconfig/g4Config.C)


helped to cure the error before, but now I encounter the next one:

Converting Root geometry to Geant4 via VGM ... 
/misc/cbmsoft/Lenny64/jan12/fairsoft/bin/root.exe: symbol lookup error: /misc/cbmsoft/Lenny64/jan12/fairsoft/lib/libRootGM.so: undefined symbol: _ZN6RootGM14DisplacedSolidC1EP8TGeoBBox


This looks like an internal problem in Root?

Olaf.
Re: problem with DIRC geometry - now TGeant4 [message #13094 is a reply to message #13093] Mon, 27 February 2012 14:20 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *ihep.ac.cn
yes, this problem looks new to me.
Actually we have also other unsolved problems (caused by root) with jan12 packages so I would recommend you to use the older ones to run the DIRC simulation.
Re: problem with DIRC geometry - now TGeant4 [message #13096 is a reply to message #13093] Mon, 27 February 2012 15:41 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *fias.uni-frankfurt.de
Hi Olaf,

could you please try again at GSI Lenny64. I found out that we missed to compile some new files. I fixed it now for the following SIMPATH /misc/cbmsoft/Lenny64/jan12/fairsoft/

Now it should work.

Ciao

Florian
Re: problem with DIRC geometry - now TGeant4 [message #13097 is a reply to message #13096] Mon, 27 February 2012 15:52 Go to previous messageGo to next message
Olaf Hartmann is currently offline  Olaf Hartmann
Messages: 105
Registered: December 2003
Location: Wien-Alsergrund
continuous participant
From: *smi.oeaw.ac.at
Hi Florian,

I just tried it, and the previous reported error is gone. However it still does not work:

Quote:

Converting Root geometry to Geant4 via VGM ...

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : GeomSolids0002
issued by : G4Polycone::G4Polycone()
Cannot create a Polycone with no contiguous segments.
Segments are not contiguous !
rMin[3] = 45 -- rMax[4] = 31
rMin[4] = 30 -- rMax[3] = 46
*** Fatal Error In Argument *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***



Which looks again like a problem in the geometry.

Cheers
Olaf.
Re: problem with DIRC geometry - now TGeant4 [message #13098 is a reply to message #13097] Mon, 27 February 2012 16:13 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *fias.uni-frankfurt.de
Hi Olaf,

I agree that the error looks more like a problem of the geometry. It looks like that the vgm conversion starts correctly. Since I don't know anything about the DIRC geometry I can not help here.

Ciao

Florian
Re: problem with DIRC geometry - now TGeant4 [message #13250 is a reply to message #13093] Fri, 23 March 2012 15:52 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *pools.arcor-ip.net
Hi Olaf,

I could not reproduce your error
Quote:

Converting Root geometry to Geant4 via VGM ...

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : GeomSolids0002
issued by : G4Polycone::G4Polycone()
Cannot create a Polycone with no contiguous segments.
Segments are not contiguous !
rMin[3] = 45 -- rMax[4] = 31
rMin[4] = 30 -- rMax[3] = 46
*** Fatal Error In Argument *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***

with Jan2012 packages.
Maybe we could meet to study the problem in more details or something like this, if this problem is still actual for you?

By the way, I don't know why you need the DIRC simulation for, we don't use the Jan2012 packages for the events simulation because the detector response is not quite ok with them.

Best regards,
Maria
Re: problem with DIRC geometry - now TGeant4 [message #13251 is a reply to message #13250] Fri, 23 March 2012 21:58 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *15-87-r.retail.telecomitalia.it
Maria Patsyuk wrote on Fri, 23 March 2012 15:52

By the way, I don't know why you need the DIRC simulation for, we don't use the Jan2012 packages for the events simulation because the detector response is not quite ok with them.


Well, the DIRC is material budget, interacts with particles and produces secondaries. And we can use the fast mode to have smeared values for fast particle identification.
Previous Topic: crush at the end of pid macro
Next Topic: Crash in DIRC with G4
Goto Forum:
  


Current Time: Wed Apr 24 11:54:59 CEST 2024

Total time taken to generate the page: 0.00934 seconds