GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » FEEMC from ROOT file
FEEMC from ROOT file [message #5618 is a reply to message #5401] Thu, 10 January 2008 17:24 Go to previous messageGo to previous message
Aleksandra Biegun is currently offline  Aleksandra Biegun
Messages: 64
Registered: May 2007
Location: Groningen
continuous participant
From: *KVI.nl
Hi "Emc Friends",

I just submitted to svn changed macro for creation geometry for forward endcap (FwEndCap) of emc at
/pandaroot/macro/emc/ called createRootGeoFileFwEnd_changed.C (rev. 1996).

The way of creation each of 4 volumes - top, QuarterVol, SubunitVol, BoxVol (except for CrystalVol) is changed from TGeoVolume(name,shape,medium) to TGeoVolumeAssembly(name). The reason was a problem with G4, which could not recognize medium (even air) always for the most outside volume (G3 also had the same problem, but it went over the problem while G4 did not). By changing volumes into TGeoVolumeAssembly(name) we can also avoid overlaps.

There are also PndEmc.cxx (h) classes submitted (rev. 1995), where you can find solution for reading 2 types of geometry format. Changes are in:
a) ConstructGeometry(), where one can see the possibility of using "standard" geometry of FwEndCap of Emc, called module 3, and read together with other volumes of Emc from emc_module12345.dat and new version of FwEndCap of Emc read from emc_module3new.root;

b) ConstructRootGeometry() functions, where reading of the ROOT geometry is done.

Now, ROOT is exiting without any errors.

You can still use "standard" or "new" version of FwEndCap (of course not at the same moment!).

If somebody wants to use "standard" geometry, there is nothing changed, but if somebody wants to use geometry of Emc with NEW FwEndCap, in the sim_emc.C macro you should write:

PndEmc *Emc = new PndEmc("EMC",kTRUE);
Emc->SetGeometryFileNameDouble("emc_module1245.dat","emc_module3new.root ");
fRun->AddModule(Emc);


This changes were checked successfully at lxi008.gsi.de and at opteron cluster in Groningen and it works with G3, and _thanks_to_Mohammad_ with G4 as well.

If you have any problems, please let me know.

Best wishes,
Ola B.




Aleksandra Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
 
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Geant4 warnings
Next Topic: error matrix calculation for EmcCluster
Goto Forum:
  


Current Time: Wed Apr 24 22:38:59 CEST 2024

Total time taken to generate the page: 0.01010 seconds