Project
Loading...
Searching...
No Matches
o2::vertexing::SVertex3Hypothesis Class Reference

#include <SVertexHypothesis.h>

Public Types

enum  PIDParams { SigmaM , NSigmaM , MarginM , CPt }
 
using PID = o2::track::PID
 

Public Member Functions

void set (PID v0, PID ppos, PID pneg, PID pbach, float sig, float nSig, float margin, float cpt, float bz=0.f)
 
void set (PID v0, PID ppos, PID pneg, PID pbach, const float pars[NPIDParams], float bz=0.f)
 
PID getPIDHyp () const
 
float getMassV0Hyp () const
 
float getMassPosProng () const
 
float getMassNegProng () const
 
float getMassBachProng () const
 
float getChargePosProng () const
 
float getChargeNegProng () const
 
float getChargeBachProng () const
 
float calcMass2 (float p2Pos, float p2Neg, float p2Bach, float p2Tot) const
 
float calcMass (float p2Pos, float p2Neg, float p2Bach, float p2Tot) const
 
bool check (float p2Pos, float p2Neg, float p2Bach, float p2Tot, float ptV0) const
 
bool check (float mass, float pt) const
 
float getSigma (float pt) const
 
float getMargin (float pt) const
 
 ClassDefNV (SVertex3Hypothesis, 1)
 

Public Attributes

std::array< float, NPIDParamsmPars {}
 

Static Public Attributes

static constexpr int NPIDParams = 4
 

Detailed Description

Definition at line 119 of file SVertexHypothesis.h.

Member Typedef Documentation

◆ PID

Member Enumeration Documentation

◆ PIDParams

Enumerator
SigmaM 
NSigmaM 
MarginM 
CPt 

Definition at line 124 of file SVertexHypothesis.h.

Member Function Documentation

◆ calcMass()

float o2::vertexing::SVertex3Hypothesis::calcMass ( float  p2Pos,
float  p2Neg,
float  p2Bach,
float  p2Tot 
) const
inline

Definition at line 150 of file SVertexHypothesis.h.

◆ calcMass2()

float o2::vertexing::SVertex3Hypothesis::calcMass2 ( float  p2Pos,
float  p2Neg,
float  p2Bach,
float  p2Tot 
) const
inline

Definition at line 143 of file SVertexHypothesis.h.

◆ check() [1/2]

bool o2::vertexing::SVertex3Hypothesis::check ( float  mass,
float  pt 
) const
inline

Definition at line 157 of file SVertexHypothesis.h.

◆ check() [2/2]

bool o2::vertexing::SVertex3Hypothesis::check ( float  p2Pos,
float  p2Neg,
float  p2Bach,
float  p2Tot,
float  ptV0 
) const
inline

Definition at line 152 of file SVertexHypothesis.h.

◆ ClassDefNV()

o2::vertexing::SVertex3Hypothesis::ClassDefNV ( SVertex3Hypothesis  ,
 
)

◆ getChargeBachProng()

float o2::vertexing::SVertex3Hypothesis::getChargeBachProng ( ) const
inline

Definition at line 141 of file SVertexHypothesis.h.

◆ getChargeNegProng()

float o2::vertexing::SVertex3Hypothesis::getChargeNegProng ( ) const
inline

Definition at line 140 of file SVertexHypothesis.h.

◆ getChargePosProng()

float o2::vertexing::SVertex3Hypothesis::getChargePosProng ( ) const
inline

Definition at line 139 of file SVertexHypothesis.h.

◆ getMargin()

float o2::vertexing::SVertex3Hypothesis::getMargin ( float  pt) const
inline

Definition at line 163 of file SVertexHypothesis.h.

◆ getMassBachProng()

float o2::vertexing::SVertex3Hypothesis::getMassBachProng ( ) const
inline

Definition at line 138 of file SVertexHypothesis.h.

◆ getMassNegProng()

float o2::vertexing::SVertex3Hypothesis::getMassNegProng ( ) const
inline

Definition at line 137 of file SVertexHypothesis.h.

◆ getMassPosProng()

float o2::vertexing::SVertex3Hypothesis::getMassPosProng ( ) const
inline

Definition at line 136 of file SVertexHypothesis.h.

◆ getMassV0Hyp()

float o2::vertexing::SVertex3Hypothesis::getMassV0Hyp ( ) const
inline

Definition at line 135 of file SVertexHypothesis.h.

◆ getPIDHyp()

PID o2::vertexing::SVertex3Hypothesis::getPIDHyp ( ) const
inline

Definition at line 134 of file SVertexHypothesis.h.

◆ getSigma()

float o2::vertexing::SVertex3Hypothesis::getSigma ( float  pt) const
inline

Definition at line 162 of file SVertexHypothesis.h.

◆ set() [1/2]

void SVertex3Hypothesis::set ( PID  v0,
PID  ppos,
PID  pneg,
PID  pbach,
const float  pars[NPIDParams],
float  bz = 0.f 
)

Definition at line 58 of file SVertexHypothesis.cxx.

◆ set() [2/2]

void SVertex3Hypothesis::set ( PID  v0,
PID  ppos,
PID  pneg,
PID  pbach,
float  sig,
float  nSig,
float  margin,
float  cpt,
float  bz = 0.f 
)

Definition at line 46 of file SVertexHypothesis.cxx.

Member Data Documentation

◆ mPars

std::array<float, NPIDParams> o2::vertexing::SVertex3Hypothesis::mPars {}

Definition at line 176 of file SVertexHypothesis.h.

◆ NPIDParams

constexpr int o2::vertexing::SVertex3Hypothesis::NPIDParams = 4
staticconstexpr

Definition at line 129 of file SVertexHypothesis.h.


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