6#include "EmcRecEventModel/RecEmcTofHit.h"
7#include "Identifier/TofID.h"
23 m_cellId = tofHit.
CellId();
24 m_energy = tofHit.
Energy();
29 if (
this != &tofHit )
31 m_cellId = tofHit.
CellId();
32 m_energy = tofHit.
Energy();
42 return im + layer * 88;
69 Hep3Vector pos1( m_pos );
70 Hep3Vector pos2( tofHit.m_pos );
72 return fabs( pos1.deltaPhi( pos2 ) );
84 os.setf( ios::right );
85 os << tofHit.
CellId() <<
", ";
88 os.setf( ios::right );
89 os << tofHit.
Energy() <<
", ";
92 os.setf( ios::right );
HepGeom::Point3D< double > HepPoint3D
ostream & operator<<(ostream &os, const RecEmcTofHit &tofHit)
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)