GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Analysis » Ideal PID in full simulation
Ideal PID in full simulation [message #16487] Wed, 30 April 2014 15:09 Go to next message
Lu Cao is currently offline  Lu Cao
Messages: 77
Registered: February 2013
continuous participant
From: *ikp.kfa-juelich.de
Dear all,

I tried to use ideal PID algorithm in the full simulaiton with PidAlgoIdealCharged (true particle probability=1, other p=0), but the criteria "Loose", "Tight", "VeryTight" return 0 candidates. This problem has been found since #24328, but the older version #24300 works fine.

Could someone check or fix it?
Thanks in advance.

Best,
Lu
Re: Ideal PID in full simulation [message #16493 is a reply to message #16487] Wed, 30 April 2014 15:28 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hello Lu,

Do you specify "PidAlgoIdealCharged" in your FillList or leave it out? You should specify it.
e.g.
RhoCandList pions;
theAnalysis->FillList(pions,"PionLoose","PidAlgoIdealCharged");


Cheers
Ralf
Re: Ideal PID in full simulation [message #16495 is a reply to message #16493] Wed, 30 April 2014 15:46 Go to previous messageGo to next message
Lu Cao is currently offline  Lu Cao
Messages: 77
Registered: February 2013
continuous participant
From: *ikp.kfa-juelich.de
Hi Ralf,

It works fine after specifying. I didn't take care about it, since the tutorial said "When this parameter is not specified, it defaults to PidAlgoIdealCharged."
Thanks for your help.

Best,
Lu
Re: Ideal PID in full simulation [message #16496 is a reply to message #16495] Wed, 30 April 2014 15:51 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: *gsi.de
Hi,


indeed it was like this, but we removed it for the Fast Sim I believe. I should update the tutorial in that respect. Thanks for reminding us!


Best,
Klaus
Re: Ideal PID in full simulation [message #16544 is a reply to message #16496] Thu, 08 May 2014 16:21 Go to previous messageGo to next message
Elisa Fioravanti is currently offline  Elisa Fioravanti
Messages: 84
Registered: January 2008
continuous participant
From: *fe.infn.it
Dear all,

I'm using the full simulation with Ideal PID.
I wrote:

theAnalysis->FillList(muplus, "MuonVeryTightPlus","PidAlgoIdealCharged");
theAnalysis->FillList(muminus, "MuonVeryTightMinus","PidAlgoIdealCharged");

but if I change VeryTight with Loose or Tight, the number of
events is always the same.
(I tried also with the standard macro of the psi(2S)->J/psi pi pi in macro/run)

The pandaroot version is 24830.
What is the standard procedure to set the Ideal PID? Where am I wrong?

Thank you in advance
Elisa
Re: Ideal PID in full simulation [message #16545 is a reply to message #16544] Thu, 08 May 2014 16:27 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Hello Elisa,

This behaviour is exactly as you observe it. "Ideal" PID means that a candidate is associated to it's Monte-Carlo true PID. The values in PidAlgoIdealCharged are 0 for the wrong particle type and 1 for the correct type. Cutting at 0.9 (VeryTight) or at 0.2 (Loose) will not alter anything.

Cheers
Ralf
Previous Topic: [FIXED] Problems with analysis: PidAlgoMvd not found in Tree
Next Topic: Differences between Histo and Ntuple
Goto Forum:
  


Current Time: Thu Oct 10 19:54:29 CEST 2024

Total time taken to generate the page: 0.00566 seconds