CbmRoot
Loading...
Searching...
No Matches
V0TriggerQa Class Reference

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

#include <V0TriggerQa.h>

Inheritance diagram for V0TriggerQa:
[legend]
Collaboration diagram for 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::H1D * fphPairDeltaT {nullptr}
 Track pair delta T.
 
qa::H1D * fphPairZVertex {nullptr}
 Track pair z-vertex.
 
qa::H1D * fphPairDca {nullptr}
 Track pair distance at closest approach.
 
qa::H1D * fphSelPairDeltaT {nullptr}
 Track selected pairs delta T (pass all cuts)
 
qa::H1D * fphSelPairZVertex {nullptr}
 Track selected pairs z-vertex (pass all cuts)
 
qa::H1D * fphSelPairDca {nullptr}
 Track selected pairs distance at closest approach (pass all cuts)
 
std::string fsName {}
 Name of the task.
 
std::shared_ptr< DatafpData {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()

void V0TriggerQa::Init ( )

Initializes the task.

Definition at line 18 of file V0TriggerQa.cxx.

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

◆ 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 fpData.

Referenced by cbm::algo::bmon::HitfindQa::Init(), cbm::algo::ca::Qa::Init(), cbm::algo::evbuild::V0TriggerQa::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 AddCanvasConfig(), IsActive(), MakeObj(), and 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.

◆ fphPairDeltaT

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

Track pair delta T.

Definition at line 64 of file V0TriggerQa.h.

◆ fphPairZVertex

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

Track pair z-vertex.

Definition at line 65 of file V0TriggerQa.h.

◆ fphSelPairDca

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

Track selected pairs distance at closest approach (pass all cuts)

Definition at line 69 of file V0TriggerQa.h.

◆ fphSelPairDeltaT

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

Track selected pairs delta T (pass all cuts)

Definition at line 67 of file V0TriggerQa.h.

◆ fphSelPairZVertex

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

Track selected pairs z-vertex (pass all cuts)

Definition at line 68 of file V0TriggerQa.h.

◆ fsName

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

Name of the task.

Definition at line 75 of file QaTaskHeader.h.

Referenced by GetTaskName(), and TaskHeader().

◆ kPairDcaB

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

Track pair DCA: n bins.

Definition at line 59 of file V0TriggerQa.h.

◆ kPairDcaL

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

Track pair DCA: lower bound [cm].

Definition at line 60 of file V0TriggerQa.h.

◆ kPairDcaU

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

Track pair DCA: upper bound [cm].

Definition at line 61 of file V0TriggerQa.h.

◆ kPairDeltaTB

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

Track pair time difference: n bins.

Definition at line 53 of file V0TriggerQa.h.

◆ kPairDeltaTL

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

Track pair time difference: lower bound [ns].

Definition at line 54 of file V0TriggerQa.h.

◆ kPairDeltaTU

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

Track pair time difference: upper bound [ns].

Definition at line 55 of file V0TriggerQa.h.

◆ kPairZVertexB

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

Track pair z vertex: n bins.

Definition at line 56 of file V0TriggerQa.h.

◆ kPairZVertexL

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

Track pair z vertex: lower bound [cm].

Definition at line 57 of file V0TriggerQa.h.

◆ kPairZVertexU

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

Track pair z vertex: upper bound [cm].

Definition at line 58 of file V0TriggerQa.h.


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