6#include "EmcRecEventModel/RecEmcTofHit.h"
7#include "Identifier/TofID.h"
31 m_cellId = tofHit.
CellId();
32 m_energy = tofHit.
Energy();
39 m_cellId = tofHit.
CellId();
40 m_energy = tofHit.
Energy();
92 Hep3Vector pos1(m_pos);
93 Hep3Vector pos2(tofHit.m_pos);
95 return fabs(pos1.deltaPhi(pos2));
109 os<<tofHit.
CellId()<<
", ";
113 os<<tofHit.
Energy()<<
", ";
HepGeom::Point3D< double > HepPoint3D
ostream & operator<<(ostream &os, const RecEmcTofHit &tofHit)
void clear()
Reset to invalid state.
void Assign(const Identifier &id, const double e, const HepPoint3D pos)
RecEmcTofHit & operator=(const RecEmcTofHit &tofHit)
Identifier CellId() const
double DistanceTo(const RecEmcTofHit &)
HepPoint3D Position() const
static int phi_module(const Identifier &id)
static int layer(const Identifier &id)