|
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);
virtual GenericMuonSimHitCollection * createTransient(const Muon::GenericMuonSimHitCollection_p3 *persObj, MsgStream &log)
virtual void persToTrans(const HepMcParticleLink_p3 *persObj, HepMcParticleLink *transObj, MsgStream &msg) const override
Method creating the transient representation of HepMcParticleLink from its persistent representation ...
std::vector< float > m_prestY
AtlasHitsVector< GenericMuonSimHit > GenericMuonSimHitCollection
std::vector< float > m_prelocY
std::vector< float > m_globalTime
virtual void transToPers(const GenericMuonSimHitCollection *transCont, Muon::GenericMuonSimHitCollection_p3 *persCont, MsgStream &log)
std::vector< float > m_stZ
Represents m_globalPosition in transient class.
const_iterator begin() const
CONT::const_iterator const_iterator
virtual void persToTrans(const Muon::GenericMuonSimHitCollection_p3 *persCont, GenericMuonSimHitCollection *transCont, MsgStream &log)
void Emplace(Args &&... args)
a link optimized in size for a GenParticle in a McEventCollection
std::vector< float > m_locY
std::vector< int > m_GenericId
std::vector< float > m_prelocX
std::vector< float > m_locX
virtual void transToPers(const HepMcParticleLink *transObj, HepMcParticleLink_p3 *persObj, MsgStream &msg) const override
Method creating the persistent representation HepMcParticleLink_p3 from its transient representation ...
std::vector< float > m_depositEnergy
std::vector< float > m_prelocZ
Represents m_localPosition in transient class.
std::vector< float > m_prestZ
Represents m_globalPosition in transient class.
std::vector< float > m_StepLength
std::vector< float > m_stY
std::vector< float > m_globalpreTime
Eigen::Matrix< double, 3, 1 > Vector3D
std::vector< float > m_prestX
std::vector< float > m_kineticEnergy
const_iterator end() const
std::vector< float > m_ptZ
std::vector< float > m_stX
std::vector< float > m_locZ
Represents m_localPosition in transient class.
std::vector< float > m_ptY
std::vector< float > m_ptX
std::vector< HepMcParticleLink_p3 > m_partLink
std::vector< int > m_particleEncoding