CbmRoot
|
A QA module for the V0-trigger. More...
#include <V0TriggerQa.h>
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. | |
V0TriggerQa & | operator= (const V0TriggerQa &)=delete |
Copy assignment operator. | |
V0TriggerQa & | operator= (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. | |
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 |
A QA module for the V0-trigger.
Definition at line 24 of file V0TriggerQa.h.
|
inline |
Constructor.
pManager | Pointer to the QA manager |
name | Name of the QA (directory) |
Definition at line 31 of file V0TriggerQa.h.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
default |
Destructor.
|
inlineprotectedinherited |
Adds a canvas configuration.
canvas | A CanvasConfig object |
Definition at line 62 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().
|
inlineinherited |
Gets name of the task.
Definition at line 57 of file QaTaskHeader.h.
References cbm::algo::qa::TaskHeader::fsName.
Referenced by cbm::algo::bmon::HitfindQa::Init(), cbm::algo::ca::Qa::Init(), Init(), and cbm::algo::tof::HitfindQa::Init().
void V0TriggerQa::Init | ( | ) |
Initializes the task.
Definition at line 18 of file V0TriggerQa.cxx.
References cbm::algo::qa::TaskHeader::AddCanvasConfig(), fphPairDca, fphPairDeltaT, fphPairZVertex, cbm::algo::qa::TaskHeader::GetTaskName(), kPairDcaB, kPairDcaL, kPairDcaU, kPairDeltaTB, kPairDeltaTL, kPairDeltaTU, kPairZVertexB, kPairZVertexL, kPairZVertexU, and cbm::algo::qa::TaskHeader::MakeObj().
|
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().
|
inlineprotectedinherited |
Creates a QA-object and returns the pointer to it.
Obj | A type of the histogram (H1D, H2D, Prof1D, Prof2D) |
Args... | A signature of the histogram constructor |
args | Parameters, 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().
|
delete |
Copy assignment operator.
|
delete |
Move assignment operator.
|
friend |
Definition at line 26 of file V0TriggerQa.h.
|
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().
|
private |
Track pair distance at closest approach.
Definition at line 66 of file V0TriggerQa.h.
Referenced by Init().
|
private |
|
private |
|
privateinherited |
Name of the task.
Definition at line 75 of file QaTaskHeader.h.
Referenced by cbm::algo::qa::TaskHeader::GetTaskName().
|
staticconstexprprivate |
|
staticconstexprprivate |
Track pair DCA: lower bound [cm].
Definition at line 60 of file V0TriggerQa.h.
Referenced by Init().
|
staticconstexprprivate |
Track pair DCA: upper bound [cm].
Definition at line 61 of file V0TriggerQa.h.
Referenced by Init().
|
staticconstexprprivate |
Track pair time difference: n bins.
Definition at line 53 of file V0TriggerQa.h.
Referenced by Init().
|
staticconstexprprivate |
Track pair time difference: lower bound [ns].
Definition at line 54 of file V0TriggerQa.h.
Referenced by Init().
|
staticconstexprprivate |
Track pair time difference: upper bound [ns].
Definition at line 55 of file V0TriggerQa.h.
Referenced by Init().
|
staticconstexprprivate |
|
staticconstexprprivate |
Track pair z vertex: lower bound [cm].
Definition at line 57 of file V0TriggerQa.h.
Referenced by Init().
|
staticconstexprprivate |
Track pair z vertex: upper bound [cm].
Definition at line 58 of file V0TriggerQa.h.
Referenced by Init().