|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GaudiKernel/MsgStream.h"
56 for (;
it != itEnd; ++
it) {
61 persCont->
m_prestX.push_back(
it->globalPrePosition().x());
62 persCont->
m_prestY.push_back(
it->globalPrePosition().y());
63 persCont->
m_prestZ.push_back(
it->globalPrePosition().z());
65 persCont->
m_prelocX.push_back(
it->localPrePosition().x());
66 persCont->
m_prelocY.push_back(
it->localPrePosition().y());
67 persCont->
m_prelocZ.push_back(
it->localPrePosition().z());
69 persCont->
m_stX.push_back(
it->globalPosition().x());
70 persCont->
m_stY.push_back(
it->globalPosition().y());
71 persCont->
m_stZ.push_back(
it->globalPosition().z());
73 persCont->
m_locX.push_back(
it->localPosition().x());
74 persCont->
m_locY.push_back(
it->localPosition().y());
75 persCont->
m_locZ.push_back(
it->localPosition().z());
78 persCont->
m_ptX.push_back(
it->globalDirection().x());
79 persCont->
m_ptY.push_back(
it->globalDirection().y());
80 persCont->
m_ptZ.push_back(
it->globalDirection().z());
94 return(trans.release());
115 transCont->
Emplace(persCont->
m_GenericId[
i], persCont->
m_globalTime[
i], persCont->
m_globalpreTime[
i], position, loc_position, preposition, loc_preposition, persCont->
m_particleEncoding[
i], persCont->
m_kineticEnergy[
i], direction, persCont->
m_depositEnergy[
i], persCont->
m_StepLength[
i], link);
std::vector< float > m_kineticEnergy
virtual void persToTrans(const HepMcParticleLink_p2 *persObj, HepMcParticleLink *transObj, MsgStream &msg) const override
Method creating the transient representation of HepMcParticleLink from its persistent representation ...
virtual void transToPers(const HepMcParticleLink *transObj, HepMcParticleLink_p2 *persObj, MsgStream &msg) const override
Method creating the persistent representation HepMcParticleLink_p2 from its transient representation ...
std::vector< float > m_prelocY
std::vector< float > m_locX
std::vector< int > m_particleEncoding
std::vector< int > m_GenericId
std::vector< float > m_prestY
std::vector< float > m_prelocZ
Represents m_localPosition in transient class.
AtlasHitsVector< GenericMuonSimHit > GenericMuonSimHitCollection
const_iterator begin() const
CONT::const_iterator const_iterator
std::vector< float > m_locY
std::vector< float > m_ptX
void Emplace(Args &&... args)
a link optimized in size for a GenParticle in a McEventCollection
std::vector< float > m_globalTime
std::vector< float > m_StepLength
virtual void persToTrans(const Muon::GenericMuonSimHitCollection_p2 *persCont, GenericMuonSimHitCollection *transCont, MsgStream &log)
std::vector< float > m_depositEnergy
std::vector< HepMcParticleLink_p2 > m_partLink
std::vector< float > m_prestZ
Represents m_globalPosition in transient class.
std::vector< float > m_globalpreTime
std::vector< float > m_stZ
Represents m_globalPosition in transient class.
virtual void transToPers(const GenericMuonSimHitCollection *transCont, Muon::GenericMuonSimHitCollection_p2 *persCont, MsgStream &log)
Eigen::Matrix< double, 3, 1 > Vector3D
std::vector< float > m_prestX
std::vector< float > m_stY
const_iterator end() const
std::vector< float > m_ptY
std::vector< float > m_prelocX
std::vector< float > m_locZ
Represents m_localPosition in transient class.
virtual GenericMuonSimHitCollection * createTransient(const Muon::GenericMuonSimHitCollection_p2 *persObj, MsgStream &log)
std::vector< float > m_stX
std::vector< float > m_ptZ