|
ATLAS Offline Software
|
Go to the documentation of this file.
50 configTool.setProperty(
"OutputLevel",
MSG::VERBOSE ).ignore();
52 ::Error(
APP_NAME,
"Couldn't initialise the trigger configuration tool" );
57 ToolHandle< TrigConf::ITrigConfigTool > handle(
"xAODConfigTool" );
58 ToolHandleArray< TrigConf::ITrigConfigTool > handleArray{
"xAODConfigTool" };
61 if( handle.retrieve().isFailure() || handleArray.retrieve().isFailure() ) {
63 "Couldn't retrieve the tested tool through tool handles" );
68 for(
int i = 1;
i <
argc; ++
i ) {
71 std::unique_ptr< ::TFile >
ifile( ::TFile::Open(
argv[
i ],
"READ" ) );
82 const ::Long64_t
entries =
event.getEntries();
86 event.getEntry(
entry );
90 ::Info(
APP_NAME,
"Processing entry %i",
static_cast< int >(
entry ) );
93 ::Info(
APP_NAME,
"SMK: %i, L1PSK: %i, HLTPSK: %i",
94 static_cast< int >( configTool.
masterKey() ),
97 ::Info(
APP_NAME,
" Number of L1 items: %i",
99 ::Info(
APP_NAME,
" Number of HLT chains: %i",
100 static_cast< int >( configTool.
chains().size() ) );
106 if( ! (
entry % 100 ) ) {
107 ::Info(
APP_NAME,
"Processed %i/%i events",
108 static_cast< int >(
entry ),
109 static_cast< int >(
entries ) );
#define RETURN_CHECK(CONTEXT, EXP)
Helper macro for checking return codes in a compact form in the code.
int main(int argc, char *argv[])
StatusCode readFrom(TFile *file)
POOL::TEvent event(POOL::TEvent::kClassAccess)
const Menu & menu() const
Error
The different types of error that can be flagged in the L1TopoRDO.
@ kBranchAccess
Access auxiliary data branch-by-branch.
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Tool for accessing xAOD files outside of Athena.
StatusCode Init(const char *appname)
Function initialising ROOT/PyROOT for using the ATLAS EDM.