CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kfp::ParticlePid Struct Reference

PID and pre-selection cuts for a given particle. More...

#include <KfpV0FinderConfig.h>

Public Member Functions

 CBM_YAML_PROPERTIES (yaml::Property(&ParticlePid::pdg, "pdg", "PDG code of the particle"), yaml::Property(&ParticlePid::minDca, "min_dca", "Minimal DCA to PV [cm]"), yaml::Property(&ParticlePid::minVelocity, "min_velocity", "Minimal velocity [cm/ns]"), yaml::Property(&ParticlePid::maxVelocity, "max_velocity", "Maximal velocity [cm/ns]"))
 
std::string ToString () const
 String representation of the structure.
 

Public Attributes

int pdg
 PDG code for particle.
 
double minDca
 Minimal DCA to PV [cm].
 
double minVelocity
 Minimal velocity [cm/ns].
 
double maxVelocity
 Maximal velocity [cm/ns].
 

Detailed Description

PID and pre-selection cuts for a given particle.

Definition at line 39 of file KfpV0FinderConfig.h.

Member Function Documentation

◆ CBM_YAML_PROPERTIES()

cbm::algo::kfp::ParticlePid::CBM_YAML_PROPERTIES ( yaml::Property &::, "", " " particle,
yaml::Property &::, "", " []" cm,
yaml::Property &::, "", " [/]" ns,
yaml::Property &::, "", " [/]" ns )

◆ ToString()

std::string ParticlePid::ToString ( ) const

String representation of the structure.

Definition at line 35 of file KfpV0FinderConfig.cxx.

References maxVelocity, minDca, minVelocity, and pdg.

Member Data Documentation

◆ maxVelocity

double cbm::algo::kfp::ParticlePid::maxVelocity

Maximal velocity [cm/ns].

Definition at line 43 of file KfpV0FinderConfig.h.

Referenced by ToString().

◆ minDca

double cbm::algo::kfp::ParticlePid::minDca

Minimal DCA to PV [cm].

Definition at line 41 of file KfpV0FinderConfig.h.

Referenced by ToString().

◆ minVelocity

double cbm::algo::kfp::ParticlePid::minVelocity

Minimal velocity [cm/ns].

Definition at line 42 of file KfpV0FinderConfig.h.

Referenced by ToString().

◆ pdg

int cbm::algo::kfp::ParticlePid::pdg

PDG code for particle.

Definition at line 40 of file KfpV0FinderConfig.h.

Referenced by ToString().


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