GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Possibly a bug in MC Truth Forwarding (?) - no bug after all [SOLVED]
[FIXED] Possibly a bug in MC Truth Forwarding (?) - no bug after all [SOLVED] [message #13623] Mon, 18 June 2012 11:31 Go to next message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Dear all,

I have just noticed a change in MCTrack of points(_...).root and was wondering if that might be a bug.

I am running macros from macro/pid in my simulation of X(3872) -> J/\psi \pi^+ \pi^- with the corrected VVpipi decay model on PandaRoot revision 15615 (Scientific Linux CERN SLC release 5.5 (Boron), 64 bit, fairroot: jan12).

When I run cbmsim->Show(0) on a points(_...).root file which was created using PandaRoot Revision: 15581 (or before, I am not 100% sure which one I used in March, but I can figure it out if it is of any relevance) and look at MCTrack.fPdgCode, I get (for example):
Quote:


MCTrack.fPdgCode = 30443, 443, 211, -211, -11, 11, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22



When I do the same on a points(_...).root file which was created with PandaRoot Revision: 15615 I get:
Quote:


MCTrack.fPdgCode = 211, -211, -11, 11, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22


i.e. the \psi(2S) (which I use as a template for X(3872) and the J/\psi are not listed any more. That is not a problem for me, but I was wondering whether this was an intentional or accidental change in the code.

[Updated on: Mon, 18 June 2012 12:25] by Moderator

Report message to a moderator

Re: Possibly a bug in MC Truth Forwarding (?) [message #13624 is a reply to message #13623] Mon, 18 June 2012 11:39 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Are you sure you are using exactly the same simulation macro? I think that in the line:

EvtGen->SetStoreTree(kFALSE);


you were using kTRUE for the old macro, kFALSE (or no line) for the new macro. In kTRUE case you are storing in MCTrack also mother particles.

Could you please check?
Re: Possibly a bug in MC Truth Forwarding (?) [message #13625 is a reply to message #13624] Mon, 18 June 2012 12:07 Go to previous message
MartinJGaluska is currently offline  MartinJGaluska
Messages: 203
Registered: March 2010
Location: Germany
first-grade participant
From: *physik.uni-giessen.de
Thank you very much, Stefano,

you are absolutely right. I am sorry about that!
Previous Topic: segmentation violation in reco macro
Next Topic: [FIXED] Problems of jan12 with Ubuntu 12.04
Goto Forum:
  


Current Time: Thu May 09 23:17:58 CEST 2024

Total time taken to generate the page: 0.01100 seconds