![]() |
ATLAS Offline Software
|
Tool for running sanity checks on xAOD files. More...
#include <RFileChecker.h>
Public Member Functions | |
| RFileChecker () | |
| Default constructor. More... | |
| StatusCode | check (REvent &event) |
| Execute all sanity checks on a given file. More... | |
| void | setStopOnError (::Bool_t value) |
| Set whether the validation should stop when an error is found. More... | |
| ::Bool_t | stopOnError () const |
| Check whether the validation will stop when an error is found. More... | |
| void | addIgnoredVariable (const std::string &name) |
| Add a variable to be ignored in the test. More... | |
| void | setIgnoredVariables (const std::set< std::string > &value) |
| Set the list of variables to be ignored in the test. More... | |
| const std::set< std::string > & | ignoredVariables () const |
| Get the list of variables which are ignored in the test. More... | |
Private Member Functions | |
| StatusCode | checkContainer (const SG::AuxVectorBase &vec, const std::string &name) |
| Check the health of a container. More... | |
Private Attributes | |
| ::Bool_t | m_stopOnError |
| Stop the validation when an issue is found? More... | |
| std::set< std::string > | m_ignoredVariables |
| List of variables to ignore in the test. More... | |
| std::set< std::string > | m_orpannedContainers |
| List of containers without an auxiliary store. More... | |
Tool for running sanity checks on xAOD files.
There are some typical issues that can show up in xAOD files due to common coding issues in the reconstruction/analysis code. This class can check for most of these issues in the file given to it.
Definition at line 41 of file RFileChecker.h.
| xAOD::Experimental::RFileChecker::RFileChecker | ( | ) |
Default constructor.
| void xAOD::Experimental::RFileChecker::addIgnoredVariable | ( | const std::string & | name | ) |
Add a variable to be ignored in the test.
| StatusCode xAOD::Experimental::RFileChecker::check | ( | REvent & | event | ) |
Execute all sanity checks on a given file.
|
private |
Check the health of a container.
| const std::set< std::string >& xAOD::Experimental::RFileChecker::ignoredVariables | ( | ) | const |
Get the list of variables which are ignored in the test.
| void xAOD::Experimental::RFileChecker::setIgnoredVariables | ( | const std::set< std::string > & | value | ) |
Set the list of variables to be ignored in the test.
| void xAOD::Experimental::RFileChecker::setStopOnError | ( | ::Bool_t | value | ) |
Set whether the validation should stop when an error is found.
| ::Bool_t xAOD::Experimental::RFileChecker::stopOnError | ( | ) | const |
Check whether the validation will stop when an error is found.
|
private |
List of variables to ignore in the test.
Definition at line 70 of file RFileChecker.h.
|
private |
List of containers without an auxiliary store.
Definition at line 73 of file RFileChecker.h.
|
private |
Stop the validation when an issue is found?
Definition at line 68 of file RFileChecker.h.
1.8.18