GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Fast Simulations » [FIXED] Fixed bug in fsim
[FIXED] Fixed bug in fsim [message #16750] Thu, 29 May 2014 19:45 Go to next message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *adsl.alicedsl.de
Hi all,


I just found and fixed a bug in fsim (scrut14/trunk) concerning Electron/Muon PID and strange values of EmcCalEnergy/MuoIron in the PndPidCandidate caused by uninitialized values in PndFsmResponse.

So if you use electron or muon PID in your channel you should get now correct (and perhaps better) results.


Best,
Klaus

[Updated on: Fri, 12 September 2014 10:38] by Moderator

Report message to a moderator

Re: Fixed bug in fsim [message #16753 is a reply to message #16750] Fri, 30 May 2014 01:08 Go to previous messageGo to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip0.t-ipconnect.de
Hi Klaus,

Thank you for your fix.
I am working with the data containing few muon particles.
I am a bit confusing because of available information of muon chamber.
When I try to access the MuoNumberOfLayers() in the fast simulation, it could not possible to access it because it is simply not implemented.
But in principle I can use and access the information on MuonIron length, because it is in there. Is it correct?

Best wishes,
Donghee
Re: Fixed bug in fsim [message #16754 is a reply to message #16753] Fri, 30 May 2014 08:44 Go to previous messageGo to next message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *adsl.alicedsl.de
Hi Donghee,


the detector information stored (and simulated!) in Fast Sim is rather sparse, because it's not so simple to parametrize everything. You can only find selected ones, which are (see here: https://subversion.gsi.de/trac/fairroot/browser/pandaroot/release/scrut1 4/fsim/PndFsmResponse.h#L148)

  double _m2;                 //square of particle mass in Tof
  double _MvddEdx;            //dEdx in Mvd
  double _TpcdEdx;            //dEdx in Tpc
  double _SttdEdx;            //dEdx in Stt
  double _DrcDiscThtc;        //Theta_c Disc Dirc
  double _DrcBarrelThtc;      //Theta_c Barrel Dirc
  double _RichThtc;           //Theta_c Rich
  double _EmcEcal;            //calibrated energy deposit in calorimeter
  double _MuoIron;            //penetration depth in Muon detector iron


Since we don't use PID ToF in the moment, m2 is not filled at the moment (as well as the dE/dx value from TPC, which is still in the interface).

Best,
Klaus
Re: Fixed bug in fsim [message #16763 is a reply to message #16750] Sun, 01 June 2014 08:17 Go to previous message
Klaus Götzen is currently offline  Klaus Götzen
Messages: 293
Registered: June 2006
Location: GSI
first-grade participant
From: *adsl.alicedsl.de
Hi,


just as update: I think the bug affected only the values of EmcCalEnergy and MuoIron themselves, not the connected PID probabilities. So there is no need to rerun simulations if you didn't use the values directly.


Best regards and sorry for the inconvenience,
Klaus
Previous Topic: [OK] Event Filter in FastSim
Next Topic: [FIXED] Problem with mass constraint fit for two gamma
Goto Forum:
  


Current Time: Wed Apr 17 01:40:58 CEST 2024

Total time taken to generate the page: 0.00734 seconds