GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Particle Identification » An option in the PID selector
An option in the PID selector [message #14258] Sat, 08 December 2012 21:45 Go to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip.t-dialin.net
Dear PID users,

I'm wondering how can I use the option "Variable" in PndAnaPidSelector.

In my analysis macro, I have introduced a electron selector
Quote:


PndAnaPidSelector PIDelectron("PIDelectron"); PIDelectron.SetSelection("ElectronVeryLooseMinus");



The parameter of "VeryLoose" indicate the value of 0.1 into the selection as a set value.
I would like to test and make a tuning this global PID cut value from 0.01 to 0.5 for each particle.
I have seen there are an option "Variable" for this purpose in PndAnaSelectorPar.cxx
and I assume that one can adjust directly the input value in the analysis macro.

but I couldn't find the function, what I can control parameter.
How can I set the value with PndAnaPidSelector?

Thank you for your help,
Donghee


Re: An option in the PID selector [message #14259 is a reply to message #14258] Sat, 08 December 2012 22:50 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
Check the end of macros/params/all.par
Re: An option in the PID selector [message #14260 is a reply to message #14259] Sat, 08 December 2012 23:35 Go to previous messageGo to next message
donghee is currently offline  donghee
Messages: 385
Registered: January 2009
Location: Germnay
first-grade participant
From: *dip.t-dialin.net
Hi Stefano,

I'm talking about the way, that I control parameters in analysis level.If I change the value in all.par then will follow changing the value in my analysis macro?
How does it work?

Donghee
Re: An option in the PID selector [message #14853 is a reply to message #14258] Fri, 07 June 2013 19:12 Go to previous messageGo to next message
Simon Reiter is currently offline  Simon Reiter
Messages: 44
Registered: May 2013
continuous participant
From: *zeu.uni-giessen.de
Hi,

I'm interested in those parameters, too. What is the "variable" set for? And what is used if I use "Best" in FillList?

Simon

[Updated on: Fri, 07 June 2013 19:13]

Report message to a moderator

Re: An option in the PID selector [message #14854 is a reply to message #14853] Fri, 07 June 2013 20:04 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
variate -> you can modify macro/params/pidana.par and all.par to set your own settings there.
Best -> the particles which has the highest probability.
Re: An option in the PID selector [message #14855 is a reply to message #14258] Fri, 07 June 2013 20:18 Go to previous messageGo to next message
Simon Reiter is currently offline  Simon Reiter
Messages: 44
Registered: May 2013
continuous participant
From: *zeu.uni-giessen.de
But isn't the value to insert the probability? Because I got better results with VeryTight than with Best. And with better results I mean less wrong detected particles.
Re: An option in the PID selector [message #14856 is a reply to message #14855] Fri, 07 June 2013 20:39 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
VeryTight means prob > 0.90.
Best is just the pio with the highest probability. This means that if your track has 0.25 probability being electron, 0.20 being a muon, 0.20 being a pion,0.20 being a kaon, 0.15 being a proton, it will be set as electron, even if with a poor probability.
Beast is not the best selection, is only setting the best hypothesis for such track.
Previous Topic: Muon tracking in forward spectrometer
Next Topic: PID combiner with different detector
Goto Forum:
  


Current Time: Wed Dec 11 08:45:32 CET 2024

Total time taken to generate the page: 0.00763 seconds