functions for RICH particle identification. More...
#include <PaPid.h>
Public Member Functions | |
| bool | CheckRichInfo (PaTrack track) |
| Check the RICH buffer in mDST; false if no RICH information is found. | |
| float | GetLike (int tag, PaTrack track) |
| Gives Likelihood values. | |
| float | GetLikeToBackground (int tag, PaTrack track) |
| Gives Likelihood values divided to the background likelihood value:. | |
| bool | IsKaon (PaTrack track, float qmom, float polar_rich) |
| True if particle is identified as K, otherwise false. | |
| int | LikePid (PaTrack track) |
| Function to identify the particles with Likelihood; suggested as a starting point for identification. | |
| float | SecondLike (PaTrack track) |
| Gives the ratio of the likelihood of the identified particle (from function LikePid) to the second maximum likelihood. | |
| double | Mass (PaTrack track, double n, double mom) |
| Compute hadron mass starting from n (refractive index value) and momentum values. | |
| double | Theta_Ch (PaTrack track) |
| Gives Cherenkov angle (in rad) from ring fit. | |
functions for RICH particle identification.
This class can be used to identify particles using the RICH informations (likelihoods - LH).
A starting point for the identification is provided in the function "LikePid" in which the hadrons are identified choosing the mass hypothesis giving the maximum likelihood.
To have a cleaner identification, afterwards cuts on the ratios LH/LH_{background} and LH/LH_{2nd max} are usually done: the two ratios are provided from the class members "GetLikeToBackground" and "SecondLike"; the cuts have to be tuned on data from the user.
The function IsKaon is given just as an example of cuts tuned as a function of the phase space of the particle.
NB: In the function explanation, the sentence "old versions of RICH code" indicates the RICH code used before 2004, in which the muon and electron LH were not computed.
| float PaPid::GetLike | ( | int | tag, | |
| PaTrack | track | |||
| ) |
Gives Likelihood values.
| tag |
| |
| track | PaTrack object |
References CheckRichInfo(), PaTrack::NRichInf(), and PaTrack::RichInf().
Referenced by LikePid(), and SecondLike().
| float PaPid::GetLikeToBackground | ( | int | tag, | |
| PaTrack | track | |||
| ) |
Gives Likelihood values divided to the background likelihood value:.
| tag |
| |
| track | PaTrack object |
References CheckRichInfo(), PaTrack::NRichInf(), and PaTrack::RichInf().
Referenced by IsKaon().
| bool PaPid::IsKaon | ( | PaTrack | track, | |
| float | qmom, | |||
| float | polar_rich | |||
| ) |
True if particle is identified as K, otherwise false.
The identification is made asking the kaon to have the maximum LH value (function LikePid) and then performing a cut on the 2 variables: LH/LH_{background} and LH/LH_{2nd max}
The cuts depend on the particle charge, on the momentum and on the polar angle (in rad) at the RICH entrance. The parameters have been tuned on phi samples in data.
References CheckRichInfo(), GetLikeToBackground(), LikePid(), PaTrack::NRichInf(), and SecondLike().
| int PaPid::LikePid | ( | PaTrack | track | ) |
Function to identify the particles with Likelihood; suggested as a starting point for identification.
Select the mass hypothesis corresponding to the max likelihood value
References CheckRichInfo(), GetLike(), PaTPar::Mom(), PaTrack::NRichInf(), and PaTrack::vTPar().
Referenced by IsKaon(), and SecondLike().
| double PaPid::Mass | ( | PaTrack | track, | |
| double | n, | |||
| double | mom | |||
| ) |
Compute hadron mass starting from n (refractive index value) and momentum values.
References CheckRichInfo(), and Theta_Ch().
| float PaPid::SecondLike | ( | PaTrack | track | ) |
Gives the ratio of the likelihood of the identified particle (from function LikePid) to the second maximum likelihood.
References GetLike(), LikePid(), PaTPar::Mom(), PaTrack::NRichInf(), and PaTrack::vTPar().
Referenced by IsKaon().
| double PaPid::Theta_Ch | ( | PaTrack | track | ) |
Gives Cherenkov angle (in rad) from ring fit.
References CheckRichInfo(), and PaTrack::RichInf().
Referenced by Mass().
1.6.2