|  | ATLAS Offline Software
    | 
Tool for running sanity checks on xAOD files. More...
#include <TFileChecker.h>
| Public Member Functions | |
| TFileChecker () | |
| Default constructor.  More... | |
| StatusCode | check (TEvent &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 39 of file TFileChecker.h.
| xAOD::TFileChecker::TFileChecker | ( | ) | 
Default constructor.
| void xAOD::TFileChecker::addIgnoredVariable | ( | const std::string & | name | ) | 
Add a variable to be ignored in the test.
| StatusCode xAOD::TFileChecker::check | ( | TEvent & | event | ) | 
Execute all sanity checks on a given file.
| 
 | private | 
Check the health of a container.
| const std::set< std::string >& xAOD::TFileChecker::ignoredVariables | ( | ) | const | 
Get the list of variables which are ignored in the test.
| void xAOD::TFileChecker::setIgnoredVariables | ( | const std::set< std::string > & | value | ) | 
Set the list of variables to be ignored in the test.
| void xAOD::TFileChecker::setStopOnError | ( | ::Bool_t | value | ) | 
Set whether the validation should stop when an error is found.
| ::Bool_t xAOD::TFileChecker::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 68 of file TFileChecker.h.
| 
 | private | 
List of containers without an auxiliary store.
Definition at line 71 of file TFileChecker.h.
| 
 | private | 
Stop the validation when an issue is found?
Definition at line 66 of file TFileChecker.h.
 1.8.18
 1.8.18