CbmRoot
Loading...
Searching...
No Matches
cbm::algo::kfp::V0FinderQa Class Reference

A QA-task for the V0-finding algorithm. More...

#include <KfpV0FinderQa.h>

Inheritance diagram for cbm::algo::kfp::V0FinderQa:
[legend]
Collaboration diagram for cbm::algo::kfp::V0FinderQa:
[legend]

Public Member Functions

 V0FinderQa (const std::unique_ptr< qa::Manager > &pManager, std::string_view name)
 Constructor.
 
 V0FinderQa (const V0FinderQa &)=delete
 Copy constructor.
 
 V0FinderQa (V0FinderQa &&)=delete
 Move constructor.
 
V0FinderQaoperator= (const V0FinderQa &)=delete
 Copy assignment operator.
 
V0FinderQaoperator= (V0FinderQa &&)=delete
 Move assignment operator.
 
void Exec (const RecoResults &recoEvent, const V0Finder &v0Finder)
 Executes the task, fills the histograms.
 
void Init ()
 Initialized the task.
 
bool IsActive () const
 Checks, if the task is active.
 
const std::string & GetTaskName ()
 Gets name of the task.
 

Protected Member Functions

void AddCanvasConfig (const CanvasConfig &canvas)
 Adds a canvas configuration.
 
template<class Obj , typename... Args>
Obj * MakeObj (Args... args)
 Creates a QA-object and returns the pointer to it.
 

Private Attributes

qa::H1DfvphMassLambdaCand {nullptr}
 Mass of Lambda-candidates.
 
qa::H1DfvphMassAll {nullptr}
 Mass of all particles in the topology.
 
qa::H1DfvphDcaAll {nullptr}
 DCA of particles to origin.
 
qa::H1DfvphBetaAll {nullptr}
 Speed of all particles.
 
qa::H1DfvphBetaPion {nullptr}
 Speed of pion-candidates.
 
qa::H1DfvphBetaProton {nullptr}
 Speed of proton-candidates.
 
qa::H1DfvphMomAll {nullptr}
 Speed of all particles.
 
qa::H1DfvphMomPion {nullptr}
 Speed of pion-candidates.
 
qa::H1DfvphMomProton {nullptr}
 Speed of proton-candidates.
 
std::string fsName {}
 Name of the task.
 
std::shared_ptr< Data > fpData {nullptr}
 An instance of the QA data (shared between different tasks)
 

Static Private Attributes

static constexpr int kMassB = 200
 Lambda-candidate mass: number of bins.
 
static constexpr double kMassL = 1.08
 Lambda-candidate mass: lower bound [GeV/c2].
 
static constexpr double kMassU = 1.18
 Lambda-candidate mass: upper bound [GeV/c2].
 
static constexpr int kDcaB = 240
 DCA to origin: number of bins.
 
static constexpr double kDcaL = 0.
 DCA to origin: lower bound [cm].
 
static constexpr double kDcaU = 12.
 DCA to origin: upper bound [cm].
 
static constexpr int kBetaB = 240
 Speed of particle: number of bins.
 
static constexpr double kBetaL = 0.
 Speed of particle: lower bound [c].
 
static constexpr double kBetaU = 1.2
 Speed of particle: upper bound [c].
 

Detailed Description

A QA-task for the V0-finding algorithm.

Definition at line 34 of file KfpV0FinderQa.h.

Constructor & Destructor Documentation

◆ V0FinderQa() [1/3]

cbm::algo::kfp::V0FinderQa::V0FinderQa ( const std::unique_ptr< qa::Manager > & pManager,
std::string_view name )
inline

Constructor.

Parameters
pManagerPointer to the QA manager
nameName of the QA

Definition at line 39 of file KfpV0FinderQa.h.

◆ V0FinderQa() [2/3]

cbm::algo::kfp::V0FinderQa::V0FinderQa ( const V0FinderQa & )
delete

Copy constructor.

◆ V0FinderQa() [3/3]

cbm::algo::kfp::V0FinderQa::V0FinderQa ( V0FinderQa && )
delete

Move constructor.

Member Function Documentation

◆ AddCanvasConfig()

void cbm::algo::qa::TaskHeader::AddCanvasConfig ( const CanvasConfig & canvas)
inlineprotectedinherited

◆ Exec()

◆ GetTaskName()

const std::string & cbm::algo::qa::TaskHeader::GetTaskName ( )
inlineinherited

◆ Init()

◆ IsActive()

bool cbm::algo::qa::TaskHeader::IsActive ( ) const
inlineinherited

Checks, if the task is active.

The task can be inactive, if a nullptr qa::Manager was passed to the constructor. If it is the case, the fpData instance is not defined, and no actions on the task should be performed

Definition at line 54 of file QaTaskHeader.h.

References cbm::algo::qa::TaskHeader::fpData.

Referenced by cbm::algo::bmon::HitfindQa::Exec(), cbm::algo::ca::Qa::Exec(), cbm::algo::tof::HitfindQa::Exec(), cbm::algo::bmon::HitfindQa::Init(), cbm::algo::ca::Qa::Init(), cbm::algo::tof::HitfindQa::Init(), cbm::algo::TrackingChain::Init(), and cbm::algo::TrackingChain::PrepareOutput().

◆ MakeObj()

template<class Obj , typename... Args>
Obj * cbm::algo::qa::TaskHeader::MakeObj ( Args... args)
inlineprotectedinherited

Creates a QA-object and returns the pointer to it.

Template Parameters
ObjA type of the histogram (H1D, H2D, Prof1D, Prof2D)
Args...A signature of the histogram constructor
Parameters
argsParameters, passed to a histogram constructor

Definition at line 69 of file QaTaskHeader.h.

References cbm::algo::qa::TaskHeader::fpData.

Referenced by cbm::algo::bmon::HitfindQa::Init(), cbm::algo::ca::Qa::Init(), cbm::algo::evbuild::V0TriggerQa::Init(), Init(), and cbm::algo::tof::HitfindQa::Init().

◆ operator=() [1/2]

V0FinderQa & cbm::algo::kfp::V0FinderQa::operator= ( const V0FinderQa & )
delete

Copy assignment operator.

◆ operator=() [2/2]

V0FinderQa & cbm::algo::kfp::V0FinderQa::operator= ( V0FinderQa && )
delete

Move assignment operator.

Member Data Documentation

◆ fpData

std::shared_ptr<Data> cbm::algo::qa::TaskHeader::fpData {nullptr}
privateinherited

An instance of the QA data (shared between different tasks)

Definition at line 76 of file QaTaskHeader.h.

Referenced by cbm::algo::qa::TaskHeader::AddCanvasConfig(), cbm::algo::qa::TaskHeader::IsActive(), cbm::algo::qa::TaskHeader::MakeObj(), and cbm::algo::qa::TaskHeader::TaskHeader().

◆ fsName

std::string cbm::algo::qa::TaskHeader::fsName {}
privateinherited

Name of the task.

Definition at line 75 of file QaTaskHeader.h.

Referenced by cbm::algo::qa::TaskHeader::GetTaskName().

◆ fvphBetaAll

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphBetaAll {nullptr}
private

Speed of all particles.

Definition at line 77 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphBetaPion

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphBetaPion {nullptr}
private

Speed of pion-candidates.

Definition at line 78 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphBetaProton

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphBetaProton {nullptr}
private

Speed of proton-candidates.

Definition at line 79 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphDcaAll

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphDcaAll {nullptr}
private

DCA of particles to origin.

Definition at line 76 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphMassAll

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphMassAll {nullptr}
private

Mass of all particles in the topology.

Definition at line 75 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphMassLambdaCand

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphMassLambdaCand {nullptr}
private

Mass of Lambda-candidates.

Definition at line 74 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphMomAll

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphMomAll {nullptr}
private

Speed of all particles.

Definition at line 80 of file KfpV0FinderQa.h.

Referenced by Init().

◆ fvphMomPion

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphMomPion {nullptr}
private

Speed of pion-candidates.

Definition at line 81 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ fvphMomProton

qa::H1D* cbm::algo::kfp::V0FinderQa::fvphMomProton {nullptr}
private

Speed of proton-candidates.

Definition at line 82 of file KfpV0FinderQa.h.

Referenced by Exec(), and Init().

◆ kBetaB

int cbm::algo::kfp::V0FinderQa::kBetaB = 240
staticconstexprprivate

Speed of particle: number of bins.

Definition at line 69 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kBetaL

double cbm::algo::kfp::V0FinderQa::kBetaL = 0.
staticconstexprprivate

Speed of particle: lower bound [c].

Definition at line 70 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kBetaU

double cbm::algo::kfp::V0FinderQa::kBetaU = 1.2
staticconstexprprivate

Speed of particle: upper bound [c].

Definition at line 71 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kDcaB

int cbm::algo::kfp::V0FinderQa::kDcaB = 240
staticconstexprprivate

DCA to origin: number of bins.

Definition at line 66 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kDcaL

double cbm::algo::kfp::V0FinderQa::kDcaL = 0.
staticconstexprprivate

DCA to origin: lower bound [cm].

Definition at line 67 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kDcaU

double cbm::algo::kfp::V0FinderQa::kDcaU = 12.
staticconstexprprivate

DCA to origin: upper bound [cm].

Definition at line 68 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kMassB

int cbm::algo::kfp::V0FinderQa::kMassB = 200
staticconstexprprivate

Lambda-candidate mass: number of bins.

Definition at line 63 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kMassL

double cbm::algo::kfp::V0FinderQa::kMassL = 1.08
staticconstexprprivate

Lambda-candidate mass: lower bound [GeV/c2].

Definition at line 64 of file KfpV0FinderQa.h.

Referenced by Init().

◆ kMassU

double cbm::algo::kfp::V0FinderQa::kMassU = 1.18
staticconstexprprivate

Lambda-candidate mass: upper bound [GeV/c2].

Definition at line 65 of file KfpV0FinderQa.h.

Referenced by Init().


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