#include <TFileChecker.h>
Public Member Functions | |
TFileChecker () | |
Default constructor. | |
TReturnCode | check (TEvent &event) |
Execute all sanity checks on a given file. | |
void | setStopOnError (::Bool_t value) |
Set whether the validation should stop when an error is found. | |
::Bool_t | stopOnError () const |
Check whether the validation will stop when an error is found. | |
void | addIgnoredVariable (const std::string &name) |
Add a variable to be ignored in the test. | |
void | setIgnoredVariables (const std::set< std::string > &value) |
Set the list of variables to be ignored in the test. | |
const std::set< std::string > & | ignoredVariables () const |
Get the list of variables which are ignored in the test. |
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.