ATLAS Offline Software
Loading...
Searching...
No Matches
StaticBunchCrossingTool.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: StaticBunchCrossingTool.h 749252 2016-05-24 09:30:51Z krasznaa $
8#ifndef TRIGBUNCCROSSINGTOOL_STATICBUNCHCROSSINGTOOL_H
9#define TRIGBUNCCROSSINGTOOL_STATICBUNCHCROSSINGTOOL_H
10
11// STL include(s):
12#include <map>
13#include <vector>
14
15// Local include(s):
17
18namespace Trig {
19
36
39
40 public:
42 StaticBunchCrossingTool( const std::string& name =
43 "StaticBunchCrossingTool" );
44
46 virtual StatusCode initialize();
47
49 StatusCode loadConfig( int bgkey );
51 StatusCode loadConfig( const std::vector< int >& filledBunches,
52 const std::vector< float >& filledIntensities =
53 std::vector< float >(),
54 const std::vector< int >& unpairedBunches =
55 std::vector< int >(),
56 const std::vector< float >& unpairedIntensities =
57 std::vector< float >() );
59 StatusCode loadConfig( const std::vector< float >& bunches );
60
61 private:
64
66 std::map< int, std::vector< int > > m_knownBGKeys;
67
68 }; // class StaticBunchCrossingTool
69
70} // namespace Trig
71
72#endif // TRIGBUNCCROSSINGTOOL_STATICBUNCHCROSSINGTOOL_H
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
BunchCrossingToolBase(const std::string &name="BunchCrossingToolBase")
Default constructor.
Interface for all the bunch crossing tools.
int m_bgkey
Default key to be loaded.
std::map< int, std::vector< int > > m_knownBGKeys
All the hard-coded configs.
virtual StatusCode initialize()
Function initialising the tool.
StaticBunchCrossingTool(const std::string &name="StaticBunchCrossingTool")
Create a proper constructor for Athena.
StatusCode loadConfig(int bgkey)
Load a hard-coded bunch group key.
The common trigger namespace for trigger analysis tools.