Belle II Software  release-08-01-10
KLMMuidLikelihood Class Reference

Class to store the likelihoods from KLM with additional informations related to the extrapolation. More...

#include <KLMMuidLikelihood.h>

Inheritance diagram for KLMMuidLikelihood:
Collaboration diagram for KLMMuidLikelihood:

Public Member Functions

 KLMMuidLikelihood ()
 Constructor.
 
 ~KLMMuidLikelihood ()
 Destructor.
 
int getPDGCode () const
 Get the PDG code of the particle hypothesis used during the extrapolation.
 
int getCharge () const
 Get the charge of the particle hypothesis used during the extrapolation.
 
double getPDFValue (int pdg) const
 Get the normalized PDF. More...
 
double getMuonPDFValue () const
 Get the normalized PDF for the muon hypothesis.
 
double getPionPDFValue () const
 Get the normalized PDF for the pion hypothesis.
 
double getKaonPDFValue () const
 Get the normalized PDF for the kaon hypothesis.
 
double getProtonPDFValue () const
 Get the normalized PDF for the proton hypothesis.
 
double getDeuteronPDFValue () const
 Get the normalized PDF for the deuteron hypothesis.
 
double getElectronPDFValue () const
 Get the normalized PDF for the electron hypothesis.
 
bool getJunkPDFValue () const
 Get the junk flag (1 if junk, 0 if not).
 
double getLogL (int pdg) const
 Get the log-likelihood. More...
 
double getLogL_mu () const
 Get the log-likelihood for the muon hypothesis.
 
double getLogL_pi () const
 Get the log-likelihood for the pion hypothesis.
 
double getLogL_K () const
 Get the log-likelihood for the kaon hypothesis.
 
double getLogL_p () const
 Get the log-likelihood for the proton hypothesis.
 
double getLogL_d () const
 Get the log-likelihood for the deuteron hypothesis.
 
double getLogL_e () const
 Get the log-likelihood for the electron hypothesis.
 
double getChiSquared () const
 Get the chi-squared of the extrapolation.
 
int getDegreesOfFreedom () const
 Get the number of degrees of freedom (= 2 times the number of KLM hits) for the chi-squared computation.
 
unsigned int getOutcome () const
 Get the outcome of this extrapolation. More...
 
bool getIsForward () const
 Return if this extrapolation is in forward or backward B/EKLM.
 
int getBarrelExtLayer () const
 Get the outermost BKLM layer crossed in the extrapolation.
 
int getEndcapExtLayer () const
 Get the outermost EKLM layer crossed in the extrapolation.
 
int getExtLayer () const
 Get the outermost KLM layer crossed in the extrapolation.
 
int getBarrelHitLayer () const
 Get the outermost BKLM layer actually crossed by the track.
 
int getEndcapHitLayer () const
 Get the outermost EKLM layer actually crossed by the track.
 
int getHitLayer () const
 Get the outermost KLM layer actually crossed by the track.
 
unsigned int getExtLayerPattern () const
 Get the pattern of the layers crossed in the extrapolation.
 
unsigned int getHitLayerPattern () const
 Get the pattern of the layers actually crossed by the track.
 
unsigned int getTotalBarrelHits () const
 Get the total number of crossed BKLM layers.
 
unsigned int getTotalEndcapHits () const
 Get the total number of crossed EKLM layers.
 
float getExtBKLMEfficiencyValue (int layer) const
 Get the efficiency of a given BKLM layer. More...
 
float getExtEKLMEfficiencyValue (int layer) const
 Get the efficiency of a given EKLM layer. More...
 
void setPDGCode (int pdg)
 Set the PDG code of the particle hypothesis used during the extrapolation. More...
 
void setPDFValue (double pdfValue, int pdg)
 Set the normalized PDF. More...
 
void setMuonPDFValue (double pdfValue)
 Set the normalized PDF for the muon hypothesis. More...
 
void setPionPDFValue (double pdfValue)
 Set the normalized PDF for the pion hypothesis. More...
 
void setKaonPDFValue (double pdfValue)
 Set the normalized PDF for the kaon hypothesis. More...
 
void setProtonPDFValue (double pdfValue)
 Set the normalized PDF for the proton hypothesis. More...
 
void setDeuteronPDFValue (double pdfValue)
 Set the normalized PDF for the deuteron hypothesis. More...
 
void setElectronPDFValue (double pdfValue)
 Set the normalized PDF for the electron hypothesis. More...
 
void setJunkPDFValue (bool flag)
 Set the junk flag (1 if junk, 0 if not). More...
 
void setLogL (double logL, int pdg)
 Set the log-likelihood. More...
 
void setLogL_mu (double logL)
 Set the log-likelihood for the muon hypothesis. More...
 
void setLogL_pi (double logL)
 Set the log-likelihood for the pion hypothesis. More...
 
void setLogL_K (double logL)
 Set the log-likelihood for the kaon hypothesis. More...
 
void setLogL_p (double logL)
 Set the log-likelihood for the proton hypothesis. More...
 
void setLogL_d (double logL)
 Set the log-likelihood for the deuteron hypothesis. More...
 
void setLogL_e (double logL)
 Set the log-likelihood for the electron hypothesis. More...
 
void setChiSquared (double chiSquared)
 Set the chi-squared of the extrapolation. More...
 
void setDegreesOfFreedom (int dof)
 Set the number of degrees of freedom (= 2 times the number of KLM hits) for the chi-square computation. More...
 
void setOutcome (unsigned int outcome)
 Set the outcome of this extrapolation. More...
 
void setIsForward (bool isForward)
 Set if this extrapolation is in forward or backward B/EKLM. More...
 
void setBarrelExtLayer (int layer)
 Set the outermost BKLM layer crossed in the extrapolation. More...
 
void setEndcapExtLayer (int layer)
 Set the outermost EKLM layer crossed in the extrapolation. More...
 
void setExtLayer (int layer)
 Set the outermost EKLM layer crossed in the extrapolation. More...
 
void setBarrelHitLayer (int layer)
 Set the outermost BKLM layer actually crossed by the track. More...
 
void setEndcapHitLayer (int layer)
 Set the outermost EKLM layer actually crossed by the track. More...
 
void setHitLayer (int layer)
 Set the outermost KLM layer actually crossed by the track. More...
 
void setExtLayerPattern (unsigned int pattern)
 Set the pattern of the layers crossed in the extrapolation. More...
 
void setHitLayerPattern (unsigned int pattern)
 Set the pattern of the layers actually crossed by the track. More...
 
void setExtBKLMEfficiencyValue (int layer, float efficiency)
 Set the efficiency of a given BKLM layer. More...
 
void setExtEKLMEfficiencyValue (int layer, float efficiency)
 Set the efficiency of a given EKLM layer. More...
 
bool isExtrapolatedBarrelLayerCrossed (int layer) const
 Check whether the given BKLM layer is crossed during extrapolation. More...
 
bool isExtrapolatedEndcapLayerCrossed (int layer) const
 Check whether the given EKLM layer is crossed during extrapolation. More...
 
void addRelationTo (const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (with caching). More...
 
void addRelationTo (const TObject *object, float weight=1.0, const std::string &namedRelation="") const
 Add a relation from this object to another object (no caching, can be quite slow). More...
 
void copyRelations (const RelationsInterface< BASE > *sourceObj)
 Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights). More...
 
template<class TO >
RelationVector< TO > getRelationsTo (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from this object to another store array. More...
 
template<class FROM >
RelationVector< FROM > getRelationsFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the relations that point from another store array to this object. More...
 
template<class T >
RelationVector< T > getRelationsWith (const std::string &name="", const std::string &namedRelation="") const
 Get the relations between this object and another store array. More...
 
template<class TO >
TO * getRelatedTo (const std::string &name="", const std::string &namedRelation="") const
 Get the object to which this object has a relation. More...
 
template<class FROM >
FROM * getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the object from which this object has a relation. More...
 
template<class T >
T * getRelated (const std::string &name="", const std::string &namedRelation="") const
 Get the object to or from which this object has a relation. More...
 
template<class TO >
std::pair< TO *, float > getRelatedToWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing to an array. More...
 
template<class FROM >
std::pair< FROM *, float > getRelatedFromWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from an array. More...
 
template<class T >
std::pair< T *, float > getRelatedWithWeight (const std::string &name="", const std::string &namedRelation="") const
 Get first related object & weight of relation pointing from/to an array. More...
 
virtual std::string getName () const
 Return a short name that describes this object, e.g. More...
 
virtual std::string getInfoHTML () const
 Return a short summary of this object's contents in HTML format. More...
 
std::string getInfo () const
 Return a short summary of this object's contents in raw text format. More...
 
std::string getArrayName () const
 Get name of array this object is stored in, or "" if not found.
 
int getArrayIndex () const
 Returns this object's array index (in StoreArray), or -1 if not found.
 

Protected Member Functions

TClonesArray * getArrayPointer () const
 Returns the pointer to the raw DataStore array holding this object (protected since these arrays are easy to misuse).
 

Private Member Functions

 ClassDef (RelationsInterface, 0)
 defines interface for accessing relations of objects in StoreArray.
 

Private Attributes

int m_PDGCode
 PDG code of the particle hypothesis used during the extrapolation.
 
float m_PDFValue [Const::ChargedStable::c_SetSize]
 Array of normalized PDFs.
 
bool m_JunkPDFValue
 Junk flag (1 if junk, 0 if not).
 
float m_LogL [Const::ChargedStable::c_SetSize]
 Array of log-likelihoods.
 
float m_ChiSquared
 Chi-squared of the extrapolation.
 
int m_DegreesOfFreedom
 Number of degrees of freedom (= 2 times the number of KLM hits) for the chi-squared computation.
 
unsigned int m_Outcome
 Outcome of this extrapolation.
 
bool m_IsForward
 Flag to determine if this extrapolation is in forward or backward B/EKLM.
 
int m_BarrelExtLayer
 Outermost BKLM layer crossed in the extrapolation.
 
int m_EndcapExtLayer
 Outermost EKLM layer crossed in the extrapolation.
 
int m_ExtLayer
 Outermost KLM layer crossed in the extrapolation.
 
int m_BarrelHitLayer
 Outermost BKLM layer actually crossed by the track.
 
int m_EndcapHitLayer
 Outermost EKLM layer actually crossed by the track.
 
int m_HitLayer
 Outermost KLM layer actually crossed by the track.
 
unsigned int m_ExtLayerPattern
 Pattern of the layers crossed in the extrapolation (bits 0..14 = BKLM layers 1..15, bits 15..28 = EKLM layers 1..14).
 
unsigned int m_HitLayerPattern
 Pattern of the layers actually crossed by the track (bits 0..14 = BKLM layers 1..15, bits 15..28 = EKLM layers 1..14).
 
float m_ExtBKLMEfficiencyValue [BKLMElementNumbers::getMaximalLayerNumber()]
 Array of BKLM layer efficiencies.
 
float m_ExtEKLMEfficiencyValue [EKLMElementNumbers::getMaximalLayerNumber()]
 Array of EKLM layer efficiencies.
 
DataStore::StoreEntrym_cacheDataStoreEntry
 Cache of the data store entry to which this object belongs.
 
int m_cacheArrayIndex
 Cache of the index in the TClonesArray to which this object belongs.
 

Detailed Description

Class to store the likelihoods from KLM with additional informations related to the extrapolation.

Definition at line 28 of file KLMMuidLikelihood.h.

Member Function Documentation

◆ addRelationTo() [1/2]

void addRelationTo ( const RelationsInterface< BASE > *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (with caching).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 142 of file RelationsObject.h.

◆ addRelationTo() [2/2]

void addRelationTo ( const TObject *  object,
float  weight = 1.0,
const std::string &  namedRelation = "" 
) const
inlineinherited

Add a relation from this object to another object (no caching, can be quite slow).

Parameters
objectThe object to which the relation should point.
weightThe weight of the relation.
namedRelationAdditional name for the relation, or "" for the default naming

Definition at line 155 of file RelationsObject.h.

◆ copyRelations()

void copyRelations ( const RelationsInterface< BASE > *  sourceObj)
inlineinherited

Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).

Useful if you want to make a complete copy of a StoreArray object to make modifications to it, but retain all information on linked objects.

Note: this only works if sourceObj inherits from the same base (e.g. RelationsObject), and only for related objects that also inherit from the same base.

Definition at line 170 of file RelationsObject.h.

◆ getExtBKLMEfficiencyValue()

float getExtBKLMEfficiencyValue ( int  layer) const
inline

Get the efficiency of a given BKLM layer.

Parameters
[in]layerBKLM layer.

Definition at line 289 of file KLMMuidLikelihood.h.

290  {
291  return m_ExtBKLMEfficiencyValue[layer];
292  }
float m_ExtBKLMEfficiencyValue[BKLMElementNumbers::getMaximalLayerNumber()]
Array of BKLM layer efficiencies.

◆ getExtEKLMEfficiencyValue()

float getExtEKLMEfficiencyValue ( int  layer) const
inline

Get the efficiency of a given EKLM layer.

Parameters
[in]layerEKLM layer

Definition at line 298 of file KLMMuidLikelihood.h.

◆ getInfo()

std::string getInfo ( ) const
inlineinherited

Return a short summary of this object's contents in raw text format.

Returns the contents of getInfoHTML() while translating line-breaks etc.

Note
: You don't need to implement this function (it's not virtual), getInfoHTML() is enough.

Definition at line 370 of file RelationsObject.h.

◆ getInfoHTML()

virtual std::string getInfoHTML ( ) const
inlinevirtualinherited

Return a short summary of this object's contents in HTML format.

Reimplement this in your own class to provide useful output for display or debugging purposes. For example, you might do something like:

std::stringstream out;
out << "<b>PDG</b>: " << m_pdg << "<br>";
out << "<b>Covariance Matrix</b>: " << HTML::getString(getCovariance5()) << "<br>";
return out.str();
std::string getString(const TMatrixFBase &matrix, int precision=2, bool color=true)
get HTML table representing a matrix.
Definition: HTML.cc:24
See also
Particle::getInfoHTML() for a more complex example.
HTML for some utility functions.
Use getInfo() to get a raw text version of this output.

Reimplemented in RecoTrack, TRGSummary, TrackFitResult, Track, SoftwareTriggerResult, PIDLikelihood, MCParticle, Cluster, and Particle.

Definition at line 362 of file RelationsObject.h.

◆ getLogL()

double getLogL ( int  pdg) const
inline

Get the log-likelihood.

Parameters
[in]pdgPDG code of the hypothesis.

Definition at line 124 of file KLMMuidLikelihood.h.

◆ getName()

virtual std::string getName ( ) const
inlinevirtualinherited

Return a short name that describes this object, e.g.

pi+ for an MCParticle.

Reimplemented in SpacePoint, MCParticle, and Particle.

Definition at line 344 of file RelationsObject.h.

◆ getOutcome()

unsigned int getOutcome ( ) const
inline

Get the outcome of this extrapolation.

All the possible outcome values are defined in MuidElementNumbers (see enum Outcome and calculateExtrapolationOutcome).

Definition at line 198 of file KLMMuidLikelihood.h.

◆ getPDFValue()

double getPDFValue ( int  pdg) const
inline

Get the normalized PDF.

Parameters
[in]pdgPDG code of the hypothesis.

Definition at line 59 of file KLMMuidLikelihood.h.

◆ getRelated()

T* getRelated ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to or from which this object has a relation.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 278 of file RelationsObject.h.

◆ getRelatedFrom()

FROM* getRelatedFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object from which this object has a relation.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 263 of file RelationsObject.h.

◆ getRelatedFromWithWeight()

std::pair<FROM*, float> getRelatedFromWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from an array.

Template Parameters
FROMThe class of objects from which the relation points.
Parameters
nameThe name of the store array from which the relation points. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 314 of file RelationsObject.h.

◆ getRelatedTo()

TO* getRelatedTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the object to which this object has a relation.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
The first related object or a null pointer.

Definition at line 248 of file RelationsObject.h.

◆ getRelatedToWithWeight()

std::pair<TO*, float> getRelatedToWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing to an array.

Template Parameters
TOThe class of objects to which the relation points.
Parameters
nameThe name of the store array to which the relation points. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 297 of file RelationsObject.h.

◆ getRelatedWithWeight()

std::pair<T*, float> getRelatedWithWeight ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get first related object & weight of relation pointing from/to an array.

Template Parameters
TThe class of objects to or from which the relation points.
Parameters
nameThe name of the store array to or from which the relation points. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
Pair of first related object and the relation weight, or (NULL, 1.0) if none found.

Definition at line 331 of file RelationsObject.h.

◆ getRelationsFrom()

RelationVector<FROM> getRelationsFrom ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from another store array to this object.

Template Parameters
FROMThe class of objects from which the relations point.
Parameters
nameThe name of the store array from which the relations point. If empty the default store array name for class FROM will be used. If the special name "ALL" is given all store arrays containing objects of type FROM are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 212 of file RelationsObject.h.

◆ getRelationsTo()

RelationVector<TO> getRelationsTo ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations that point from this object to another store array.

Template Parameters
TOThe class of objects to which the relations point.
Parameters
nameThe name of the store array to which the relations point. If empty the default store array name for class TO will be used. If the special name "ALL" is given all store arrays containing objects of type TO are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 197 of file RelationsObject.h.

◆ getRelationsWith()

RelationVector<T> getRelationsWith ( const std::string &  name = "",
const std::string &  namedRelation = "" 
) const
inlineinherited

Get the relations between this object and another store array.

Relations in both directions are returned.

Template Parameters
TThe class of objects to or from which the relations point.
Parameters
nameThe name of the store array to or from which the relations point. If empty the default store array name for class T will be used. If the special name "ALL" is given all store arrays containing objects of type T are considered.
namedRelationAdditional name for the relation, or "" for the default naming
Returns
A vector of relations.

Definition at line 230 of file RelationsObject.h.

◆ isExtrapolatedBarrelLayerCrossed()

bool isExtrapolatedBarrelLayerCrossed ( int  layer) const

Check whether the given BKLM layer is crossed during extrapolation.

Parameters
[in]layerBKLM layer (0-based).

Definition at line 82 of file KLMMuidLikelihood.cc.

83 {
84  if ((layer < 0) || (layer >= BKLMElementNumbers::getMaximalLayerNumber()))
85  return false;
86  return m_ExtLayerPattern & (1 << layer);
87 };
static constexpr int getMaximalLayerNumber()
Get maximal layer number (1-based).
unsigned int m_ExtLayerPattern
Pattern of the layers crossed in the extrapolation (bits 0..14 = BKLM layers 1..15,...

◆ isExtrapolatedEndcapLayerCrossed()

bool isExtrapolatedEndcapLayerCrossed ( int  layer) const

Check whether the given EKLM layer is crossed during extrapolation.

Parameters
[in]layerEKLM layer (0-based).

Definition at line 89 of file KLMMuidLikelihood.cc.

◆ setBarrelExtLayer()

void setBarrelExtLayer ( int  layer)
inline

Set the outermost BKLM layer crossed in the extrapolation.

Parameters
[in]layerOutermost BKLM layer.

Definition at line 491 of file KLMMuidLikelihood.h.

◆ setBarrelHitLayer()

void setBarrelHitLayer ( int  layer)
inline

Set the outermost BKLM layer actually crossed by the track.

Parameters
[in]layerOutermost BKLM layer.

Definition at line 518 of file KLMMuidLikelihood.h.

◆ setChiSquared()

void setChiSquared ( double  chiSquared)
inline

Set the chi-squared of the extrapolation.

Parameters
[in]chiSquaredChi-squared of the extrapolation.

Definition at line 453 of file KLMMuidLikelihood.h.

◆ setDegreesOfFreedom()

void setDegreesOfFreedom ( int  dof)
inline

Set the number of degrees of freedom (= 2 times the number of KLM hits) for the chi-square computation.

Parameters
[in]dofNumber of degrees of freedom.

Definition at line 462 of file KLMMuidLikelihood.h.

◆ setDeuteronPDFValue()

void setDeuteronPDFValue ( double  pdfValue)
inline

Set the normalized PDF for the deuteron hypothesis.

Parameters
[in]pdfValueNormalized PDF.

Definition at line 362 of file KLMMuidLikelihood.h.

◆ setElectronPDFValue()

void setElectronPDFValue ( double  pdfValue)
inline

Set the normalized PDF for the electron hypothesis.

Parameters
[in]pdfValueNormalized PDF.

Definition at line 371 of file KLMMuidLikelihood.h.

◆ setEndcapExtLayer()

void setEndcapExtLayer ( int  layer)
inline

Set the outermost EKLM layer crossed in the extrapolation.

Parameters
[in]layerOutermost EKLM layer.

Definition at line 500 of file KLMMuidLikelihood.h.

◆ setEndcapHitLayer()

void setEndcapHitLayer ( int  layer)
inline

Set the outermost EKLM layer actually crossed by the track.

Parameters
[in]layerOutermost EKLM layer.

Definition at line 527 of file KLMMuidLikelihood.h.

◆ setExtBKLMEfficiencyValue()

void setExtBKLMEfficiencyValue ( int  layer,
float  efficiency 
)
inline

Set the efficiency of a given BKLM layer.

Parameters
[in]layerBKLM layer.
[in]efficiencyEfficiency of the given layer.

Definition at line 564 of file KLMMuidLikelihood.h.

◆ setExtEKLMEfficiencyValue()

void setExtEKLMEfficiencyValue ( int  layer,
float  efficiency 
)
inline

Set the efficiency of a given EKLM layer.

Parameters
[in]layerEKLM layer.
[in]efficiencyEfficiency of the given layer.

Definition at line 574 of file KLMMuidLikelihood.h.

◆ setExtLayer()

void setExtLayer ( int  layer)
inline

Set the outermost EKLM layer crossed in the extrapolation.

Parameters
[in]layerOutermost KLM layer.

Definition at line 509 of file KLMMuidLikelihood.h.

◆ setExtLayerPattern()

void setExtLayerPattern ( unsigned int  pattern)
inline

Set the pattern of the layers crossed in the extrapolation.

Parameters
[in]patternPattern of the extrapolation.

Definition at line 545 of file KLMMuidLikelihood.h.

◆ setHitLayer()

void setHitLayer ( int  layer)
inline

Set the outermost KLM layer actually crossed by the track.

Parameters
[in]layerOutermost KLM layer.

Definition at line 536 of file KLMMuidLikelihood.h.

◆ setHitLayerPattern()

void setHitLayerPattern ( unsigned int  pattern)
inline

Set the pattern of the layers actually crossed by the track.

Parameters
[in]patternPattern of the layers actually crossed.

Definition at line 554 of file KLMMuidLikelihood.h.

◆ setIsForward()

void setIsForward ( bool  isForward)
inline

Set if this extrapolation is in forward or backward B/EKLM.

Parameters
[in]isForwardTrue for forward, false for backward.

Definition at line 482 of file KLMMuidLikelihood.h.

◆ setJunkPDFValue()

void setJunkPDFValue ( bool  flag)
inline

Set the junk flag (1 if junk, 0 if not).

Parameters
[in]flag1 if junk, 0 if not.

Definition at line 380 of file KLMMuidLikelihood.h.

◆ setKaonPDFValue()

void setKaonPDFValue ( double  pdfValue)
inline

Set the normalized PDF for the kaon hypothesis.

Parameters
[in]pdfValueNormalized PDF.

Definition at line 344 of file KLMMuidLikelihood.h.

◆ setLogL()

void setLogL ( double  logL,
int  pdg 
)
inline

Set the log-likelihood.

Parameters
[in]logLLog-likelihood.
[in]pdgPDG code of the hypothesis.

Definition at line 390 of file KLMMuidLikelihood.h.

◆ setLogL_d()

void setLogL_d ( double  logL)
inline

Set the log-likelihood for the deuteron hypothesis.

Parameters
[in]logLLog-likelihood.

Definition at line 435 of file KLMMuidLikelihood.h.

◆ setLogL_e()

void setLogL_e ( double  logL)
inline

Set the log-likelihood for the electron hypothesis.

Parameters
[in]logLLog-likelihood.

Definition at line 444 of file KLMMuidLikelihood.h.

◆ setLogL_K()

void setLogL_K ( double  logL)
inline

Set the log-likelihood for the kaon hypothesis.

Parameters
[in]logLLog-likelihood.

Definition at line 417 of file KLMMuidLikelihood.h.

◆ setLogL_mu()

void setLogL_mu ( double  logL)
inline

Set the log-likelihood for the muon hypothesis.

Parameters
[in]logLLog-likelihood.

Definition at line 399 of file KLMMuidLikelihood.h.

◆ setLogL_p()

void setLogL_p ( double  logL)
inline

Set the log-likelihood for the proton hypothesis.

Parameters
[in]logLLog-likelihood.

Definition at line 426 of file KLMMuidLikelihood.h.

◆ setLogL_pi()

void setLogL_pi ( double  logL)
inline

Set the log-likelihood for the pion hypothesis.

Parameters
[in]logLLog-likelihood.

Definition at line 408 of file KLMMuidLikelihood.h.

◆ setMuonPDFValue()

void setMuonPDFValue ( double  pdfValue)
inline

Set the normalized PDF for the muon hypothesis.

Parameters
[in]pdfValueNormalized PDF.

Definition at line 326 of file KLMMuidLikelihood.h.

◆ setOutcome()

void setOutcome ( unsigned int  outcome)
inline

Set the outcome of this extrapolation.

All the possible outcome values are defined in MuidElementNumbers (see enum Outcome and calculateExtrapolationOutcome).

Parameters
[in]outcomeOutcome of this extrapolation.

Definition at line 473 of file KLMMuidLikelihood.h.

◆ setPDFValue()

void setPDFValue ( double  pdfValue,
int  pdg 
)
inline

Set the normalized PDF.

Parameters
[in]pdfValueNormalized PDF.
[in]pdgPDG code of the particle hypothesis.

Definition at line 317 of file KLMMuidLikelihood.h.

◆ setPDGCode()

void setPDGCode ( int  pdg)
inline

Set the PDG code of the particle hypothesis used during the extrapolation.

Parameters
[in]pdgPDG code of the particle hypothesis.

Definition at line 307 of file KLMMuidLikelihood.h.

◆ setPionPDFValue()

void setPionPDFValue ( double  pdfValue)
inline

Set the normalized PDF for the pion hypothesis.

Parameters
[in]pdfValueNormalized PDF.

Definition at line 335 of file KLMMuidLikelihood.h.

◆ setProtonPDFValue()

void setProtonPDFValue ( double  pdfValue)
inline

Set the normalized PDF for the proton hypothesis.

Parameters
[in]pdfValueNormalized PDF.

Definition at line 353 of file KLMMuidLikelihood.h.


The documentation for this class was generated from the following files: