ATLAS Offline Software
Loading...
Searching...
No Matches
TrigMuonEFInfoToMuonCnvAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5//
6// TrigMuonEFInfoToMuonCnvAlg.h
7//
8// Created by Mark Owen on 13/03/2014.
9//
10
11#ifndef xAODTrigMuonCnv_TrigMuonEFInfoToMuonCnvAlg_h
12#define xAODTrigMuonCnv_TrigMuonEFInfoToMuonCnvAlg_h
13
14// System include(s):
15#include <string>
16
17// Athena/Gaudi include(s):
19#include "GaudiKernel/ToolHandle.h"
20
21// Local includes
23
24namespace xAODMaker {
25
37
38 public:
40 TrigMuonEFInfoToMuonCnvAlg( const std::string& name, ISvcLocator* svcLoc );
41
43 virtual StatusCode initialize();
45 virtual StatusCode finalize();
47 virtual StatusCode execute();
48
49 private:
51 std::string m_aodContainerName;
58
60 ToolHandle<ITrigMuonEFInfoToMuonCnvTool> m_converterTool;
61
63 unsigned int m_nMuonsCreated;
64 unsigned int m_nCombTrksCreated;
66 unsigned int m_nproc;
67
69 template<class CONT, class AUXCONT>
70 StatusCode recordxAODContainers(const std::string& containerName, const std::string& auxContainerName, CONT& xaod, AUXCONT& aux);
71
72 };//class MuonCnvAlg
73
74}//namespace xAODMaker
75
77
78#endif // xAODTrigMuonCnv_TrigMuonEFInfoToMuonCnvAlg_h
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< ITrigMuonEFInfoToMuonCnvTool > m_converterTool
Tool that actually does the conversion.
std::string m_xaodExtrapTrkPartContainerName
The key for the output xAOD::TrackParticleContainer for extrapolated tracks.
virtual StatusCode execute()
Function executing the algorithm.
StatusCode recordxAODContainers(const std::string &containerName, const std::string &auxContainerName, CONT &xaod, AUXCONT &aux)
Utility function to record xAOD containers.
std::string m_aodContainerName
The key of the input TrigMuonEFInfoContainer.
virtual StatusCode initialize()
Function initialising the algorithm.
std::string m_xaodCombTrkPartContainerName
The key for the output xAOD::TrackParticleContainer for combined tracks.
virtual StatusCode finalize()
Function initialising the algorithm.
std::string m_xaodMuonContainerName
The key for the output xAOD::MuonContainer.
TrigMuonEFInfoToMuonCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.