CbmRoot
Loading...
Searching...
No Matches
cbm::algo::evbuild::V0TriggerQa Class Reference

A QA module for the V0-trigger. More...

#include <V0TriggerQa.h>

Inheritance diagram for cbm::algo::evbuild::V0TriggerQa:
[legend]
Collaboration diagram for cbm::algo::evbuild::V0TriggerQa:
[legend]

Public Member Functions

 V0TriggerQa (const std::unique_ptr< qa::Manager > &pManager)
 Constructor.
 
 V0TriggerQa (const V0TriggerQa &)=delete
 Copy constructor.
 
 V0TriggerQa (V0TriggerQa &&)=delete
 Move constructor.
 
 ~V0TriggerQa ()=default
 Destructor.
 
V0TriggerQaoperator= (const V0TriggerQa &)=delete
 Copy assignment operator.
 
V0TriggerQaoperator= (V0TriggerQa &&)=delete
 Move assignment operator.
 
void Init ()
 Initializes 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::H1DfphPairDeltaT {nullptr}
 Track pair delta T.
 
qa::H1DfphPairZVertex {nullptr}
 Track pair z-vertex.
 
qa::H1DfphPairDca {nullptr}
 Track pair distance at closest approach.
 
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 kPairDeltaTB {100}
 Track pair time difference: n bins.
 
static constexpr double kPairDeltaTL {-50.}
 Track pair time difference: lower bound [ns].
 
static constexpr double kPairDeltaTU {+50.}
 Track pair time difference: upper bound [ns].
 
static constexpr int kPairZVertexB {120}
 Track pair z vertex: n bins.
 
static constexpr double kPairZVertexL {-60.}
 Track pair z vertex: lower bound [cm].
 
static constexpr double kPairZVertexU {+60.}
 Track pair z vertex: upper bound [cm].
 
static constexpr int kPairDcaB {300}
 Track pair DCA: n bins.
 
static constexpr double kPairDcaL {-0.5}
 Track pair DCA: lower bound [cm].
 
static constexpr double kPairDcaU {+5.5}
 Track pair DCA: upper bound [cm].
 

Friends

class V0Trigger
 

Detailed Description

A QA module for the V0-trigger.

Definition at line 24 of file V0TriggerQa.h.

Constructor & Destructor Documentation

◆ V0TriggerQa() [1/3]

cbm::algo::evbuild::V0TriggerQa::V0TriggerQa ( const std::unique_ptr< qa::Manager > & pManager)
inline

Constructor.

Parameters
pManagerPointer to the QA manager
nameName of the QA (directory)

Definition at line 31 of file V0TriggerQa.h.

◆ V0TriggerQa() [2/3]

cbm::algo::evbuild::V0TriggerQa::V0TriggerQa ( const V0TriggerQa & )
delete

Copy constructor.

◆ V0TriggerQa() [3/3]

cbm::algo::evbuild::V0TriggerQa::V0TriggerQa ( V0TriggerQa && )
delete

Move constructor.

◆ ~V0TriggerQa()

cbm::algo::evbuild::V0TriggerQa::~V0TriggerQa ( )
default

Destructor.

Member Function Documentation

◆ AddCanvasConfig()

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

◆ 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(), Init(), cbm::algo::kfp::V0FinderQa::Init(), and cbm::algo::tof::HitfindQa::Init().

◆ operator=() [1/2]

V0TriggerQa & cbm::algo::evbuild::V0TriggerQa::operator= ( const V0TriggerQa & )
delete

Copy assignment operator.

◆ operator=() [2/2]

V0TriggerQa & cbm::algo::evbuild::V0TriggerQa::operator= ( V0TriggerQa && )
delete

Move assignment operator.

Friends And Related Symbol Documentation

◆ V0Trigger

friend class V0Trigger
friend

Definition at line 26 of file V0TriggerQa.h.

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().

◆ fphPairDca

qa::H1D* cbm::algo::evbuild::V0TriggerQa::fphPairDca {nullptr}
private

Track pair distance at closest approach.

Definition at line 66 of file V0TriggerQa.h.

Referenced by Init().

◆ fphPairDeltaT

qa::H1D* cbm::algo::evbuild::V0TriggerQa::fphPairDeltaT {nullptr}
private

Track pair delta T.

Definition at line 64 of file V0TriggerQa.h.

Referenced by Init().

◆ fphPairZVertex

qa::H1D* cbm::algo::evbuild::V0TriggerQa::fphPairZVertex {nullptr}
private

Track pair z-vertex.

Definition at line 65 of file V0TriggerQa.h.

Referenced by Init().

◆ 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().

◆ kPairDcaB

int cbm::algo::evbuild::V0TriggerQa::kPairDcaB {300}
staticconstexprprivate

Track pair DCA: n bins.

Definition at line 59 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairDcaL

double cbm::algo::evbuild::V0TriggerQa::kPairDcaL {-0.5}
staticconstexprprivate

Track pair DCA: lower bound [cm].

Definition at line 60 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairDcaU

double cbm::algo::evbuild::V0TriggerQa::kPairDcaU {+5.5}
staticconstexprprivate

Track pair DCA: upper bound [cm].

Definition at line 61 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairDeltaTB

int cbm::algo::evbuild::V0TriggerQa::kPairDeltaTB {100}
staticconstexprprivate

Track pair time difference: n bins.

Definition at line 53 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairDeltaTL

double cbm::algo::evbuild::V0TriggerQa::kPairDeltaTL {-50.}
staticconstexprprivate

Track pair time difference: lower bound [ns].

Definition at line 54 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairDeltaTU

double cbm::algo::evbuild::V0TriggerQa::kPairDeltaTU {+50.}
staticconstexprprivate

Track pair time difference: upper bound [ns].

Definition at line 55 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairZVertexB

int cbm::algo::evbuild::V0TriggerQa::kPairZVertexB {120}
staticconstexprprivate

Track pair z vertex: n bins.

Definition at line 56 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairZVertexL

double cbm::algo::evbuild::V0TriggerQa::kPairZVertexL {-60.}
staticconstexprprivate

Track pair z vertex: lower bound [cm].

Definition at line 57 of file V0TriggerQa.h.

Referenced by Init().

◆ kPairZVertexU

double cbm::algo::evbuild::V0TriggerQa::kPairZVertexU {+60.}
staticconstexprprivate

Track pair z vertex: upper bound [cm].

Definition at line 58 of file V0TriggerQa.h.

Referenced by Init().


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