ATLAS Offline Software
Functions
AllExecutedEventsCounterAlg.cxx File Reference
#include <EventBookkeeperTools/FilterReporter.h>
#include <xAODCutFlow/CutBookkeeper.h>
#include "AllExecutedEventsCounterAlg.h"
Include dependency graph for AllExecutedEventsCounterAlg.cxx:

Go to the source code of this file.

Functions

StatusCode AllExecutedEventsCounterAlg::initialize ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode AllExecutedEventsCounterAlg::initialize ATLAS_NOT_THREAD_SAFE ( )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Definition at line 21 of file AllExecutedEventsCounterAlg.cxx.

22 {
23  ATH_MSG_DEBUG("Initializing " << this->name() << "...");
24 
25  ATH_CHECK(m_filterParams.initialize());
26 
27  m_filterParams.cutFlowSvc()->registerTopFilter(m_filterParams.key(),
28  "Number of processed events before any cut",
29  xAOD::CutBookkeeper::CutLogic::ALLEVENTSPROCESSED,
30  "AllStreams",
31  false);
32 
33  return StatusCode::SUCCESS;
34 }
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195