6#ifndef REC_EMC_TOF_HIT_H
7#define REC_EMC_TOF_HIT_H
9#include "Identifier/Identifier.h"
11#include <CLHEP/Geometry/Point3D.h>
12#ifndef ENABLE_BACKWARDS_COMPATIBILITY
34 return m_energy < tofHit.m_energy;
38 return m_energy > tofHit.m_energy;
44 inline double Energy()
const {
return m_energy; }
46 inline double ZPosition()
const {
return m_pos.z(); }
50 void Energy(
const double e);
HepGeom::Point3D< double > HepPoint3D
ostream & operator<<(ostream &os, const RecEmcTofHit &tofHit)
map< int, RecEmcTofHit, less< int > > RecEmcTofHitMap
void Assign(const Identifier &id, const double e, const HepPoint3D pos)
RecEmcTofHit & operator=(const RecEmcTofHit &tofHit)
void ZPosition(const double z)
bool operator<(const RecEmcTofHit &tofHit) const
Identifier CellId() const
double DistanceTo(const RecEmcTofHit &)
bool operator>(const RecEmcTofHit &tofHit) const
HepPoint3D Position() const