Re: Forward calorimeter [message #4514 is a reply to message #4510] |
Tue, 19 June 2007 19:26 |
StefanoSpataro
Messages: 2736 Registered: June 2005 Location: Torino
|
first-grade participant |
From: *physik.uni-giessen.de
|
|
Hello,
new changes in svn.
First of all, I corrected one bug: the absorber was defined as FscScint and not as lead. I corrected this error (of mine!).
Second, I implemented the "fast" forward calorimeter.
By usinmg the "usual" lines in the sim_emc.C:
CbmDetector *Emc = new CbmEmc("EMC",kTRUE);
Emc->SetGeometryFileName("emc_module12345.dat");
fRun->AddModule(Emc);
the geometry is loaded in the full (and heavy) way.
But one can turn on the fast option, with the following constructor:
CbmDetector *Emc = new CbmEmc("EMC",kTRUE,kTRUE);
Emc->SetGeometryFileName("emc_module12345.dat");
fRun->AddModule(Emc);
and everything should be faster, in particular for the geometry visualization.
The fast option seems to work but it is not fully checked, so probably it is better to use it only for "plots for presentations" at the moment (in theory even the clusterization should work, but I would not swear on it before testing, and now I am tired).
Under the fast option the geometry is hardcoded at the moment, it is symmetric and the hole is 2X2. The pad number is calculated converting the MC X/Y position. Changes will be done in order to be more realistic, but I do not think before Dubna (and before setting the Chicane beam pipe).
Plese try and tell me if everthing runs or not.
REMEMBER: Before the absorber material was wrong, so all the results could be misleading.
|
|
|