ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecTPCnv
RecTPCnv
MuonCnv_p2.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// MuonCnv_p2.h
8
// Header file for class MuonCnv_p2
9
// Author: Ketevi A. Assamagan <ketevi@bnl.gov>
11
#ifndef RECTPCNV_MUONCNV_P2_H
12
#define RECTPCNV_MUONCNV_P2_H
13
14
15
16
// Gaudi includes
17
#include "GaudiKernel/ToolHandle.h"
18
#include "
StoreGate/StoreGateSvc.h
"
19
20
// AthenaPoolCnvSvc includes
21
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
22
23
// RecTPCnv includes
24
#include "
RecTPCnv/Muon_p2.h
"
25
// STL includes
26
#include <string>
27
28
// Forward declaration
29
class
MsgStream;
30
namespace
Analysis
{
class
Muon
; }
31
32
class
MuonCnv_p2
:
public
T_AthenaPoolTPCnvConstBase
<Analysis::Muon, Muon_p2>
33
{
34
public
:
35
using
base_class::transToPers
;
36
using
base_class::persToTrans
;
37
38
39
typedef
ServiceHandle<StoreGateSvc>
StoreGateSvc_t
;
40
43
MuonCnv_p2
();
44
45
49
virtual
void
persToTrans
(
const
Muon_p2
* persObj,
50
Analysis::Muon
* transObj,
51
MsgStream&
msg
)
const override
;
52
56
virtual
void
transToPers
(
const
Analysis::Muon
* transObj,
57
Muon_p2
* persObj,
58
MsgStream&
msg
)
const override
;
59
60
void
setKey
(
const
std::string& key ) {
m_muonCaloEnergyContainerName
=key; }
61
void
setEventStore
(
const
StoreGateSvc_t
& storeGate ) {
m_storeGate
=storeGate; }
62
63
protected
:
64
65
StoreGateSvc_t
m_storeGate
;
66
std::string
m_muonCaloEnergyContainerName
;
67
};
68
69
70
inline
MuonCnv_p2::MuonCnv_p2
()
71
:
m_storeGate
(
"StoreGateSvc"
,
"MuonContainerCnv"
)
72
{}
73
74
#endif
//> RECTPCNV_MUONCNV_P2_H
Muon_p2.h
StoreGateSvc.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvConstBase
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Definition
T_AthenaPoolTPConverter.h:44
Analysis::Muon
The ATLAS Muon object - see doxygen, physics workbookd and the Muon Combined Performance WG's pages f...
Definition
Reconstruction/MuonIdentification/muonEvent/muonEvent/Muon.h:44
MuonCnv_p2::m_muonCaloEnergyContainerName
std::string m_muonCaloEnergyContainerName
Definition
MuonCnv_p2.h:66
MuonCnv_p2::transToPers
virtual void transToPers(const Analysis::Muon *transObj, Muon_p2 *persObj, MsgStream &msg) const override
Method creating the persistent representation Muon_p1 from its transient representation Analysis::Muo...
Definition
MuonCnv_p2.cxx:191
MuonCnv_p2::setKey
void setKey(const std::string &key)
Definition
MuonCnv_p2.h:60
MuonCnv_p2::m_storeGate
StoreGateSvc_t m_storeGate
Definition
MuonCnv_p2.h:65
MuonCnv_p2::persToTrans
virtual void persToTrans(const Muon_p2 *persObj, Analysis::Muon *transObj, MsgStream &msg) const override
Method creating the transient representation of Analysis::Muon from its persistent representation Muo...
Definition
MuonCnv_p2.cxx:46
MuonCnv_p2::MuonCnv_p2
MuonCnv_p2()
Default constructor:
Definition
MuonCnv_p2.h:70
MuonCnv_p2::StoreGateSvc_t
ServiceHandle< StoreGateSvc > StoreGateSvc_t
Definition
MuonCnv_p2.h:39
MuonCnv_p2::setEventStore
void setEventStore(const StoreGateSvc_t &storeGate)
Definition
MuonCnv_p2.h:61
Muon_p2
Definition
Muon_p2.h:38
ServiceHandle
Definition
ClusterMakerTool.h:36
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0