ATLAS Offline Software
MuonContainerCnv.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // MuonContainerCnv.h
8 // Header file for class MuonContainerCnv
9 // Author: K.Cranmer<cranmer@cern.ch>
10 // Author: S.Binet<binet@cern.ch>
12 #ifndef RECATHENAPOOL_MUONCONTAINERCNV_H
13 #define RECATHENAPOOL_MUONCONTAINERCNV_H
14 
15 // STL includes
16 
17 // AthenaPoolCnvSvc includes
19 
20 // RecTPCnv includes
23 
24 // muonEvent includes
26 
27 #include "GaudiKernel/ToolHandle.h"
28 #include "StoreGate/StoreGateSvc.h"
29 
30 // RecTPCnv includes
37 
38 // the latest persistent representation type of DataCollection:
40 
42  Analysis::MuonContainer,
43  MuonContainer_PERS
44  >
45 
46 {
47 
48  // make the factory for this converter our friend
49  friend class CnvFactory<MuonContainerCnv>;
50 
52  // Protected methods:
54  protected:
55 
58 public:
59  MuonContainerCnv(ISvcLocator* svcloc);
60 protected:
61 
64  virtual MuonContainer_PERS*
66 
70 
72  virtual StatusCode initialize();
73 
74 private:
75 
79 
86 
87 };
88 
92 
93 inline MuonContainerCnv::MuonContainerCnv( ISvcLocator* svcLocator ) :
96  >(svcLocator),
97  m_storeGate( "StoreGateSvc", "MuonContainerCnv" ),
98  m_muonCaloEnergyContainerName( "MuonCaloEnergyCollection" )
99 {}
100 
101 #endif //> RECATHENAPOOL_MUONCONTAINERCNV_H
MuonContainerCnv::createTransient
virtual Analysis::MuonContainer * createTransient()
Build the transient representation from a persistent one.
Definition: MuonContainerCnv.cxx:71
MuonContainer_p6.h
xAOD::MuonContainer
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Definition: Event/xAOD/xAODMuon/xAODMuon/MuonContainer.h:14
TPCnvVectorConst
Definition: TPConverter.h:1271
MuonContainerCnv_p1.h
MuonContainer.h
MuonContainerCnv::m_cnv_p4
MuonContainerCnv_p4 m_cnv_p4
Definition: MuonContainerCnv.h:83
MuonContainer_p6
Definition: MuonContainer_p6.h:23
MuonContainer_p5.h
MuonContainerCnv_p2
Definition: MuonContainerCnv_p2.h:38
MuonContainerCnv::m_cnv_p2
MuonContainerCnv_p2 m_cnv_p2
Definition: MuonContainerCnv.h:81
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
MuonContainerCnv::m_muonCaloEnergyContainerName
std::string m_muonCaloEnergyContainerName
Definition: MuonContainerCnv.h:78
MuonContainerCnv::createPersistent
virtual MuonContainer_PERS * createPersistent(Analysis::MuonContainer *transCont)
Build the persistent representation from the transient one.
Definition: MuonContainerCnv.cxx:60
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
Analysis::MuonContainer
definition of StoreGate container holding a vector of Analysis::Muon
Definition: Reconstruction/MuonIdentification/muonEvent/muonEvent/MuonContainer.h:38
MuonContainerCnv_p1
Definition: MuonContainerCnv_p1.h:39
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
MuonContainer_PERS
MuonContainer_p6 MuonContainer_PERS
Definition: MuonContainerCnv.h:39
MuonContainerCnv::m_cnv_p5
MuonContainerCnv_p5 m_cnv_p5
Definition: MuonContainerCnv.h:84
MuonContainerCnv::m_cnv_p1
MuonContainerCnv_p1 m_cnv_p1
Definition: MuonContainerCnv.h:80
MuonContainerCnv::initialize
virtual StatusCode initialize()
initialize() - need to access Storegate
Definition: MuonContainerCnv.cxx:33
MuonContainerCnv::m_storeGate
StoreGateSvc_t m_storeGate
Definition: MuonContainerCnv.h:77
MuonContainerCnv_p4.h
MuonContainerCnv::StoreGateSvc_t
ServiceHandle< StoreGateSvc > StoreGateSvc_t
Definition: MuonContainerCnv.h:76
MuonContainerCnv_p5.h
MuonContainerCnv_p2.h
MuonContainerCnv::MuonContainerCnv
MuonContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition: MuonContainerCnv.h:93
MuonContainerCnv_p3.h
StoreGateSvc.h
MuonContainerCnv::m_cnv_p3
MuonContainerCnv_p3 m_cnv_p3
Definition: MuonContainerCnv.h:82
ServiceHandle< StoreGateSvc >
MuonContainerCnv
Definition: MuonContainerCnv.h:46
MuonContainerCnv_p6.h
MuonContainerCnv::m_cnv_p6
MuonContainerCnv_p6 m_cnv_p6
Definition: MuonContainerCnv.h:85