#include <RecEmcFraction.h>
◆ RecEmcFraction() [1/4]
RecEmcFraction::RecEmcFraction |
( |
| ) |
|
◆ RecEmcFraction() [2/4]
RecEmcFraction::RecEmcFraction |
( |
const RecEmcHit & |
aHit | ) |
|
◆ ~RecEmcFraction() [1/2]
RecEmcFraction::~RecEmcFraction |
( |
| ) |
|
◆ RecEmcFraction() [3/4]
RecEmcFraction::RecEmcFraction |
( |
| ) |
|
◆ RecEmcFraction() [4/4]
RecEmcFraction::RecEmcFraction |
( |
const RecEmcHit & |
aHit | ) |
|
◆ ~RecEmcFraction() [2/2]
RecEmcFraction::~RecEmcFraction |
( |
| ) |
|
◆ Distance() [1/2]
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)
◆ Distance() [2/2]
double RecEmcFraction::Distance |
( |
const RecEmcID |
id | ) |
const |
◆ Dump() [1/2]
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}
◆ Dump() [2/2]
void RecEmcFraction::Dump |
( |
| ) |
const |
◆ Fraction() [1/2]
◆ Fraction() [2/2]
◆ getFraction() [1/2]
◆ getFraction() [2/2]
◆ operator<() [1/2]
◆ operator<() [2/2]
◆ operator>() [1/2]
◆ operator>() [2/2]
◆ fFraction
The documentation for this class was generated from the following files: