Belle II Software development
|
Test the calculation of the track helix-based isolation score per particle. More...
Public Attributes | |
Const::ChargedStable | m_testHypo = Const::electron |
The charged particle hypothesis to test. | |
Const::EDetector | m_detector = Const::ECL |
The detector to test. | |
int | m_layer = 0 |
The detector layer to test. | |
std::string | m_dummyFile = "dummyFile.root" |
Dummy ROOT file name. | |
Protected Member Functions | |
void | createDummyTTree () |
Create a ROOT::TTree for the detector weights w/ a few entries. | |
void | createDummyBrokenTTree () |
Create a ROOT::TTree with a "broken" bin edges structure, i.e. | |
void | SetUp () override |
Prepare resources for the tests. | |
void | TearDown () override |
Release all resources. | |
Test the calculation of the track helix-based isolation score per particle.
Definition at line 28 of file trackIsoScoreCalculator.cc.
|
inlineprotected |
Create a ROOT::TTree with a "broken" bin edges structure, i.e.
non-contiguous bin edges. This will throw a FATAL error, and indicate the CSV weights file has problems.
Definition at line 106 of file trackIsoScoreCalculator.cc.
|
inlineprotected |
Create a ROOT::TTree for the detector weights w/ a few entries.
This replicates the structure of the CSV weights file that are serialised in the payload.
Definition at line 61 of file trackIsoScoreCalculator.cc.
|
inlineoverrideprotected |
Prepare resources for the tests.
Definition at line 140 of file trackIsoScoreCalculator.cc.
|
inlineoverrideprotected |
Release all resources.
Definition at line 149 of file trackIsoScoreCalculator.cc.
Const::EDetector m_detector = Const::ECL |
The detector to test.
Definition at line 40 of file trackIsoScoreCalculator.cc.
std::string m_dummyFile = "dummyFile.root" |
Dummy ROOT file name.
Files are created at the start of the test, and deleted at the end.
Definition at line 52 of file trackIsoScoreCalculator.cc.
int m_layer = 0 |
The detector layer to test.
Definition at line 45 of file trackIsoScoreCalculator.cc.
Const::ChargedStable m_testHypo = Const::electron |
The charged particle hypothesis to test.
Definition at line 35 of file trackIsoScoreCalculator.cc.