ATLAS Offline Software
Loading...
Searching...
No Matches
BackgroundWordTest.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
7#include <algorithm>
8
10
11//----------------------------------------------------------------
12
14 ISvcLocator* pSvcLocator) :
15 AthAlgorithm(name,pSvcLocator)
16{
17}
18
19//----------------------------------------------------------------
20
22
23
24//----------------------------------------------------------------
25
27{
28 ATH_MSG_INFO( "In initialize()" );
29 return StatusCode::SUCCESS;
30}
31
32//----------------------------------------------------------------
33
35{
37 // get the EventInfo
39 const EventInfo * eventInfo = nullptr;
40 ATH_CHECK( evtStore()->retrieve( eventInfo ) );
41
43 // printout the final background word
45 ATH_MSG_DEBUG( "Summary of background word contents:");
63 //
64
65 return StatusCode::SUCCESS;
66}
67
68//----------------------------------------------------------------
69
71
72 ATH_MSG_INFO( "In finalize()" );
73 return StatusCode::SUCCESS;
74}
75
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
#define ATH_MSG_DEBUG(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
BackgroundWordTest(const std::string &name, ISvcLocator *pSvcLocator)
bool isEventFlagBitSet(EventFlagSubDet subDet, unsigned char bit) const
check for a event flag bit for a particular sub-detector
@ Background
The beam background detectors.
EventInfo_v1 EventInfo
Definition of the latest event info version.