|
CbmRoot
|
A collection of cuts for V0 production analysis in mCBM. More...
#include <KfpV0FinderCutter.h>
Classes | |
| struct | CutValues |
| struct | DaughterCuts |
| Daughter cuts. More... | |
| struct | DaughterProperty |
| struct | KfpFinderCuts |
| struct | ParticleCuts |
| struct | ParticleProperty |
| struct | TrackCuts |
| Cuts for tracks on pre-selection stage. More... | |
| struct | TrackPidCuts |
| Specific track cuts vs. particle ID. More... | |
| struct | TrackProperty |
| Properties of a track to perform track pre-selection. More... | |
Public Types | |
| template<typename T> | |
| using | Range_t = std::array<T, 2> |
| A range: [0] – min, [1] – max. | |
Public Member Functions | |
| V0FinderCutter ()=default | |
| Default constructor. | |
| V0FinderCutter (const std::string &filename) | |
| Constructor from path to the parameter file. | |
| V0FinderCutter (const V0FinderCutter &)=default | |
| Copy constructor. | |
| V0FinderCutter (V0FinderCutter &&)=default | |
| Move constructor. | |
| ~V0FinderCutter ()=default | |
| Destructor. | |
| V0FinderCutter & | operator= (const V0FinderCutter &)=default |
| Copy assignment operator. | |
| V0FinderCutter & | operator= (V0FinderCutter &&)=default |
| Move assignment operator. | |
| void | ApplyCutsToKFParticleFinder (KFParticleFinder *pFinder) const |
| Applies cuts to the KFParticleFinder instance. | |
| void | ReadCutsFromYaml (const std::string &filename) |
| Reads parameters from the YAML config. | |
| bool | SelectParticle (const ParticleProperty &particleProperty) const |
| Selects a particle within the cuts (after the KFParticleFinder stage) | |
| bool | SelectTrack (const TrackProperty &trackProperty) const |
| Selects a track (to pass it to the KFParticleFinder stage) | |
| void | SetCuts (const CutValues &cuts) |
| Sets the cuts. | |
| std::string | ToString () const |
| String representation of the class. | |
Static Public Member Functions | |
| static constexpr int | GetV0Pdg () |
| Gets the PDG code for V0. | |
Private Attributes | |
| CutValues | fCuts |
| Cut values of the analysis. | |
| std::string | fsName {""} |
| Name of the cuts (for logs etc.) | |
A collection of cuts for V0 production analysis in mCBM.
| V0PdgCode | A PDG code of the V0 particle |
Definition at line 33 of file KfpV0FinderCutter.h.
| using cbm::algo::kfp::V0FinderCutter< V0Type >::Range_t = std::array<T, 2> |
A range: [0] – min, [1] – max.
Definition at line 36 of file KfpV0FinderCutter.h.
|
default |
Default constructor.
| V0FinderCutter::V0FinderCutter | ( | const std::string & | filename | ) |
Constructor from path to the parameter file.
| filename | Name of the config file |
Definition at line 25 of file KfpV0FinderCutter.cxx.
References fCuts.
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
Destructor.
| void V0FinderCutter::ApplyCutsToKFParticleFinder | ( | KFParticleFinder * | pFinder | ) | const |
Applies cuts to the KFParticleFinder instance.
| pFinder | A pointer to KFParticleFinder instance |
Definition at line 34 of file KfpV0FinderCutter.cxx.
References fCuts.
|
inlinestaticconstexpr |
Gets the PDG code for V0.
Definition at line 208 of file KfpV0FinderCutter.h.
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
| void V0FinderCutter::ReadCutsFromYaml | ( | const std::string & | filename | ) |
Reads parameters from the YAML config.
| filename | Name of the YAML config |
Definition at line 46 of file KfpV0FinderCutter.cxx.
References fCuts, and cbm::util::yaml::ReadFromFile().
| bool V0FinderCutter::SelectParticle | ( | const ParticleProperty & | particleProperty | ) | const |
Selects a particle within the cuts (after the KFParticleFinder stage)
| trackProperty | Input for particle properties |
Definition at line 55 of file KfpV0FinderCutter.cxx.
References cbm::algo::kfp::V0FinderCutter< V0Type >::DaughterProperty::beta, and cbm::algo::kfp::V0FinderCutter< V0Type >::DaughterProperty::dcaRelToOrigin.
| bool V0FinderCutter::SelectTrack | ( | const TrackProperty & | trackProperty | ) | const |
Selects a track (to pass it to the KFParticleFinder stage)
| trackProperty | Input for track properties |
Definition at line 81 of file KfpV0FinderCutter.cxx.
References cbm::algo::kfp::V0FinderCutter< V0Type >::TrackProperty::beta, cbm::algo::kfp::V0FinderCutter< V0Type >::TrackProperty::dcaRelToOrigin, fCuts, cbm::algo::kfp::V0FinderCutter< V0Type >::TrackProperty::pid, and cbm::algo::kfp::Undef.
Sets the cuts.
| cuts | Cut values |
Definition at line 115 of file KfpV0FinderCutter.cxx.
References fCuts.
| std::string V0FinderCutter::ToString | ( | ) | const |
String representation of the class.
Definition at line 125 of file KfpV0FinderCutter.cxx.
References fCuts, cbm::algo::kfp::Lambda, cbm::algo::kfp::ToString(), and cbm::algo::kfp::Undef.
|
private |
Cut values of the analysis.
Definition at line 219 of file KfpV0FinderCutter.h.
Referenced by ApplyCutsToKFParticleFinder(), ReadCutsFromYaml(), SelectTrack(), SetCuts(), ToString(), and V0FinderCutter().
|
private |
Name of the cuts (for logs etc.)
Definition at line 220 of file KfpV0FinderCutter.h.