Belle II Software
release-08-01-10
|
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. More... | |
Protected Member Functions | |
void | createDummyTTree () |
Create a ROOT::TTree for the detector weights w/ a few entries. More... | |
void | createDummyBrokenTTree () |
Create a ROOT::TTree with a "broken" bin edges structure, i.e. More... | |
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.
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.