|
LDMX Software
|
Public Member Functions | |
| IsGoodEventFile (const std::string &pass, const int &entries, const int &runs, bool existColl=true, bool existObj=true) | |
| Constructor. | |
| bool | match (const std::string &filename) const override |
| Actually do the matching. | |
| virtual std::string | describe () const override |
| Human-readable statement for any match that is true. | |
Private Attributes | |
| std::string | pass_ |
| pass name to check the collection and/or object for | |
| int | entries_ |
| correct number of entries in the event ttree | |
| int | runs_ |
| correct number of runs | |
| bool | exist_collection_ |
| collection should exist in file | |
| bool | exist_object_ |
| object should exist in file | |
Definition at line 256 of file FunctionalCoreTest.cxx.
|
inline |
Constructor.
Sets the correct number of entries and the other checking parameters
Definition at line 279 of file FunctionalCoreTest.cxx.
|
inlineoverridevirtual |
Human-readable statement for any match that is true.
Definition at line 379 of file FunctionalCoreTest.cxx.
References exist_collection_, exist_object_, and pass_.
|
inlineoverride |
Actually do the matching.
The event and run tree names are hardcoded. The branchnames are also hardcoded.
| [in] | filename | name of event file to check |
Definition at line 295 of file FunctionalCoreTest.cxx.
References entries_, exist_collection_, exist_object_, pass_, and runs_.
|
private |
correct number of entries in the event ttree
Definition at line 262 of file FunctionalCoreTest.cxx.
Referenced by match().
|
private |
collection should exist in file
Definition at line 268 of file FunctionalCoreTest.cxx.
Referenced by describe(), and match().
|
private |
object should exist in file
Definition at line 271 of file FunctionalCoreTest.cxx.
Referenced by describe(), and match().
|
private |
pass name to check the collection and/or object for
Definition at line 259 of file FunctionalCoreTest.cxx.
Referenced by describe(), and match().
|
private |
correct number of runs
Definition at line 265 of file FunctionalCoreTest.cxx.
Referenced by match().