#include <iostream>
#include "EmcRecEventModel/RecEmcFraction.h"
#include "Identifier/EmcID.h"
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &os, const RecEmcFraction &aFraction) |
ostream& operator<< | ( | ostream & | os, | |
const RecEmcFraction & | aFraction | |||
) |
Definition at line 111 of file RecEmcFraction.cxx.
References RecEmcHit::getCellId(), RecEmcHit::getEnergy(), RecEmcFraction::getFraction(), and RecEmcHit::getTime().
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 }