ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
tools
RFileChecker.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODROOTACCESS_TOOLS_RFILECHECKER_H
8
#define XAODROOTACCESS_TOOLS_RFILECHECKER_H
9
10
// System include(s):
11
#include <set>
12
#include <string>
13
14
// ROOT include(s):
15
#include <TObject.h>
16
17
// Local include(s):
18
#include "
AsgMessaging/StatusCode.h
"
19
#include "
CxxUtils/checker_macros.h
"
20
21
// Forward declaration(s):
22
namespace
SG
{
23
class
AuxVectorBase
;
24
}
25
26
namespace
xAOD
{
27
28
namespace
Experimental
{
29
30
// Forward declaration(s):
31
class
REvent
;
32
41
class
ATLAS_NOT_THREAD_SAFE
RFileChecker
:
public
::TObject {
42
43
public
:
45
RFileChecker
();
46
48
StatusCode
check
(
REvent
& event );
49
51
void
setStopOnError
( ::Bool_t value );
53
::Bool_t
stopOnError
()
const
;
54
56
void
addIgnoredVariable
(
const
std::string&
name
);
58
void
setIgnoredVariables
(
const
std::set< std::string >& value );
60
const
std::set< std::string >&
ignoredVariables
()
const
;
61
62
private
:
64
StatusCode
checkContainer
(
const
SG::AuxVectorBase
&
vec
,
65
const
std::string&
name
);
66
68
::Bool_t
m_stopOnError
;
70
std::set< std::string >
m_ignoredVariables
;
71
73
std::set< std::string >
m_orpannedContainers
;
74
75
ClassDef(
xAOD::Experimental::RFileChecker
, 0 )
76
77
};
// class RFileChecker
78
79
}
// namespace Experimental
80
81
82
}
// namespace xAOD
83
84
#endif
// XAODROOTACCESS_TOOLS_RFILECHECKER_H
vec
std::vector< size_t > vec
Definition
CombinationsGeneratorTest.cxx:9
StatusCode.h
checker_macros.h
Define macros for attributes used to control the static checker.
SG::AuxVectorBase
Manage index tracking and synchronization of auxiliary data.
Definition
AuxVectorBase.h:98
xAOD::Experimental::REvent
Tool for accessing xAOD files outside of Athena, version RNTuple.
Definition
REvent.h:33
xAOD::Experimental::RFileChecker
Tool for running sanity checks on xAOD files.
Definition
RFileChecker.h:41
xAOD::Experimental::RFileChecker::setStopOnError
void setStopOnError(::Bool_t value)
Set whether the validation should stop when an error is found.
xAOD::Experimental::RFileChecker::ignoredVariables
const std::set< std::string > & ignoredVariables() const
Get the list of variables which are ignored in the test.
xAOD::Experimental::RFileChecker::RFileChecker
RFileChecker()
Default constructor.
xAOD::Experimental::RFileChecker::m_ignoredVariables
std::set< std::string > m_ignoredVariables
List of variables to ignore in the test.
Definition
RFileChecker.h:70
xAOD::Experimental::RFileChecker::m_orpannedContainers
std::set< std::string > m_orpannedContainers
List of containers without an auxiliary store.
Definition
RFileChecker.h:73
xAOD::Experimental::RFileChecker::addIgnoredVariable
void addIgnoredVariable(const std::string &name)
Add a variable to be ignored in the test.
xAOD::Experimental::RFileChecker::stopOnError
::Bool_t stopOnError() const
Check whether the validation will stop when an error is found.
xAOD::Experimental::RFileChecker::check
StatusCode check(REvent &event)
Execute all sanity checks on a given file.
xAOD::Experimental::RFileChecker::checkContainer
StatusCode checkContainer(const SG::AuxVectorBase &vec, const std::string &name)
Check the health of a container.
xAOD::Experimental::RFileChecker::m_stopOnError
::Bool_t m_stopOnError
Stop the validation when an issue is found?
Definition
RFileChecker.h:68
xAOD::Experimental::RFileChecker::setIgnoredVariables
void setIgnoredVariables(const std::set< std::string > &value)
Set the list of variables to be ignored in the test.
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAOD::Experimental
Definition
RAuxFieldManager.cxx:16
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::name
name
Definition
TriggerMenuJson_v1.cxx:29
xAOD::ATLAS_NOT_THREAD_SAFE
void ErrorHandler ATLAS_NOT_THREAD_SAFE(Int_t level, Bool_t abort, const char *location, const char *message)
Function filtering the warnings coming from ROOT.
Definition
Init.cxx:105
Generated on
for ATLAS Offline Software by
1.17.0