ATLAS Offline Software
Loading...
Searching...
No Matches
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):
18
19namespace xAODReader {
20
34
35 public:
37 EventDuplicateFinderAlg( const std::string& name, ISvcLocator* svcLoc );
38
40 virtual StatusCode initialize();
42 virtual StatusCode execute();
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(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::set< std::pair< unsigned int, unsigned int > > m_seenEvents
Variable keeping track of the events seen.
EventDuplicateFinderAlg(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
virtual StatusCode initialize()
Function initialising the algorithm.
virtual StatusCode execute()
Function executing the algorithm.
std::string m_key
StoreGate key of the EI object to be tested.