ATLAS Offline Software
Loading...
Searching...
No Matches
xAODBunchCrossingTool.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: xAODBunchCrossingTool.h 620838 2014-10-09 11:38:00Z krasznaa $
8#ifndef TRIGBUNCHCROSSINGTOOL_XAODBUNCHCROSSINGTOOL_H
9#define TRIGBUNCHCROSSINGTOOL_XAODBUNCHCROSSINGTOOL_H
10
11// System include(s):
12#include <string>
13#include <map>
14
15// Local include(s):
18
19namespace Trig {
20
34
37
38 public:
40 xAODBunchCrossingTool( const std::string& name =
41 "xAODBunchCrossingTool" );
42
44 virtual StatusCode initialize();
45
46 protected:
49
51 virtual StatusCode beginInputFile();
53 virtual StatusCode beginEvent();
54
56
57 private:
60
62 std::string m_metaKey;
64 std::string m_eventKey;
65
67
69 typedef std::map< unsigned int, BunchConfig > Cache_t;
72
74 unsigned int m_currentID;
75
76 }; // class xAODBunchCrossingTool
77
78} // namespace Trig
79
80#endif // TRIGBUNCHCROSSINGTOOL_XAODBUNCHCROSSINGTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
BunchCrossingToolBase(const std::string &name="BunchCrossingToolBase")
Default constructor.
Interface for all the bunch crossing tools.
virtual StatusCode beginInputFile()
Function called at the beginning of each input file.
std::map< unsigned int, BunchConfig > Cache_t
Type of the internal cache.
Cache_t m_cache
Cached configurations.
xAODBunchCrossingTool(const std::string &name="xAODBunchCrossingTool")
Create a proper constructor for Athena.
std::string m_eventKey
Key of the event data object.
unsigned int m_currentID
The currently loaded configuration ID.
std::string m_metaKey
Key of the metadata container.
virtual StatusCode initialize()
Function initialising the tool.
virtual StatusCode beginEvent()
Function called at the beginning of each event.
The common trigger namespace for trigger analysis tools.