#include <map>
#include "EmcRecEventModel/RecEmcDataType.h"
#include "EmcRecEventModel/RecEmcHit.h"
Go to the source code of this file.
Classes | |
class | RecEmcFraction |
Typedefs | |
typedef map< RecEmcID, RecEmcFraction, less< RecEmcID > > | RecEmcFractionMap |
Functions | |
ostream & | operator<< (ostream &os, const RecEmcFraction &aFraction) |
typedef map<RecEmcID,RecEmcFraction,less<RecEmcID> > RecEmcFractionMap |
Definition at line 56 of file RecEmcFraction.h.
ostream& operator<< | ( | ostream & | os, | |
const RecEmcFraction & | aFraction | |||
) |
Definition at line 111 of file RecEmcFraction.cxx.
00112 { 00113 os<<"Fraction: "; 00114 00115 os<<aFraction.getCellId()<<", "; 00116 00117 os.width(12); 00118 os.setf(ios::right); 00119 os<<aFraction.getEnergy()<<", "; 00120 00121 os.width(12); 00122 os.setf(ios::right); 00123 os<<aFraction.getTime()<<", "; 00124 00125 os.width(12); 00126 os.setf(ios::right); 00127 os<<aFraction.getFraction()<<", "; 00128 00129 os.width(12); 00130 os.setf(ios::right); 00131 os<<aFraction.getEnergy()*aFraction.getFraction(); 00132 00133 os<<endl; 00134 00135 return os; 00136 }