Belle II Software development
KLMMuidLikelihood Class Reference

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

#include <KLMMuidLikelihood.h>

Inheritance diagram for KLMMuidLikelihood:
RelationsInterface< BASE >

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.
 
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.
 
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.
 
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.
 
float getExtEKLMEfficiencyValue (int layer) const
 Get the efficiency of a given EKLM layer.
 
void setPDGCode (int pdg)
 Set the PDG code of the particle hypothesis used during the extrapolation.
 
void setPDFValue (double pdfValue, int pdg)
 Set the normalized PDF.
 
void setMuonPDFValue (double pdfValue)
 Set the normalized PDF for the muon hypothesis.
 
void setPionPDFValue (double pdfValue)
 Set the normalized PDF for the pion hypothesis.
 
void setKaonPDFValue (double pdfValue)
 Set the normalized PDF for the kaon hypothesis.
 
void setProtonPDFValue (double pdfValue)
 Set the normalized PDF for the proton hypothesis.
 
void setDeuteronPDFValue (double pdfValue)
 Set the normalized PDF for the deuteron hypothesis.
 
void setElectronPDFValue (double pdfValue)
 Set the normalized PDF for the electron hypothesis.
 
void setJunkPDFValue (bool flag)
 Set the junk flag (1 if junk, 0 if not).
 
void setLogL (double logL, int pdg)
 Set the log-likelihood.
 
void setLogL_mu (double logL)
 Set the log-likelihood for the muon hypothesis.
 
void setLogL_pi (double logL)
 Set the log-likelihood for the pion hypothesis.
 
void setLogL_K (double logL)
 Set the log-likelihood for the kaon hypothesis.
 
void setLogL_p (double logL)
 Set the log-likelihood for the proton hypothesis.
 
void setLogL_d (double logL)
 Set the log-likelihood for the deuteron hypothesis.
 
void setLogL_e (double logL)
 Set the log-likelihood for the electron hypothesis.
 
void setChiSquared (double chiSquared)
 Set the chi-squared of the extrapolation.
 
void setDegreesOfFreedom (int dof)
 Set the number of degrees of freedom (= 2 times the number of KLM hits) for the chi-square computation.
 
void setOutcome (unsigned int outcome)
 Set the outcome of this extrapolation.
 
void setIsForward (bool isForward)
 Set if this extrapolation is in forward or backward B/EKLM.
 
void setBarrelExtLayer (int layer)
 Set the outermost BKLM layer crossed in the extrapolation.
 
void setEndcapExtLayer (int layer)
 Set the outermost EKLM layer crossed in the extrapolation.
 
void setExtLayer (int layer)
 Set the outermost EKLM layer crossed in the extrapolation.
 
void setBarrelHitLayer (int layer)
 Set the outermost BKLM layer actually crossed by the track.
 
void setEndcapHitLayer (int layer)
 Set the outermost EKLM layer actually crossed by the track.
 
void setHitLayer (int layer)
 Set the outermost KLM layer actually crossed by the track.
 
void setExtLayerPattern (unsigned int pattern)
 Set the pattern of the layers crossed in the extrapolation.
 
void setHitLayerPattern (unsigned int pattern)
 Set the pattern of the layers actually crossed by the track.
 
void setExtBKLMEfficiencyValue (int layer, float efficiency)
 Set the efficiency of a given BKLM layer.
 
void setExtEKLMEfficiencyValue (int layer, float efficiency)
 Set the efficiency of a given EKLM layer.
 
bool isExtrapolatedBarrelLayerCrossed (int layer) const
 Check whether the given BKLM layer is crossed during extrapolation.
 
bool isExtrapolatedEndcapLayerCrossed (int layer) const
 Check whether the given EKLM layer is crossed during extrapolation.
 
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).
 
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).
 
void copyRelations (const RelationsInterface< BASE > *sourceObj)
 Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).
 
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.
 
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.
 
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.
 
template<class TO >
TO * getRelatedTo (const std::string &name="", const std::string &namedRelation="") const
 Get the object to which this object has a relation.
 
template<class FROM >
FROM * getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const
 Get the object from which this object has a relation.
 
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.
 
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.
 
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.
 
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.
 
virtual std::string getName () const
 Return a short name that describes this object, e.g.
 
virtual std::string getInfoHTML () const
 Return a short summary of this object's contents in HTML format.
 
std::string getInfo () const
 Return a short summary of this object's contents in raw text format.
 
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 information related to the extrapolation.

Definition at line 28 of file KLMMuidLikelihood.h.

Constructor & Destructor Documentation

◆ KLMMuidLikelihood()

Constructor.

Definition at line 14 of file KLMMuidLikelihood.cc.

14 :
15 m_PDGCode(0),
16 m_JunkPDFValue(false),
17 m_ChiSquared(0.0),
19 m_Outcome(0),
20 m_IsForward(true),
23 m_ExtLayer(-1),
26 m_HitLayer(-1),
29{
30 for (const Const::ChargedStable particle : Const::chargedStableSet) {
31 m_PDFValue[particle.getIndex()] = 0.0;
32 m_LogL[particle.getIndex()] = -1.0E20;
33 }
34 for (int i = 0; i < BKLMElementNumbers::getMaximalLayerNumber(); ++i) {
36 }
37 for (int i = 0; i < EKLMElementNumbers::getMaximalLayerNumber(); ++i) {
39 }
40}
static constexpr int getMaximalLayerNumber()
Get maximal layer number (1-based).
Provides a type-safe way to pass members of the chargedStableSet set.
Definition: Const.h:589
static const ParticleSet chargedStableSet
set of charged stable particles
Definition: Const.h:618
static constexpr int getMaximalLayerNumber()
Get maximal layer number.
int m_ExtLayer
Outermost KLM layer crossed in the extrapolation.
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.
float m_LogL[Const::ChargedStable::c_SetSize]
Array of log-likelihoods.
int m_EndcapHitLayer
Outermost EKLM layer actually crossed by the track.
int m_BarrelHitLayer
Outermost BKLM layer actually crossed by the track.
int m_EndcapExtLayer
Outermost EKLM layer crossed in the extrapolation.
unsigned int m_ExtLayerPattern
Pattern of the layers crossed in the extrapolation (bits 0..14 = BKLM layers 1..15,...
unsigned int m_HitLayerPattern
Pattern of the layers actually crossed by the track (bits 0..14 = BKLM layers 1..15,...
float m_ExtEKLMEfficiencyValue[EKLMElementNumbers::getMaximalLayerNumber()]
Array of EKLM layer efficiencies.
int m_HitLayer
Outermost KLM layer actually crossed by the track.
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.
bool m_JunkPDFValue
Junk flag (1 if junk, 0 if not).
float m_ExtBKLMEfficiencyValue[BKLMElementNumbers::getMaximalLayerNumber()]
Array of BKLM layer efficiencies.
int m_PDGCode
PDG code of the particle hypothesis used during the extrapolation.
float m_PDFValue[Const::ChargedStable::c_SetSize]
Array of normalized PDFs.

◆ ~KLMMuidLikelihood()

Destructor.

Definition at line 42 of file KLMMuidLikelihood.cc.

43{
44}

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.

143 {
144 if (object)
146 object, object->m_cacheDataStoreEntry, object->m_cacheArrayIndex, weight, namedRelation);
147 }
void addRelation(const TObject *fromObject, StoreEntry *&fromEntry, int &fromIndex, const TObject *toObject, StoreEntry *&toEntry, int &toIndex, float weight, const std::string &namedRelation)
Add a relation from an object in a store array to another object in a store array.
Definition: DataStore.cc:492
static DataStore & Instance()
Instance of singleton Store.
Definition: DataStore.cc:54
DataStore::StoreEntry * m_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.

◆ 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.

156 {
157 StoreEntry* toEntry = nullptr;
158 int toIndex = -1;
159 DataStore::Instance().addRelation(this, m_cacheDataStoreEntry, m_cacheArrayIndex, object, toEntry, toIndex, weight, namedRelation);
160 }

◆ 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.

171 {
172 if (!sourceObj)
173 return;
174 auto fromRels = sourceObj->getRelationsFrom<RelationsInterface<BASE>>("ALL");
175 for (unsigned int iRel = 0; iRel < fromRels.size(); iRel++) {
176 fromRels.object(iRel)->addRelationTo(this, fromRels.weight(iRel));
177 }
178
179 auto toRels = sourceObj->getRelationsTo<RelationsInterface<BASE>>("ALL");
180 for (unsigned int iRel = 0; iRel < toRels.size(); iRel++) {
181 this->addRelationTo(toRels.object(iRel), toRels.weight(iRel));
182 }
183 }
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).

◆ getArrayIndex()

int getArrayIndex ( ) const
inlineinherited

Returns this object's array index (in StoreArray), or -1 if not found.

Definition at line 385 of file RelationsObject.h.

386 {
388 return m_cacheArrayIndex;
389 }
bool findStoreEntry(const TObject *object, StoreEntry *&entry, int &index)
Find an object in an array in the data store.
Definition: DataStore.cc:398

◆ getArrayName()

std::string getArrayName ( ) const
inlineinherited

Get name of array this object is stored in, or "" if not found.

Definition at line 377 of file RelationsObject.h.

◆ getArrayPointer()

TClonesArray * getArrayPointer ( ) const
inlineprotectedinherited

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

Definition at line 418 of file RelationsObject.h.

419 {
422 return nullptr;
424 }
TClonesArray * getPtrAsArray() const
Return ptr cast to TClonesArray.
Definition: StoreEntry.cc:83

◆ getBarrelExtLayer()

int getBarrelExtLayer ( ) const
inline

Get the outermost BKLM layer crossed in the extrapolation.

Definition at line 214 of file KLMMuidLikelihood.h.

215 {
216 return m_BarrelExtLayer;
217 }

◆ getBarrelHitLayer()

int getBarrelHitLayer ( ) const
inline

Get the outermost BKLM layer actually crossed by the track.

Definition at line 238 of file KLMMuidLikelihood.h.

239 {
240 return m_BarrelHitLayer;
241 }

◆ getCharge()

int getCharge ( ) const

Get the charge of the particle hypothesis used during the extrapolation.

Definition at line 46 of file KLMMuidLikelihood.cc.

47{
48 int charge = 1;
50 if (pdg < 0)
51 charge = -charge;
52 if ((std::abs(pdg) == Const::muon.getPDGCode()) || (std::abs(pdg) == Const::electron.getPDGCode()))
53 charge = -charge;
54 return charge;
55}
static const ChargedStable muon
muon particle
Definition: Const.h:660
static const ChargedStable electron
electron particle
Definition: Const.h:659
int getPDGCode() const
Get the PDG code of the particle hypothesis used during the extrapolation.
double charge(int pdgCode)
Returns electric charge of a particle with given pdg code.
Definition: EvtPDLUtil.cc:44

◆ getChiSquared()

double getChiSquared ( ) const
inline

Get the chi-squared of the extrapolation.

Definition at line 180 of file KLMMuidLikelihood.h.

181 {
182 return m_ChiSquared;
183 }

◆ getDegreesOfFreedom()

int getDegreesOfFreedom ( ) const
inline

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

Definition at line 188 of file KLMMuidLikelihood.h.

189 {
190 return m_DegreesOfFreedom;
191 }

◆ getDeuteronPDFValue()

double getDeuteronPDFValue ( ) const
inline

Get the normalized PDF for the deuteron hypothesis.

Definition at line 99 of file KLMMuidLikelihood.h.

100 {
102 }
static const ChargedStable deuteron
deuteron particle
Definition: Const.h:664
double getPDFValue(int pdg) const
Get the normalized PDF.

◆ getElectronPDFValue()

double getElectronPDFValue ( ) const
inline

Get the normalized PDF for the electron hypothesis.

Definition at line 107 of file KLMMuidLikelihood.h.

108 {
110 }

◆ getEndcapExtLayer()

int getEndcapExtLayer ( ) const
inline

Get the outermost EKLM layer crossed in the extrapolation.

Definition at line 222 of file KLMMuidLikelihood.h.

223 {
224 return m_EndcapExtLayer;
225 }

◆ getEndcapHitLayer()

int getEndcapHitLayer ( ) const
inline

Get the outermost EKLM layer actually crossed by the track.

Definition at line 246 of file KLMMuidLikelihood.h.

247 {
248 return m_EndcapHitLayer;
249 }

◆ 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 }

◆ 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.

299 {
300 return m_ExtEKLMEfficiencyValue[layer];
301 }

◆ getExtLayer()

int getExtLayer ( ) const
inline

Get the outermost KLM layer crossed in the extrapolation.

Definition at line 230 of file KLMMuidLikelihood.h.

231 {
232 return m_ExtLayer;
233 }

◆ getExtLayerPattern()

unsigned int getExtLayerPattern ( ) const
inline

Get the pattern of the layers crossed in the extrapolation.

Definition at line 262 of file KLMMuidLikelihood.h.

263 {
264 return m_ExtLayerPattern;
265 }

◆ getHitLayer()

int getHitLayer ( ) const
inline

Get the outermost KLM layer actually crossed by the track.

Definition at line 254 of file KLMMuidLikelihood.h.

255 {
256 return m_HitLayer;
257 }

◆ getHitLayerPattern()

unsigned int getHitLayerPattern ( ) const
inline

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

Definition at line 270 of file KLMMuidLikelihood.h.

271 {
272 return m_HitLayerPattern;
273 }

◆ 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.

371 {
373 }
virtual std::string getInfoHTML() const
Return a short summary of this object's contents in HTML format.
std::string htmlToPlainText(const std::string &html)
See RelationsObject::getInfo()

◆ 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 Particle, Cluster, MCParticle, PIDLikelihood, SoftwareTriggerResult, Track, TrackFitResult, TRGSummary, and RecoTrack.

Definition at line 362 of file RelationsObject.h.

362{ return ""; }

◆ getIsForward()

bool getIsForward ( ) const
inline

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

Definition at line 206 of file KLMMuidLikelihood.h.

207 {
208 return m_IsForward;
209 }

◆ getJunkPDFValue()

bool getJunkPDFValue ( ) const
inline

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

Definition at line 115 of file KLMMuidLikelihood.h.

116 {
117 return m_JunkPDFValue;
118 }

◆ getKaonPDFValue()

double getKaonPDFValue ( ) const
inline

Get the normalized PDF for the kaon hypothesis.

Definition at line 83 of file KLMMuidLikelihood.h.

84 {
86 }
static const ChargedStable kaon
charged kaon particle
Definition: Const.h:662

◆ 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.

125 {
126 return m_LogL[Const::ChargedStable(pdg).getIndex()];
127 }

◆ getLogL_d()

double getLogL_d ( ) const
inline

Get the log-likelihood for the deuteron hypothesis.

Definition at line 164 of file KLMMuidLikelihood.h.

165 {
167 }
double getLogL(int pdg) const
Get the log-likelihood.

◆ getLogL_e()

double getLogL_e ( ) const
inline

Get the log-likelihood for the electron hypothesis.

Definition at line 172 of file KLMMuidLikelihood.h.

173 {
175 }

◆ getLogL_K()

double getLogL_K ( ) const
inline

Get the log-likelihood for the kaon hypothesis.

Definition at line 148 of file KLMMuidLikelihood.h.

149 {
151 }

◆ getLogL_mu()

double getLogL_mu ( ) const
inline

Get the log-likelihood for the muon hypothesis.

Definition at line 132 of file KLMMuidLikelihood.h.

133 {
135 }

◆ getLogL_p()

double getLogL_p ( ) const
inline

Get the log-likelihood for the proton hypothesis.

Definition at line 156 of file KLMMuidLikelihood.h.

157 {
159 }
static const ChargedStable proton
proton particle
Definition: Const.h:663

◆ getLogL_pi()

double getLogL_pi ( ) const
inline

Get the log-likelihood for the pion hypothesis.

Definition at line 140 of file KLMMuidLikelihood.h.

141 {
143 }
static const ChargedStable pion
charged pion particle
Definition: Const.h:661

◆ getMuonPDFValue()

double getMuonPDFValue ( ) const
inline

Get the normalized PDF for the muon hypothesis.

Definition at line 67 of file KLMMuidLikelihood.h.

68 {
70 }

◆ getName()

virtual std::string getName ( ) const
inlinevirtualinherited

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

pi+ for an MCParticle.

Reimplemented in Particle, MCParticle, and SpacePoint.

Definition at line 344 of file RelationsObject.h.

344{ return ""; }

◆ 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.

199 {
200 return m_Outcome;
201 }

◆ 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.

60 {
61 return m_PDFValue[Const::ChargedStable(pdg).getIndex()];
62 }

◆ getPDGCode()

int getPDGCode ( ) const
inline

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

Definition at line 45 of file KLMMuidLikelihood.h.

46 {
47 return m_PDGCode;
48 }

◆ getPionPDFValue()

double getPionPDFValue ( ) const
inline

Get the normalized PDF for the pion hypothesis.

Definition at line 75 of file KLMMuidLikelihood.h.

76 {
78 }

◆ getProtonPDFValue()

double getProtonPDFValue ( ) const
inline

Get the normalized PDF for the proton hypothesis.

Definition at line 91 of file KLMMuidLikelihood.h.

92 {
94 }

◆ 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.

279 {
281 T::Class(), name, namedRelation).object);
282 }
@ c_BothSides
Combination of c_FromSide and c_ToSide.
Definition: DataStore.h:79
Belle2::RelationEntry getRelationWith(ESearchSide searchSide, const TObject *object, StoreEntry *&entry, int &index, const TClass *withClass, const std::string &withName, const std::string &namedRelation)
Get the first relation between an object and another object in a store array.
Definition: DataStore.cc:597
TObject * object
Pointer to the object.
Definition: RelationEntry.h:32

◆ 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.

264 {
266 m_cacheArrayIndex, FROM::Class(), name, namedRelation).object);
267 }
@ c_FromSide
Return relations/objects pointed from (to a given object).
Definition: DataStore.h:77

◆ 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.

316 {
318 FROM::Class(), name, namedRelation);
319 return std::make_pair(static_cast<FROM*>(entry.object), entry.weight);
320 }

◆ 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.

249 {
251 TO::Class(), name, namedRelation).object);
252 }
@ c_ToSide
Return relations/objects pointed to (from a given object).
Definition: DataStore.h:78

◆ 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.

299 {
301 TO::Class(), name, namedRelation);
302 return std::make_pair(static_cast<TO*>(entry.object), entry.weight);
303 }

◆ 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.

333 {
335 T::Class(), name, namedRelation);
336 return std::make_pair(static_cast<T*>(entry.object), entry.weight);
337 }

◆ 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.

214 {
216 m_cacheArrayIndex, FROM::Class(), name, namedRelation));
217 }
RelationVector< T > getRelationsWith(const std::string &name="", const std::string &namedRelation="") const
Get the relations between this object and another store array.

◆ 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.

198 {
200 m_cacheArrayIndex, TO::Class(), name, namedRelation));
201 }

◆ 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.

231 {
233 m_cacheArrayIndex, T::Class(), name, namedRelation));
234 }

◆ getTotalBarrelHits()

unsigned int getTotalBarrelHits ( ) const

Get the total number of crossed BKLM layers.

Definition at line 57 of file KLMMuidLikelihood.cc.

58{
59 unsigned int hits = 0;
60 unsigned int pattern = m_HitLayerPattern;
61 for (int bit = 0; bit < BKLMElementNumbers::getMaximalLayerNumber(); ++bit) {
62 if (pattern & (1 << bit)) {
63 hits++;
64 }
65 }
66 return hits;
67}

◆ getTotalEndcapHits()

unsigned int getTotalEndcapHits ( ) const

Get the total number of crossed EKLM layers.

Definition at line 69 of file KLMMuidLikelihood.cc.

70{
71 unsigned int hits = 0;
72 unsigned int pattern = m_HitLayerPattern;
75 if (pattern & (1 << bit)) {
76 hits++;
77 }
78 }
79 return hits;
80}

◆ 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};

◆ 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.

90{
91 if ((layer < 0) || (layer >= EKLMElementNumbers::getMaximalLayerNumber()))
92 return false;
94};

◆ 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.

492 {
493 m_BarrelExtLayer = layer;
494 }

◆ 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.

519 {
520 m_BarrelHitLayer = layer;
521 }

◆ 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.

454 {
455 m_ChiSquared = chiSquared;
456 }

◆ 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.

463 {
464 m_DegreesOfFreedom = dof;
465 }

◆ 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.

363 {
365 }
void setPDFValue(double pdfValue, int pdg)
Set the normalized PDF.

◆ 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.

372 {
374 }

◆ 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.

501 {
502 m_EndcapExtLayer = layer;
503 }

◆ 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.

528 {
529 m_EndcapHitLayer = layer;
530 }

◆ 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.

565 {
566 m_ExtBKLMEfficiencyValue[layer] = efficiency;
567 }

◆ 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.

575 {
576 m_ExtEKLMEfficiencyValue[layer] = efficiency;
577 }

◆ 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.

510 {
511 m_ExtLayer = layer;
512 }

◆ 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.

546 {
547 m_ExtLayerPattern = pattern;
548 }

◆ 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.

537 {
538 m_HitLayer = layer;
539 }

◆ 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.

555 {
556 m_HitLayerPattern = pattern;
557 }

◆ 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.

483 {
485 }
bool isForward(int cellId)
Check whether the crystal is in forward ECL.

◆ 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.

381 {
382 m_JunkPDFValue = flag;
383 }

◆ 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.

345 {
347 }

◆ 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.

391 {
392 m_LogL[Const::ChargedStable(pdg).getIndex()] = logL;
393 }

◆ 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.

436 {
438 }
void setLogL(double logL, int pdg)
Set the log-likelihood.

◆ 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.

445 {
447 }

◆ 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.

418 {
420 }

◆ 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.

400 {
402 }

◆ 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.

427 {
429 }

◆ 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.

409 {
411 }

◆ 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.

327 {
329 }

◆ 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.

474 {
475 m_Outcome = outcome;
476 }

◆ 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.

318 {
319 m_PDFValue[Const::ChargedStable(pdg).getIndex()] = pdfValue;
320 }

◆ 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.

308 {
309 m_PDGCode = pdg;
310 }

◆ 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.

336 {
338 }

◆ 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.

354 {
356 }

Member Data Documentation

◆ m_BarrelExtLayer

int m_BarrelExtLayer
private

Outermost BKLM layer crossed in the extrapolation.

Definition at line 618 of file KLMMuidLikelihood.h.

◆ m_BarrelHitLayer

int m_BarrelHitLayer
private

Outermost BKLM layer actually crossed by the track.

Definition at line 627 of file KLMMuidLikelihood.h.

◆ m_cacheArrayIndex

int m_cacheArrayIndex
mutableprivateinherited

Cache of the index in the TClonesArray to which this object belongs.

Definition at line 432 of file RelationsObject.h.

◆ m_cacheDataStoreEntry

DataStore::StoreEntry* m_cacheDataStoreEntry
mutableprivateinherited

Cache of the data store entry to which this object belongs.

Definition at line 429 of file RelationsObject.h.

◆ m_ChiSquared

float m_ChiSquared
private

Chi-squared of the extrapolation.

Definition at line 606 of file KLMMuidLikelihood.h.

◆ m_DegreesOfFreedom

int m_DegreesOfFreedom
private

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

Definition at line 609 of file KLMMuidLikelihood.h.

◆ m_EndcapExtLayer

int m_EndcapExtLayer
private

Outermost EKLM layer crossed in the extrapolation.

Definition at line 621 of file KLMMuidLikelihood.h.

◆ m_EndcapHitLayer

int m_EndcapHitLayer
private

Outermost EKLM layer actually crossed by the track.

Definition at line 630 of file KLMMuidLikelihood.h.

◆ m_ExtBKLMEfficiencyValue

float m_ExtBKLMEfficiencyValue[BKLMElementNumbers::getMaximalLayerNumber()]
private

Array of BKLM layer efficiencies.

Definition at line 648 of file KLMMuidLikelihood.h.

◆ m_ExtEKLMEfficiencyValue

float m_ExtEKLMEfficiencyValue[EKLMElementNumbers::getMaximalLayerNumber()]
private

Array of EKLM layer efficiencies.

Definition at line 651 of file KLMMuidLikelihood.h.

◆ m_ExtLayer

int m_ExtLayer
private

Outermost KLM layer crossed in the extrapolation.

Definition at line 624 of file KLMMuidLikelihood.h.

◆ m_ExtLayerPattern

unsigned int m_ExtLayerPattern
private

Pattern of the layers crossed in the extrapolation (bits 0..14 = BKLM layers 1..15, bits 15..28 = EKLM layers 1..14).

Definition at line 639 of file KLMMuidLikelihood.h.

◆ m_HitLayer

int m_HitLayer
private

Outermost KLM layer actually crossed by the track.

Definition at line 633 of file KLMMuidLikelihood.h.

◆ m_HitLayerPattern

unsigned int m_HitLayerPattern
private

Pattern of the layers actually crossed by the track (bits 0..14 = BKLM layers 1..15, bits 15..28 = EKLM layers 1..14).

Definition at line 645 of file KLMMuidLikelihood.h.

◆ m_IsForward

bool m_IsForward
private

Flag to determine if this extrapolation is in forward or backward B/EKLM.

Definition at line 615 of file KLMMuidLikelihood.h.

◆ m_JunkPDFValue

bool m_JunkPDFValue
private

Junk flag (1 if junk, 0 if not).

Definition at line 600 of file KLMMuidLikelihood.h.

◆ m_LogL

float m_LogL[Const::ChargedStable::c_SetSize]
private

Array of log-likelihoods.

Definition at line 603 of file KLMMuidLikelihood.h.

◆ m_Outcome

unsigned int m_Outcome
private

Outcome of this extrapolation.

Definition at line 612 of file KLMMuidLikelihood.h.

◆ m_PDFValue

float m_PDFValue[Const::ChargedStable::c_SetSize]
private

Array of normalized PDFs.

Definition at line 597 of file KLMMuidLikelihood.h.

◆ m_PDGCode

int m_PDGCode
private

PDG code of the particle hypothesis used during the extrapolation.

Definition at line 594 of file KLMMuidLikelihood.h.


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