GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » URGENT: Dirc geometry?
icon4.gif  URGENT: Dirc geometry? [message #11891] Thu, 26 May 2011 09:41 Go to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
which is the proper way top run DIRC geometry?
I am using the old good standard:

  PndDrc *Drc = new PndDrc("DIRC", kTRUE);
  Drc->SetRunCherenkov(kFALSE); // for fast sim Cherenkov -> kFALSE
  fRun->AddModule(Drc);



But it is not working, it produces the following messages:

=======  DRC::  ConstructOpticalGeometry()  ======== 
Warning in <TGeant3TGeo::DefineOpSurface>: Called for surface MirrSurface. Not applicable in Geant3 - setting is ignored.
Warning in <TGeant3TGeo::SetBorderSurface>: Called for border surface BarMirrSurface. Not applicable in Geant3 - setting is ignored.
Warning in <TGeant3TGeo::SetBorderSurface>: Called for border surface BarMirrSurface. Not applicable in Geant3 - setting is ignored.
Warning in <TGeant3TGeo::SetBorderSurface>: Called for border surface BarMirrSurface. Not applicable in Geant3 - setting is ignored.
Warning in <TGeant3TGeo::SetBorderSurface>: Called for border surface BarMirrSurface. Not applicable in Geant3 - setting is ignored.
Warning in <TGeant3TGeo::SetBorderSurface>: Called for border surface BarMirrSurface. Not applicable in Geant3 - setting is ignored.
Warning in <TGeant3TGeo::SetMaterialProperty>: Called for material surface  MirrSurface. Not applicable in Geant3 - setting is ignored.
 =======  DRC::ConstructOpGeometry -> Finished! ====== 
 -I- Initializing PndSdsDetector()

************************************************************
PndEmc::SetSpecialPhysicsCuts():
   using special physics cuts ...
************************************************************
 -I- Initializing PndGemDetector()
 -I- PndDrc: Intialization started... 
 -I- PndDrc: Switching OFF Cherenkov Propagation
VolId: Volume DrcBarSensor not found
bar 1 id = 0
VolId: Volume DrcPDSensor not found
VolId: Volume DrcBarBox not found
VolId: Volume DrcEV not found
 -I- PndDrc: Intialization successfull


but in the TGeoManager I can see there is no DIRC!!
Which is the correct way to call it? I do not need the cherenkov propagation, the fast option is what I need top use.

Many thanks in advance.
Re: URGENT: Dirc geometry? [message #11894 is a reply to message #11891] Thu, 26 May 2011 11:42 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
The proper way to run DIRC geometry is the following:

Drc->SetRunCherenkov(kTRUE);
Drc->SetGeometryFileName("dirc_l0_p0.root");
fRun->AddModule(Drc);

(see trunk/macro/drc/sim_dirc.C)


And those warnings when you run the DIRC simulation with geant3 are harmloss, in geant4 they disappear.

Hope this helps.
Re: URGENT: Dirc geometry? [message #11896 is a reply to message #11894] Thu, 26 May 2011 12:26 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
Ehm,
when was it changed exactly? I do not remember any announcement.
Just to understand since when we have no DIRC in simulation.
Re: URGENT: Dirc geometry? [message #11897 is a reply to message #11896] Thu, 26 May 2011 12:32 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
The Barrel DIRC geometry is in the .root file in trunk/geometry/dirc_l0_p0.root since 2 weeks.

I did not do any announcements except of comments when committing the changes to the svn. Should I have created a topic in the forum too?
Re: URGENT: Dirc geometry? [message #11898 is a reply to message #11897] Thu, 26 May 2011 12: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
In theory an announcement could be good Smile
However, now that I know it, I will update the "default" macros according to.
Thanks for the fast reply.
Re: URGENT: Dirc geometry? [message #11899 is a reply to message #11898] Thu, 26 May 2011 12:58 Go to previous messageGo to next message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
I'll inform the PANDARoot-ers the next time.

Sorry for misleading.

To run the DIRC now you need an updated trunk/drc, trunk/geometry and trunk/macro/drc directories.

Best regards,
Maria
Re: URGENT: Dirc geometry? [message #11900 is a reply to message #11894] Thu, 26 May 2011 14: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
Is it possible to set Cherenkov kFALSE, in order to not have the full cherenkov propagation and to be faster?

[Updated on: Thu, 26 May 2011 14:25]

Report message to a moderator

Re: URGENT: Dirc geometry? [message #11901 is a reply to message #11900] Thu, 26 May 2011 15:01 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
I think so, if you don't want to have any photons.
I've never tried though.
Previous Topic: Vertex smearing in FairPrimaryGenerator
Next Topic: Mvd Hits bug still there
Goto Forum:
  


Current Time: Fri Dec 06 21:44:56 CET 2024

Total time taken to generate the page: 0.00649 seconds