GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » update EMC geometry
Re: update EMC geometry [message #12678 is a reply to message #12668] Fri, 23 September 2011 17:18 Go to previous messageGo to previous message
Dima Melnychuk is currently offline  Dima Melnychuk
Messages: 213
Registered: April 2004
Location: National Centre for Nucle...
first-grade participant
From: *fuw.edu.pl
Hi all,

I have modified Emc Mapper to simplify procedure to add new versions of modules.

For example for the recent update of forward endcap geometry in PndEmcMapper the constructor should be implemented, which include only mapper for this module
PndEmcMapperGeo3RootV2::PndEmcMapperGeo3RootV2() 

and then it is combined in Init() method with other module using Add() method

_instance = new PndEmcMapperGeo12Dat();
_instance->Add(new PndEmcMapperGeo3RootV2());
_instance->Add(new PndEmcMapperGeo4Root());
_instance->Add(new PndEmcMapperGeo5Root());


In addition I modified slightly PndEmc::SetGeometryVersion() method which defines available EMC geometries.
I removed some geometry options which I consider completely obsolete and made the geometry which should be used by default (
"emc_module12.dat","emc_module3_2011_new.root","emc_module4_StraightGeo24.4.root ","emc_module5_fsc.root")
as a version 1.

I.e. in simulation macro it should be called

  PndEmc *Emc = new PndEmc("EMC",kTRUE);
  Emc->SetGeometryVersion(1);


and corresponding EmcMapper version is 1.

The same geometry without shashlyk has version 2.

Dima
 
Read Message
Read Message
Read Message
Previous Topic: Access to clusters properties (bis)
Next Topic: EMC cluster energy correction
Goto Forum:
  


Current Time: Fri Mar 29 13:47:51 CET 2024

Total time taken to generate the page: 0.00860 seconds