10#include "EmcRecEventModel/RecEmcFraction.h"
11#include "Identifier/EmcID.h"
69 unsigned int tht2,
phi2;
70 unsigned int dtht,dphi;
78 dtht=tht>tht2 ? tht-tht2 : tht2-tht;
84 dist=sqrt(
double(dtht*dtht+dphi*dphi));
97 cout.setf(ios::right);
101 cout.setf(ios::right);
105 cout.setf(ios::right);
ostream & operator<<(ostream &os, const RecEmcFraction &aFraction)
static unsigned int getPHI_BARREL_MAX()
static unsigned int theta_module(const Identifier &id)
static unsigned int phi_module(const Identifier &id)
RecEmcFrac Fraction(const RecEmcFrac &Fraction)
double Distance(const RecEmcID id) const
RecEmcFrac getFraction() const
RecEmcEnergy getEnergy() const
RecEmcID getCellId() const
RecEmcTime getTime() const