ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODEventInfoCnv
src
EventDuplicateFinderAlg.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: EventDuplicateFinderAlg.h 663741 2015-04-29 11:52:21Z krasznaa $
8
#ifndef XAODEVENTINFOCNV_EVENTDUPLICATEFINDERALG_H
9
#define XAODEVENTINFOCNV_EVENTDUPLICATEFINDERALG_H
10
11
// System include(s):
12
#include <string>
13
#include <map>
// For std::pair...
14
#include <set>
15
16
// Gaudi/Athena include(s):
17
#include "
AthenaBaseComps/AthAlgorithm.h
"
18
19
namespace
xAODReader
{
20
33
class
EventDuplicateFinderAlg
:
public
AthAlgorithm
{
34
35
public
:
37
EventDuplicateFinderAlg
(
const
std::string& name, ISvcLocator* svcLoc );
38
40
virtual
StatusCode
initialize
();
42
virtual
StatusCode
execute
(
const
EventContext& ctx);
43
44
private
:
46
std::string
m_key
;
47
49
std::set< std::pair< unsigned int, unsigned int > >
m_seenEvents
;
50
51
};
// class EventDuplicateFinderAlg
52
53
}
// namespace xAODReader
54
55
#endif
// XAODEVENTINFOCNV_EVENTDUPLICATEFINDERALG_H
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
xAODReader::EventDuplicateFinderAlg::execute
virtual StatusCode execute(const EventContext &ctx)
Function executing the algorithm.
Definition
EventDuplicateFinderAlg.cxx:35
xAODReader::EventDuplicateFinderAlg::m_seenEvents
std::set< std::pair< unsigned int, unsigned int > > m_seenEvents
Variable keeping track of the events seen.
Definition
EventDuplicateFinderAlg.h:49
xAODReader::EventDuplicateFinderAlg::EventDuplicateFinderAlg
EventDuplicateFinderAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
Definition
EventDuplicateFinderAlg.cxx:14
xAODReader::EventDuplicateFinderAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition
EventDuplicateFinderAlg.cxx:24
xAODReader::EventDuplicateFinderAlg::m_key
std::string m_key
StoreGate key of the EI object to be tested.
Definition
EventDuplicateFinderAlg.h:46
xAODReader
Definition
EventDuplicateFinderAlg.cxx:12
Generated on
for ATLAS Offline Software by
1.17.0