ATLAS Offline Software
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 
24 namespace 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;
65  unsigned int m_nExtrapTrksCreated;
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
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::finalize
virtual StatusCode finalize()
Function initialising the algorithm.
Definition: TrigMuonEFInfoToMuonCnvAlg.cxx:50
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_xaodCombTrkPartContainerName
std::string m_xaodCombTrkPartContainerName
The key for the output xAOD::TrackParticleContainer for combined tracks.
Definition: TrigMuonEFInfoToMuonCnvAlg.h:55
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::execute
virtual StatusCode execute()
Function executing the algorithm.
Definition: TrigMuonEFInfoToMuonCnvAlg.cxx:61
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_xaodExtrapTrkPartContainerName
std::string m_xaodExtrapTrkPartContainerName
The key for the output xAOD::TrackParticleContainer for extrapolated tracks.
Definition: TrigMuonEFInfoToMuonCnvAlg.h:57
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::recordxAODContainers
StatusCode recordxAODContainers(const std::string &containerName, const std::string &auxContainerName, CONT &xaod, AUXCONT &aux)
Utility function to record xAOD containers.
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_converterTool
ToolHandle< ITrigMuonEFInfoToMuonCnvTool > m_converterTool
Tool that actually does the conversion.
Definition: TrigMuonEFInfoToMuonCnvAlg.h:60
AthAlgorithm.h
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_xaodMuonContainerName
std::string m_xaodMuonContainerName
The key for the output xAOD::MuonContainer.
Definition: TrigMuonEFInfoToMuonCnvAlg.h:53
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_aodContainerName
std::string m_aodContainerName
The key of the input TrigMuonEFInfoContainer.
Definition: TrigMuonEFInfoToMuonCnvAlg.h:51
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_nCombTrksCreated
unsigned int m_nCombTrksCreated
Definition: TrigMuonEFInfoToMuonCnvAlg.h:64
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ITrigMuonEFInfoToMuonCnvTool.h
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::initialize
virtual StatusCode initialize()
Function initialising the algorithm.
Definition: TrigMuonEFInfoToMuonCnvAlg.cxx:36
AthAlgorithm
Definition: AthAlgorithm.h:47
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_nproc
unsigned int m_nproc
Definition: TrigMuonEFInfoToMuonCnvAlg.h:66
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
xAODMaker::TrigMuonEFInfoToMuonCnvAlg
Algorithm creating xAOD::Muons from EF Muons (class TrigMuonEFInfo)
Definition: TrigMuonEFInfoToMuonCnvAlg.h:36
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_nMuonsCreated
unsigned int m_nMuonsCreated
counters
Definition: TrigMuonEFInfoToMuonCnvAlg.h:63
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::m_nExtrapTrksCreated
unsigned int m_nExtrapTrksCreated
Definition: TrigMuonEFInfoToMuonCnvAlg.h:65
xAODMaker::TrigMuonEFInfoToMuonCnvAlg::TrigMuonEFInfoToMuonCnvAlg
TrigMuonEFInfoToMuonCnvAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Definition: TrigMuonEFInfoToMuonCnvAlg.cxx:21
TrigMuonEFInfoToMuonCnvAlg.icc