GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » update EMC geometry
update EMC geometry [message #12668] Thu, 22 September 2011 17:05 Go to next 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 just added another version of emc geometry which combines
new version of forward endcap emc_module3_2011_new.root with root version of shashlyk.

Geometry version is 20 and corresponding version of EmcMapper 11, i.e. the following should be used in simulation macro

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

and if EmcMapper should be initialised in macro to use some EMC classes:

PndEmcMapper::Init(11);

Dima
Re: update EMC geometry [message #12678 is a reply to message #12668] Fri, 23 September 2011 17:18 Go to previous messageGo to next 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
Re: update EMC geometry [message #12679 is a reply to message #12678] Fri, 23 September 2011 17:25 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Very nice,
but for the mapper maybe it could be better if the value would be written in the param file once the geoemtry is created, and automatically loaded in digi/reco/pid/analysis from it.
Don't ask me if this can be done easily in the framework...
Previous Topic: Access to clusters properties (bis)
Next Topic: EMC cluster energy correction
Goto Forum:
  


Current Time: Fri Mar 29 08:51:06 CET 2024

Total time taken to generate the page: 0.00883 seconds