#include <RecEmcFraction.h>
Definition at line 17 of file RecEmcFraction.h.
◆ RecEmcFraction() [1/2]
RecEmcFraction::RecEmcFraction |
( |
| ) |
|
◆ RecEmcFraction() [2/2]
RecEmcFraction::RecEmcFraction |
( |
const RecEmcHit & | aHit | ) |
|
◆ ~RecEmcFraction()
RecEmcFraction::~RecEmcFraction |
( |
| ) |
|
◆ Distance()
double RecEmcFraction::Distance |
( |
const RecEmcID | id | ) |
const |
Definition at line 66 of file RecEmcFraction.cxx.
67{
68 unsigned int tht,phi;
69 unsigned int tht2,
phi2;
70 unsigned int dtht,dphi;
71 double dist;
72
77
78 dtht=tht>tht2 ? tht-tht2 : tht2-tht;
81 {
83 }
84 dist=sqrt(double(dtht*dtht+dphi*dphi));
85
86 return dist;
87}
static unsigned int getPHI_BARREL_MAX()
static unsigned int theta_module(const Identifier &id)
static unsigned int phi_module(const Identifier &id)
◆ Dump()
void RecEmcFraction::Dump |
( |
| ) |
const |
Definition at line 90 of file RecEmcFraction.cxx.
91{
92 cout<<"Fraction: ";
93
95
96 cout.width(12);
97 cout.setf(ios::right);
99
100 cout.width(12);
101 cout.setf(ios::right);
103
104 cout.width(12);
105 cout.setf(ios::right);
107
108 cout<<endl;
109}
◆ Fraction()
◆ getFraction()
◆ operator<()
◆ operator>()
◆ fFraction
The documentation for this class was generated from the following files: