4#include "GaudiKernel/ContainedObject.h"
6#include "GaudiKernel/ObjectVector.h"
15class EmcMcHit :
virtual public ContainedObject {
17 virtual const CLID&
clID()
const
29 double yPosition,
double zPosition,
double px,
double py,
30 double pz,
double depositEnergy);
77 void setTime(
double time) { m_time=time; }
78 void setTrackIndex(
unsigned int trackIndex){ m_trackIndex = trackIndex;}
82 void setPx(
double px) {m_px = px;}
83 void setPy(
double py) {m_py = py;}
84 void setPz(
double pz) {m_pz = pz;}
88 std::map<Identifier,double>::const_iterator
begin()
const;
89 std::map<Identifier,double>::const_iterator
end()
const;
90 std::map<Identifier,double>::const_iterator
find(
Identifier&)
const;
92 unsigned int size()
const;
93 std::map<Identifier,double>
getHitMap()
const;
94 void setHitMap(std::map<Identifier,double>& hitMap) { m_hitMap=hitMap; }
105 unsigned int m_trackIndex;
127 double m_depositEnergy;
129 std::map<Identifier,double> m_hitMap;
const CLID & CLID_EmcMcHit
const CLID & CLID_EmcMcHit
void setPDGCode(int code)
Identifier identify() const
std::map< Identifier, double > getHitMap() const
double getPositionZ() const
unsigned int size() const
void setPositionX(double positionX)
void setPDGCharge(double charge)
void setTime(double time)
void setDepositEnergy(double depositEnergy)
std::map< Identifier, double >::const_iterator end() const
void setHitMap(std::map< Identifier, double > &hitMap)
double getPDGCharge() const
double getDepositEnergy() const
void setTrackIndex(unsigned int trackIndex)
virtual const CLID & clID() const
void setIdentifier(Identifier &id)
static const CLID & classID()
std::map< Identifier, double >::const_iterator find(Identifier &) const
double getPositionY() const
void setPositionY(double positionY)
void setPositionZ(double positionZ)
std::map< Identifier, double >::const_iterator begin() const
unsigned int getTrackIndex() const
double getPositionX() const
ObjectVector< EmcMcHit > EmcMcHitCol