ATLAS Offline Software
Loading...
Searching...
No Matches
BunchConfCnvAlg.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: BunchConfCnvAlg.h 583381 2014-02-14 15:58:20Z krasznaa $
8#ifndef XAODTRIGGERCNV_BUNCHCONFCNVALG_H
9#define XAODTRIGGERCNV_BUNCHCONFCNVALG_H
10
11// System include(s):
12extern "C" {
13# include <stdint.h>
14}
15#include <string>
16#include <set>
17
18// Gaudi/Athena include(s):
20#include "GaudiKernel/ToolHandle.h"
21#include "GaudiKernel/ServiceHandle.h"
23
24// Trigger include(s):
26
27// xAOD include(s):
29
30namespace xAODMaker {
31
44
45 public:
47 BunchConfCnvAlg( const std::string& name, ISvcLocator* svcLoc );
48
50 virtual StatusCode initialize();
52 virtual StatusCode execute();
53
54 private:
56 std::string m_eventName;
58 std::string m_metaName;
59
61 ToolHandle< Trig::IBunchCrossingConfProvider > m_bcConf;
64
67
69 std::set< uint32_t > m_convertedIDs;
70
71 }; // class BunchConfCnvAlg
72
73} // xAODMaker
74
75#endif // XAODTRIGGERCNV_BUNCHCONFCNVALG_H
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ServiceHandle< StoreGateSvc > m_metaStore
Connection to the metadata store.
virtual StatusCode initialize()
Function initialising the algorithm.
std::set< uint32_t > m_convertedIDs
Configurations that have already been converted.
std::string m_eventName
StoreGate key for the event object.
std::string m_metaName
StoreGate key for the configuration object.
BunchConfCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
virtual StatusCode execute()
Function executing the algorithm.
xAOD::BunchConfContainer * m_bcc
The configuration object that is being written.
ToolHandle< Trig::IBunchCrossingConfProvider > m_bcConf
Connection to the bunch configuration provider tool.
BunchConfContainer_v1 BunchConfContainer
Define the latest version of the bunch configuration container class.