LDMX Software
|
Runs a variety of checks to make sure the histogram in the input filename is what we expect it to be. More...
Public Member Functions | |
isGoodHistogramFile (int const &n) | |
Constructor. | |
bool | match (const std::string &filename) const override |
Performs the test for this matcher. | |
virtual std::string | describe () const override |
Describe this matcher in a helpful, human-readable way. | |
Private Attributes | |
int | correctGetEntries_ |
Correct number of entries. | |
Runs a variety of checks to make sure the histogram in the input filename is what we expect it to be.
Does NOT check that the entries in the histogram are correct, just makes sure that there is the correct number.
Does check:
Definition at line 173 of file FunctionalCoreTest.cxx.
|
inline |
Constructor.
Sets the correct event indices
Definition at line 184 of file FunctionalCoreTest.cxx.
|
inlineoverridevirtual |
Describe this matcher in a helpful, human-readable way.
This string is written as if stating a fact about the object it is matching.
Definition at line 211 of file FunctionalCoreTest.cxx.
References correctGetEntries_.
|
inlineoverride |
Performs the test for this matcher.
Opens up the histogram file and makes sure of a few things.
Definition at line 193 of file FunctionalCoreTest.cxx.
References correctGetEntries_.
|
private |
Correct number of entries.
Definition at line 176 of file FunctionalCoreTest.cxx.
Referenced by describe(), and match().