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

#include <SVertexHypothesis.h>

Public Types

enum  PIDParams {
  SigmaM , NSigmaM , MarginM , NSigmaTightM ,
  MarginTightM , CPt , CPt1 , CPt2 ,
  CPt3
}
 
using PID = o2::track::PID
 

Public Member Functions

void set (PID v0, PID ppos, PID pneg, float sig, float nSig, float margin, float nSigTight, float marginTight, float cpt, float cpt1, float cpt2, float cpt3, float bz=0.f, float maxSigma=0.01)
 
void set (PID v0, PID ppos, PID pneg, const float pars[NPIDParams], float bz=0.f, float maxSigma=0.01)
 
float getMassV0Hyp () const
 
float getMassPosProng () const
 
float getMassNegProng () const
 
float calcMass2 (float p2Pos, float p2Neg, float p2V0) const
 
float calcMass (float p2Pos, float p2Neg, float p2V0) const
 
bool check (float p2Pos, float p2Neg, float p2V0, float ptV0) const
 
bool check (float mass, float pt) const
 
bool checkTight (float p2Pos, float p2Neg, float p2V0, float ptV0) const
 
bool checkTight (float mass, float pt) const
 
float getSigmaV0Cascade (float pt) const
 
float getSigma (float pt) const
 
float getMargin (float pt, bool tight=false) const
 
float getMarginTight (float pt) const
 
 ClassDefNV (SVertexHypothesis, 2)
 

Public Attributes

std::array< float, NPIDParamsmPars {}
 
float maxSigma
 

Static Public Attributes

static constexpr int NPIDParams = 9
 

Detailed Description

Definition at line 28 of file SVertexHypothesis.h.

Member Typedef Documentation

◆ PID

Member Enumeration Documentation

◆ PIDParams

Enumerator
SigmaM 
NSigmaM 
MarginM 
NSigmaTightM 
MarginTightM 
CPt 
CPt1 
CPt2 
CPt3 

Definition at line 33 of file SVertexHypothesis.h.

Member Function Documentation

◆ calcMass()

float o2::vertexing::SVertexHypothesis::calcMass ( float  p2Pos,
float  p2Neg,
float  p2V0 
) const
inline

Definition at line 59 of file SVertexHypothesis.h.

◆ calcMass2()

float o2::vertexing::SVertexHypothesis::calcMass2 ( float  p2Pos,
float  p2Neg,
float  p2V0 
) const
inline

Definition at line 52 of file SVertexHypothesis.h.

◆ check() [1/2]

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

Definition at line 65 of file SVertexHypothesis.h.

◆ check() [2/2]

bool o2::vertexing::SVertexHypothesis::check ( float  p2Pos,
float  p2Neg,
float  p2V0,
float  ptV0 
) const
inline

Definition at line 61 of file SVertexHypothesis.h.

◆ checkTight() [1/2]

bool o2::vertexing::SVertexHypothesis::checkTight ( float  mass,
float  pt 
) const
inline

Definition at line 74 of file SVertexHypothesis.h.

◆ checkTight() [2/2]

bool o2::vertexing::SVertexHypothesis::checkTight ( float  p2Pos,
float  p2Neg,
float  p2V0,
float  ptV0 
) const
inline

Definition at line 70 of file SVertexHypothesis.h.

◆ ClassDefNV()

o2::vertexing::SVertexHypothesis::ClassDefNV ( SVertexHypothesis  ,
 
)

◆ getMargin()

float o2::vertexing::SVertexHypothesis::getMargin ( float  pt,
bool  tight = false 
) const
inline

Definition at line 81 of file SVertexHypothesis.h.

◆ getMarginTight()

float o2::vertexing::SVertexHypothesis::getMarginTight ( float  pt) const
inline

Definition at line 102 of file SVertexHypothesis.h.

◆ getMassNegProng()

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

Definition at line 50 of file SVertexHypothesis.h.

◆ getMassPosProng()

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

Definition at line 49 of file SVertexHypothesis.h.

◆ getMassV0Hyp()

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

Definition at line 48 of file SVertexHypothesis.h.

◆ getSigma()

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

Definition at line 80 of file SVertexHypothesis.h.

◆ getSigmaV0Cascade()

float o2::vertexing::SVertexHypothesis::getSigmaV0Cascade ( float  pt) const
inline

Definition at line 79 of file SVertexHypothesis.h.

◆ set() [1/2]

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

Definition at line 41 of file SVertexHypothesis.cxx.

◆ set() [2/2]

void SVertexHypothesis::set ( PID  v0,
PID  ppos,
PID  pneg,
float  sig,
float  nSig,
float  margin,
float  nSigTight,
float  marginTight,
float  cpt,
float  cpt1,
float  cpt2,
float  cpt3,
float  bz = 0.f,
float  maxSigma = 0.01 
)

Definition at line 20 of file SVertexHypothesis.cxx.

Member Data Documentation

◆ maxSigma

float o2::vertexing::SVertexHypothesis::maxSigma

Definition at line 114 of file SVertexHypothesis.h.

◆ mPars

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

Definition at line 113 of file SVertexHypothesis.h.

◆ NPIDParams

constexpr int o2::vertexing::SVertexHypothesis::NPIDParams = 9
staticconstexpr

Definition at line 43 of file SVertexHypothesis.h.


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