ATLAS Offline Software
Trigger
TrigEvent
TrigParticleTPCnv
TrigParticleTPCnv
TrigElectronCnv_p2.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
* @Project: Trigger
7
* @Package: TrigParticleTPCnv
8
* @class : TrigElectronCnv_p2
9
*
10
* @brief transient persistent converter for TrigElectron
11
*
12
* @author Andrew Hamilton <Andrew.Hamilton@cern.ch> - U. Geneva
13
* @author Francesca Bucci <f.bucci@cern.ch> - U. Geneva
14
* @author Ricardo Goncalo <r.goncalo@rhul.ac.uk> - Royal Holloway
15
*
16
* File and Version Information:
17
* $Id: TrigElectron_p2.h,v 1.2 2009-06-14 14:23:00 jgoncalo Exp $
18
**********************************************************************************/
19
#ifndef TRIGPARTICLETPCNV_TRIGELECTRONCNV_P2_H
20
#define TRIGPARTICLETPCNV_TRIGELECTRONCNV_P2_H
21
22
// transient class
23
#include "
TrigParticle/TrigElectron.h
"
24
// persistent class
25
#include "
TrigParticleTPCnv/TrigElectron_p2.h
"
26
// base-class converter
27
// base class
28
#include "
FourMom/P4PtEtaPhiM.h
"
29
#include "
EventCommonTPCnv/P4PtEtaPhiMCnv_p1.h
"
30
// converter for ElementLinks
31
#include "
DataModelAthenaPool/ElementLinkCnv_p1.h
"
32
// converter for track and cluster objects (pointed to through ElementLinks)
33
#include "
TrigCaloEventTPCnv/TrigEMClusterCnv_p1.h
"
34
#include "
TrigInDetEventTPCnv/TrigInDetTrackCnv_p1.h
"
35
// T/P converter base class
36
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
37
38
class
MsgStream;
39
40
class
TrigElectronCnv_p2
:
public
T_AthenaPoolTPCnvBase
<TrigElectron, TrigElectron_p2>
41
{
42
public
:
43
44
TrigElectronCnv_p2
() :
m_p4PtEtaPhiMCnv
(0) {}
45
46
virtual
void
persToTrans
(
const
TrigElectron_p2
* persObj,
47
TrigElectron
* transObj,
48
MsgStream &
log
);
49
virtual
void
transToPers
(
const
TrigElectron
* transObj,
50
TrigElectron_p2
* persObj,
51
MsgStream &
log
);
52
protected
:
53
54
// to persistify ElementLinks to cluster and track
55
ElementLinkCnv_p1< ElementLink<TrigEMClusterContainer>
>
m_ELinkEMclusterCnv
;
56
ElementLinkCnv_p1< ElementLink<TrigInDetTrackCollection>
>
m_ELinkIDtrackCnv
;
57
58
// 4-momentum base class
59
P4PtEtaPhiMCnv_p1
*
m_p4PtEtaPhiMCnv
;
60
61
};
62
63
64
#endif
ElementLinkCnv_p1.h
This file contains the class definition for the ElementLinkCnv_p1 class.
TrigElectronCnv_p2::persToTrans
virtual void persToTrans(const TrigElectron_p2 *persObj, TrigElectron *transObj, MsgStream &log)
Definition:
TrigElectronCnv_p2.cxx:16
P4PtEtaPhiMCnv_p1.h
TrigElectronCnv_p2
Definition:
TrigElectronCnv_p2.h:41
TrigElectron.h
TrigElectronCnv_p2::m_ELinkIDtrackCnv
ElementLinkCnv_p1< ElementLink< TrigInDetTrackCollection > > m_ELinkIDtrackCnv
Definition:
TrigElectronCnv_p2.h:56
TrigElectronCnv_p2::transToPers
virtual void transToPers(const TrigElectron *transObj, TrigElectron_p2 *persObj, MsgStream &log)
Definition:
TrigElectronCnv_p2.cxx:60
TPConverterBase
Definition:
TPConverter.h:738
TrigElectron
File: TrigElectron.h.
Definition:
Trigger/TrigEvent/TrigParticle/TrigParticle/TrigElectron.h:63
TrigElectron_p2
Definition:
TrigElectron_p2.h:28
TrigElectronCnv_p2::m_p4PtEtaPhiMCnv
P4PtEtaPhiMCnv_p1 * m_p4PtEtaPhiMCnv
Definition:
TrigElectronCnv_p2.h:59
TrigInDetTrackCnv_p1.h
T_AthenaPoolTPConverter.h
TrigElectron_p2.h
ElementLinkCnv_p1
Definition:
ElementLinkCnv_p1.h:27
TrigEMClusterCnv_p1.h
P4PtEtaPhiM.h
TrigElectronCnv_p2::m_ELinkEMclusterCnv
ElementLinkCnv_p1< ElementLink< TrigEMClusterContainer > > m_ELinkEMclusterCnv
Definition:
TrigElectronCnv_p2.h:55
TrigElectronCnv_p2::TrigElectronCnv_p2
TrigElectronCnv_p2()
Definition:
TrigElectronCnv_p2.h:44
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
P4PtEtaPhiMCnv_p1
Definition:
P4PtEtaPhiMCnv_p1.h:35
Generated on Sun Dec 22 2024 21:20:56 for ATLAS Offline Software by
1.8.18